The next step will then be to configure Auctex to use doc-view to display pdf output. This will confirm you have all the necessary libs etc to display PDF files within emacs. Move the cursor to the pdf and hit enter, you should see a brief window with some info about doc-view rendering of the document and then see your PDF document appear in the emacs frame. If you do, open up a dired buffer and navigate to where you have a pdf generated from your latex. If that works, you should have a GUI version of emacs, running it it's own window. Once that is done, you should be able to start emacs with open Emacs.appįrom the terminal. I personally like to use homebrew for this. To get the GUI emacs, you need to have a version of emacs built with the necessary GUI libs installed.Īs the version of emacs which comes with OSX is old, I'm also going to assume you have installed a recent version. Unless you provide feedback to the contrary, I'll assume you are running emacs in the terminal because that is what you get if you just execute 'emacs' at the terminal prompt. If you don't want to run in GUI mode, then your only choice would be to define a function in emacs which will launch the OSX preview app to display your output - this is also quite easy to do given that AucTex supports this. ![]() ![]() To achieve what you want, you need to run emacs in GUI mode, not in a terminal. I'm not running Maverick, but am running El Capitan. ![]() First of all, what you are trying is quite possible - in fact, I do it daily.
0 Comments
Leave a Reply. |