AUCTEX DEFAULT PDF

Short answer: AUCTeX doesn’t play very well with latexmk, by default. Long answer: AUCTeX has its own system to decide what command to. Here is (I think) the simplest way to do this. The first adds mupdf as a new view program, while the second specifies it as the default for pdfs. If you check the source for TeX-command-query you’ll find that it checks the modification date of the tex (lines ) and bbl (lines ) files involved in your .

Author: Doktilar Gardajas
Country: Bangladesh
Language: English (Spanish)
Genre: Life
Published (Last): 24 November 2014
Pages: 321
PDF File Size: 16.41 Mb
ePub File Size: 12.61 Mb
ISBN: 478-6-24820-876-9
Downloads: 27685
Price: Free* [*Free Regsitration Required]
Uploader: Mogrel

Note that for some macros, there are special mechanisms, e. Become a Redditor and subscribe to one of thousands of communities. Apart from “patching” the command [posted below, would not really recommend to use because it will not receive automatic updates ;- ] there isn’t really anything you can do. Stack Overflow works best with JavaScript enabled. Email Required, but never shown.

Sign up using Facebook. My apologies, complete reading comprehension failure for me. I thought for very simple things like this, match replacement would be 1 shorter to replace and 2 in the event that the auctex package was updated, you could still get the benefits of the ayctex with this defaultt replacement. Is it possible to remove the other entries in TeX-command-list somehow?

You need to make sure it’s eval’d after the library is loaded. Unless those files are more recent than the output file and there is auctrx known next command to be performed lines it will use the “View” command as default line You could for deafult wrap it into replace ;; BODY by code. You can also modify the S-expression to replace that one expression?

  LEO BROUWER TRES APUNTES PDF

Sign up using Email and Password. Sign up or log in Sign up using Google. Indeed I had to add make auctxe change. I’m unsure how to do it.

Emacs AucTeX; How to set C-c C-c default command? – Stack Overflow

I’d like to switch to using pdf-tools instead. Just issue C-c C-a and you’re done the output document will also be shown automatically.

If set to auctec symbol show-optional-argsTeX-insert-macro asks for optional arguments of TeX marcos, unless the previous optional argument has been rejected. Default compilation command only on first run?

I don’t think you need change TeX-view-program-list at all if yr auctex is sufficiently recent. That is good to know.

AUCTeX mode

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. If a macro has an element in this variable, TeX-parse-macro will use its aucgex to decided what to do, whatever the value of the variable TeX-insert-braces.

If you find that wrong command is used, check the value of TeX-engine on that buffer. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Let’s say I compile my document, then i go auxtex for a cup of coffee, and when I return, I forgot if I am looking at the most recent version. You can override the command names associated with the above three engines or define your own engine by customizing TeX-engine-alist. Post as a guest Name. Post as a guest Name. Do you know the command for the emacsclient to create a new window on the right instead of opening the pdf in the same window?

  GROVE GMK 4070 PDF

This is based on reading the output of compilation program, but it expects only one command has been actually run. Usually AUCTeX guesses the right coding systems for input to and output from the Japanese TeX process, but you can override them by the following two customize options. If non-nil, used for decoding output from Japanese TeX process. Start Emacs with the –debug-init’ option to view a autex error backtrace.

Want to see what Emacs is capable of?! By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. I guess I’d like to just make C-c C-C invoke latexmk every time. However, one could also use something like this stolen from to perform a match replacement. This actex can auctdx controlled using the user option TeX-complete-expert-commands.

More recent Emacs versions have a new completion mechanism. Home Questions Tags Users Unanswered.