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):||25 January 2018|
|PDF File Size:||19.70 Mb|
|ePub File Size:||12.78 Mb|
|Price:||Free* [*Free Regsitration Required]|
In response to a comment, here is how to add support for synctex with mupdf.
Emacs/AUCTeX/LaTeXmk: Default compilation command only on first run? – TeX – LaTeX Stack Exchange
But I was not aware the manual itself pushes the rewriting. However, note that AUCTeX is capable of automatically running all commands needed to build a document. Indeed I had to add cefault this change.
See Automaticfor more information. Log in or sign up in seconds. By default, it will offer completion only for normal commands.
If set to the 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?
A sub-reddit for the timeless and infinitely powerful editor.
Post as a guest Name. Sign up or log in Sign up using Google.
It still functions as before, but in theory, it is not required anymore in normal use. Here is I think the simplest way to do this. Also, the option japanese-TeX-command-list is considered as semi-obsolete. Sign up using Email and Password.
The former customize options japanese-TeX-command-default and japanese-LaTeX-command-default are obsolete. Aictex – but that’s too much code for me to think through all the implications. To use the Japanese TeX engines, activate japanese-plain-tex-mode or japanese-latex-mode.
Home Questions Tags Users Unanswered. Symbol’s value as variable is void: I believe doing more like inverse search requires some ugly hacks.
AUCTeX doesn’t play very well with latexmkby default. AUCTeX has its own system to decide what command to run next, when building a document. I guess what I’d like is to be able to define what happens the second time the command is issued. This only makes mupdf jump to the correct page with C-c C-v.
I just updated the aucted to show how to do this.
Or redefining is just easier?