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):||9 June 2007|
|PDF File Size:||17.90 Mb|
|ePub File Size:||16.42 Mb|
|Price:||Free* [*Free Regsitration Required]|
Sign up using Email and Password. This can be done by setting the variable TeX-electric-escape.
Emacs/AUCTeX/LaTeXmk: Default compilation command only on first run? – TeX – LaTeX Stack Exchange
Sign up or log in Sign up using Google. Email Required, but never shown.
I guess I’d like to just make C-c C-C invoke latexmk every time. Any clue how to avoid it? Welcome to Reddit, the front page of the internet. Sign up or log in Sign up using Google.
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? Home Questions Tags Users Unanswered. My apologies, complete reading comprehension failure for me. A sub-reddit for the timeless and infinitely powerful editor. How do you define the ‘second run’? 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.
To make the selected engine to persist across Emacs sessions, there are two ways from which you can choose one according to your needs:. So I compile again. The former customize options japanese-TeX-command-default and japanese-LaTeX-command-default are obsolete.
Post as a guest Name. In such cases, use the file local variable method above to select the engine you intend to use. Submit a new text post.
It’s just an S-expression after all. In order to use TeX-complete-symbolyou should write a backslash and the start of the macro. You need to make sure it’s eval’d after the library is loaded. Here’s the value of mine.
Some examples are listed below. TeX-view-program-list To ensure normal operation, you should investigate and remove the cause of the error in your initialization file.
Just issue C-c C-a and you’re done the output document will also be shown automatically. But what would you like to happen when you change something between the two compilations that needs a rerun of latexmk? 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.
Post as a guest Name. Log in or sign up in seconds.
How can I configure auctex to set pdf-tools as the default pdf viewer? : emacs
Start Emacs with the –debug-init’ option to view a complete error backtrace. Let’s aucex 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.
I guess what I’d like is to be able to define what happens the second time the command is issued. Here is I think the simplest way to do this. Symbol’s value as variable aucyex void: Want to add to the discussion? I’d like to switch to using pdf-tools instead. Indeed I had to add make this change.
How can I configure auctex to set pdf-tools as the default pdf viewer? Modern completion UIs like company-mode support this completion-at-point facility.