Open wang1zhen opened 2 years ago
Any news on this?
@tom-tan Friendly ping!
I have added a patch to the version on the Emacsmirror to fix this issue, and have updated Melpa to get this package from there.
@tarsius - AUCTeX now has built-in support for LaTeXmk added with this commit. Maybe it makes sense to archive this repo and the one from Emacsmirror and tell users to update their AUCTeX installations. Bug reports etc. can be addressed to the AUCTeX team. WDYT?
Probably. Have you (or any of the numerous users who up-thumbed earlier) checked whether the built-in support handles everything the old package handled? If I don't hear about any issues, I'll remove this package in a week or so.
@tarsius - I've never used auctex-latexmk.el
, so I can't tell. From reading the code, AUCTeX lacks the encoding magic this library does (AUCTeX has a different approach); the plain LaTeXMk support should be better integrated in AUCTeX and the variables it provides for controlling the output.
We can try to formalize this process a little by opening a new bug-report here (I'll do it) and try to get answers to your questions from the actual users. If we're lucky, @tom-tan chimes in and we clarify things.
The AUCTeX changes also come with the following announcement in NEWS.org
:
- Add preliminary support for processing files with latexmk. Support for
dvipdfmx
and the choice for viewer after compilation are not optimal, yet. Overall, the support comes close to what theauctex-latexmk
library provides.
Have you (or any of the numerous users who up-thumbed earlier) checked whether the built-in support handles everything the old package handled?
One minor thing I've noticed in my own workflow, but haven't had time to report or look into:
I add the function TeX-revert-document-buffer
to the hook TeX-after-compilation-finished-functions
so that the PDF-visiting buffer is reverted after each (manually invoked) recompilation, as documented under (info "(auctex) Modes and Hooks")
.
AFAICT this hook is not run by AUCTeX's built-in "LaTeXMk" command, since it invokes TeX-run-format
(instead of TeX-run-TeX
or similar, as the "LaTeX" command does).
My current workaround involves advising TeX-TeX-sentinel
to run the hook.
@basil-conto - Thanks for raising this. Can you please file a bug report to the AUCTeX tracker? The address is bug-auctex@gnu.org.
tex-buf is no longer provided by the auctex package.