Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I install WhizzyTeX for Emacs on a Mac (is Mac OS X a unix environment)?

Tags:

unix

emacs

macos

I think my question is pretty stupid, but here it goes:

I am using Aquamacs, and I want to install the WhizzyTeX mode. The website for WhizzyTeX says that "it is designed for Unix platforms".

I read that Mac OS X is unix certified, but does that mean I can install WhizzyTeX on my mac? If yes, can I install and use it with Aquamacs or do I have to use the Emacs running from the terminal?

PS: I don't know whether this question should be posted here or on SuperUser, but as Emacs users seem to hang out here more often, this is the place I chose.

EDIT: There are some websites saying I can use WhizzyTeX with Carbon Emacs on mac os x, but some places say I cannot (see for example this pdf document, page 27, which says that "* whizzytex: http://cristal.inria.fr/whizzytex/ mode in latex with ocaml good fo linux, should also work in cygwin, doe not work on osx"). So I am really confused...

like image 982
Vivi Avatar asked Jun 11 '10 20:06

Vivi


People also ask

Does Emacs work on macOS?

There are many Emacs clients on macOS. The recommended version on macOS is Emacs Mac Port, but others are good as well.

Which Emacs for macOS?

If you are a Mac user new to Emacs, many people find Aquamacs to be a good choice. Many find it to be more Mac-like than Emacs. app. If you've used Emacs before and already have your own Emacs initialization file, then Emacs.

Is Emacs pre installed on Mac?

OS X comes with a preinstalled version of Emacs, but alas it is the outdated Emacs 22. Fortunately, obtaining a newer release is really simple. There are several popular ways to do it.

How do I access Emacs on Mac?

Install Emacs into your application folder from https://emacsformacosx.com/ Using the terminal, open the file ~/. zshrc in your favorite text editor. Somewhere near the bottom of the file, add the line: alias emacs='$(/Applications/Emacs.


2 Answers

If anyone is interested, I managed to make it. It is a bit slow and I think some files have issues, but in any case, it works!

The trick is to do what is explained here except for step 4. What I did instead was put the whizzytex.sty file in the same place as whizzytex.el and whizzytex (see step 5 in the article) and then I opened the file whizzytex (the one without extension), and where it says:

name (or full path) of the dump latex2e package file (without the extension)
PACKAGE=whizzytex.sty

I changed it to the path where I put whizzytex.sty. In my case I have:

PACKAGE=/Users/viviannevilar/.emacs.d/packages/whizzytex.sty

I hope this is useful for someone :)

like image 182
Vivi Avatar answered Sep 24 '22 03:09

Vivi


You can install with the software distribution system Macports:

sudo port install tex-whizzytex

You only have to set up your emacs configuration files afterwards.

Have fun!

like image 24
Philipp Avatar answered Sep 23 '22 03:09

Philipp