A slightly related question I always run the compilation outside Emacs, via latexmk -pvc
This of course does not give me the C-c ` access to errors, can I provoke that manually? /Lars Madsen Institut for Matematik / Department of Mathematics Aarhus Universitet / Aarhus University Mere info: http://au.dk/daleif@math / More information: http://au.dk/en/daleif@math ________________________________________ From: auctex-devel-bounces+daleif=imf.au...@gnu.org [auctex-devel-bounces+daleif=imf.au...@gnu.org] on behalf of Mosè Giordano [m...@gnu.org] Sent: 17 August 2015 12:26 To: auctex-devel Subject: [AUCTeX-devel] Implementing TeX-update Hi list, I've implemented TeX-update, as suggested in the wishlist. My work follows the same logic of http://www.emacswiki.org/emacs/TN#toc8 and is in part based on it: a function runs the compilation command and calls a sentinel which, when the command finishes, calls back the function and so on until a stopping condition is reached. Some comments about possible copyrights concerns: - `TeX-command-default' is extracted from `TeX-command-query', there is nothing new in it; - the sentinel function `TeX-command-sequence-sentinel' is similar to `TeX-texify-sentinel' of EmacsWiki, but I don't know how a basic sentinel could be written otherwise. Moreover, how to test whether there have been errors in the last compilation is reported literally in the docstring of `TeX-error-report-switches'; - `TeX-command-sequence' has only the last three lines in common with `TeX-texify' of EmacsWiki, which are the setting of a sentinel, how could it be done otherwise? For the rest these functions are different: `TeX-command-sequence' is much more flexible (see the docstring and the possible values of the first argument) and stopping after a command has been run N times in a row does work, in `TeX-texify' it doesn't. In addition, in the second patch I've added "dvips" and "ps2pdf" rules to `TeX-command-list', and there is a new option `TeX-PDF-via-dvips-ps2pdf' so that one can produce a PDF using latex + dvips + ps2pdf. Using `TeX-update' all this boils down to a single C-c C-u :-) I've been using `TeX-update' and dvips + ps2pdf for a week, without problems. Comments and suggestions welcome. Bye, Mosè _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel