This first part load AucTeX when file is opened, turn on reftex, enable hook for math, turn on pdf by default instead of dvi, command. Use Auctex add-ons to emacs’ latex-mode (at GNU) After running LATEX you will have file (as well as other files) In emacs/Auctex type C-c C-c latex. (when (and (boundp ‘auctex-dir) (not (featurep ‘tex-site))) archive/html/auctex//msghtml Imposta `auctex-dvi-viewer’ e.

Author: Akinogor Daitaur
Country: Jordan
Language: English (Spanish)
Genre: Science
Published (Last): 20 February 2009
Pages: 110
PDF File Size: 2.44 Mb
ePub File Size: 11.82 Mb
ISBN: 841-4-17578-955-3
Downloads: 25513
Price: Free* [*Free Regsitration Required]
Uploader: Gardatilar

In particular, fine-tuning the page breaks should be done with source specials switched off.

AUCTeX Starting Viewers

If a command line is used, parts of it can be conditionalized by prefixing them with predicates from TeX-view-predicate-list or TeX-view-predicate-list-builtin.

Here is the updated part from my side.

Here the relevant part from the manual again: By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. The rest of the executables is defined directly in TeX-engine-alist-builtin. Sign up or log in Sign up using Google.

Note that the viewer selection and invocation as described above will only work if certain default settings in AUCTeX are intact. Sign up using Email and Password. Follow Blog via Email Enter your email address to follow this blog and receive notifications of new posts by email.


The default view command is composed by “xdvi”, followed by a few arguments defined by some variables, followed by the file name.

Notify me of new comments via email. Note also that the implementation described above replaces an older one which was less flexible. This means that wmctrl gives emacs focus instead of xdvi. The form should return nil if the predicate is not fulfilled. Not to mention I’m forced to alt-tab in order to focus xdvi, and alt-tab twice if I just want to get back to emacs. Umut Tabak 1 2 With prefix arg, insert the current timestamp to the current buffer.

So TeX-view-program-selection only contains references to the actual implementations of predicates and viewer commands respectively which can be found elsewhere.

Then, try it again. Tags for this Thread auctexdviemacslatexxdvi.

at last, just tells

However, a slight change fixed it for me. I tried to get the same settings I had with Vim, but without success. For the time being, find a short description of the mentioned customization options below.

By continuing to use this website, you agree to their use. Forward search refers to jumping to the place in the previewed document corresponding to where point is located in the document source and inverse search to the other way round.

This old implementation works with the variables TeX-output-view-style and TeX-view-style which are used to associate file types and style options with viewers. I just want xdvi to be focused whenever I run the view command from emacs.


Here is an alternate solution to your problem which is, if I’m correct: This first part load AucTeX when a. Usually dvipdfmx command is used for this purpose. If after step 1, I do C-c C-c then emacs asks for the master file, default is to set the above file as master, just typed return.

When the document is ready, C-c C-c will suggest to run the converter to PDF or an intermediate format.

Set up “LaTeX+DVI+PS+PDF+PDFViewer” routine

When the PDF file is finally ready, the next suggested command will be to open the viewer. You can permanently activate TeX-source-correlate-mode by customizing the variable TeX-source-correlate-mode. I am using psfrag for figures quite often and generating my figures in eps format.

You will notice that you can easily change that with emacs, and that there are plainty of choices. First, here is the short question: Completion-ui is another really great completion utility for emacs. Post as a guest Name. Search the community docs or try other resources.