![]() Among others, it'll provide all command-line tools such as "pdflatex" that you will need. In any case, download and install MacTex first to get started, as suggested in other answers. Although GNU Emacs has had native UI support on macOS using the Cocoa API since version 23, Aquamacs modifies the user interface to conform with macOS standards in favor of. ![]() It is based on GNU Emacs, currently tracking the GNU Emacs version 25.3 branch. It will notice that the file has changed and it'll reload the document automatically, without losing the current location. Aquamacs is an Emacs text editor for macOS. Leave both windows open.Įdit the document in your text editor and hit the keyboard shortcut that compiles the document. My typical workflow:įirst, open the source code in your text editor and open the PDF file in Preview (you can make this a bit more automatic by using some scripts). Preview (part of Mac OS X) is a good tool for previewing PDF files that you produce with pdflatex. It has a decent support for Latex, and it's easy to customise (e.g., you can define a keyboard shortcut that invokes a shell script that compiles your Latex document). TextMate is fairly popular text editor for Mac OS X. ![]() ![]() Calls aquamacs-tex-pdf-viewer' to display the PDF file using the Skim AppleScript protocol. I commented out the existing aquamacs-call-viewer function definition and replaced it with my own: (defun aquamacs-call-viewer (line source) 'Display current output file as PDF at LINE (as in file SOURCE). One nice thing is that I don't need to learn that many different tools I can use the same text editor for Latex files, programming, etc. So I bit the bullet and edited auctex-config.el. There are more integrated environments for editing Latex documents, but I'm happy with a good general-purpose text editor + a good PDF viewer + some scripts.
0 Comments
Leave a Reply. |