6/1/2023 0 Comments Aquamacs alterJumping back from the pdf to the source should now work as well. Unfortunately, it’s not at the exact place. If it works, you should see a green dot in the PDF file somewhere near the place where the text you click at in your source file appears. Install “pdfsync.sty” and add \usepackage to the preamble of your LaTeX document. Change it to you liking.įinally, you need to use a package when compiling LaTeX documents. Note that this changes the key binding C-c C-j, which normally inserts a new item in AUCTeX, to jump to the PDF file. (add-hook 'LaTeX-mode-hook (lambda () (local-set-key "\C-c\C-j" "/Applications/TeXniscope.app/Contents/Resources/txs-search.el")) Unzip and read instructions at the top of txs-search.elĪdd the following lines to your Preferences.el (.emacs): (dvi-file (concat (file-name-sans-extension master-file) ".pdf")) so that Aquamacs searches for a PDF file instead of a DVI.Īn alternative version of the txs-search.el package that automatically switches from dvi to pdf depending on AucTeX mode is available at: as of Feb. (dvi-file (concat (file-name-sans-extension master-file) ".dvi")) To automate this, you can add the following to your Preferences.el (.emacs):įor source → preview jumping to pdf files it is necessary to modify the file “txs-search.el”, which is part of the TeXniscope application bundle (/Applications/TeXniscope.app/Contents/Resources/txs-search.el). Applications/Aquamacs\ Emacs.app/Contents/MacOS/bin/emacsclient Open TeXniscope Preferences and enter the following at “Editor command”: Now, we set TeXniscope to open the source document in Aquamacs on Command-E. and after “Command” open -a /Applications/TeXniscope.app %o Select „Value Menu“ at „Choice“ and enter. Now the customization buffer should open. M-x customize-variable RET TeX-output-view-style RET In the following, it is assumed that Aquamacs Emacs and TeXniscope are installed in /Applications.Īt first, we configure TeXniscope as pdf-Viewer in AUCTeX. We use icons from the Silk Icon Set along with some designed by Everaldo Coelho.With some configuration, TeXniscope can be used as pdf-Viewer in Aquamacs Emacs with support for source → preview jumping and reverse.Īquamacs now supports Skim, a free PDF viewer which can automatically refresh the view after your LaTeX file is compiled. This web site has evolved over time, with earlier designs derived from the work of Ted Roden. GNU Emacs was first been ported to the Mac by Andrew Choi, the Cocoa port was written by Adrian Robert and colleagues, and much Mac development of Emacs was done by Yamamoto Mitsuharu. GNU Emacs has a long history that began over forty years ago, primarily driven by the efforts of GNU founder Richard M. Many people have contributed directly and indirectly to Aquamacs, including those who wrote the bundled packages and, of course, Emacs itself. Project co-founder Kevin Walzer created easy-to-understand manuals. In the earlier stages of the project Nathaniel Cunningham contributed features such as native spell-checking and window tabs. Who made it? Aquamacs has been adapted from GNU Emacs by David Reitter, aided by enthusiastic users and Emacs experts and is now maintained by Win Treese. And all is built on GNU Emacs, so you can use your favorite Emacs packages! Check the Features section if you want to know more. It's easy to install and runs out-of-the box with no configuration. Aquamacs behaves like a modern application on Mac (or Windows) when it comes to selecting, copying, pasting texts within Aquamacs or in between applications. For instance, in addition to traditional Emacs shortcuts like C-x C-f (open a new file), Aquamacs understands Command-O. We support the standard Mac user interface that you've come to love. The big challenge: if you use a number of applications on your Mac, one of them is Emacs, you'll have to switch gears when you switch to Emacs.Īquamacs is better. One advantage of it is: no matter what operating system you run Emacs on, you'll always get the same interface. What's Emacs? Emacs is a text editor of legendary power and configurability, but it also has an enormously complex user interface. It is backed by two strong communities: Aquamacs users, and Emacs enthusiasts on all computing platforms (GNU/Linux/Unix, Windows, Mac). The current maintainer of Aquamacs is Win Treese has been available for well over a decade and is used daily by thousands of academics, programmers, and authors. Most of the development on Aquamacs since its beginning in 2004 was done by David Reitter, based on GNU Emacs by Richard Stallman and many others. Yet, it comes with all the ergonomics and extensibility you've come to expect from GNU Emacs. Aquamacs integrates with the Mac and offers the same comforts that any application on the Mac provides. Aquamacs is a user-friendly build of the powerful Emacs text editor.
0 Comments
Leave a Reply. |