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 .
|Published (Last):||24 November 2014|
|PDF File Size:||16.41 Mb|
|ePub File Size:||12.61 Mb|
|Price:||Free* [*Free Regsitration Required]|
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?
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.
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?
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.
More recent Emacs versions have a new completion mechanism. Home Questions Tags Users Unanswered.