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):||4 September 2007|
|PDF File Size:||8.11 Mb|
|ePub File Size:||17.51 Mb|
|Price:||Free* [*Free Regsitration Required]|
If non-nil, used for decoding output from Japanese TeX process. The difference between TeX-insert-macro and TeX-electric-macro is that space will complete and exit from the minibuffer in TeX-electric-macro.
I guess I’d like to just make C-c C-C invoke latexmk every time. Home Questions Tags Users Unanswered. How can I configure auctex to set pdf-tools as the default pdf viewer?
This is controlled by TeX-complete-list.
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.
Setting MUpdf as default viewer in AUCTeX – Emacs Stack Exchange
More recent Emacs versions have a new completion mechanism. Submit a new text post. In response to a comment, here is how to add support for synctex with mupdf.
Note that for some macros, there are special mechanisms, e. Want to add to the discussion?
Also, the option japanese-TeX-command-list is considered as semi-obsolete. In such cases, use the file local variable method above to select the engine you intend to use. You can also modify the S-expression to replace that one expression? Home Questions Tags Users Unanswered. It still functions as before, but in theory, it is not required anymore in normal use.
Space will complete and exit. Here’s the value of mine. Users of the wonderful ispell mode know and love the ispell-complete-word command from that package.
Each element is a cons cell, whose car is the macro name, and the cdr is non-nil or nil, depending on whether a pair of braces should be, respectively, appended or not to the macro.
Sign up using Facebook. You can override the command names associated with the above three engines or define your own engine by customizing TeX-engine-alist. The first adds mupdf as a new view program, while the second specifies it as the default for pdfs. You could for example wrap it into replace ;; BODY by code.
Let’s say I compile my document, then i go away for a cup of coffee, and when I return, I forgot if I am looking at the most recent version. Start Emacs with the –debug-init’ option to view a complete error backtrace.
Because I would love to replace aucttex with mupdf but search is important Symbol’s value as variable is void: AUCTeX distinguishes normal and expert macros.
TeX-view-program-selection ‘ output-pdf “pv” “emacs” “xpdf” output-dvi style-pstricks “dvips and gv” output-dvi “xdvi” output-html “xdg-open”. AUCTeX has its own system to decide what command to run next, when building a document.