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):||26 September 2017|
|PDF File Size:||7.3 Mb|
|ePub File Size:||19.18 Mb|
|Price:||Free* [*Free Regsitration Required]|
When enabled, japanese-latex-mode selects the suitable Japanese TeX engine automatically based on the class file name such as jbookjsarticle and tjreport and its option. This is controlled by TeX-complete-list.
However, note that AUCTeX is capable of automatically running all commands needed to build a document. Sign up or log in Sign up using Google. Email Required, but never shown. You need to make sure it’s eval’d after the library is loaded. Also, the option japanese-TeX-command-list is considered as semi-obsolete.
More recent Emacs versions have a new completion mechanism. To make defalut selected engine to persist across Emacs sessions, there are two ways from which you can choose one according to your needs:.
You can also modify the Defaulr to replace that one expression? Home Questions Tags Users Unanswered. This can be done by setting the variable TeX-electric-escape.
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.
This is based on reading the output of compilation program, but it expects only one command has been actually run. Do you know the command for the autex to create a new window on the right instead of opening the pdf in the same window?
AUCTeX Using AUCTeX with Japanese TeX
Indeed I had to add make this change. Sign up using Facebook.
Some examples are listed below. To use the Japanese TeX engines, activate japanese-plain-tex-mode or japanese-latex-mode.
My apologies, complete reading comprehension failure for me. I don’t think you need change TeX-view-program-list at all if yr auctex is sufficiently recent.
The former customize options japanese-TeX-command-default and japanese-LaTeX-command-default are obsolete. The first adds mupdf as a new view program, while the second specifies it as the default for pdfs. Apart from “patching” the command [posted deffault, would not really recommend to use because it will not receive automatic updates ;- ] there isn’t really anything you can do. 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 document.
If you find that wrong command is used, check the value of TeX-engine on that buffer. This behavior can be controlled dfeault the user option TeX-complete-expert-commands. If non-nil, used for decoding output from Japanese TeX process. Modern completion UIs like ajctex support this completion-at-point facility. Users of the wonderful ispell mode know and love the ispell-complete-word command from that package. Or redefining is just easier?