2015-08-17 12:26 GMT+02:00 Mosè Giordano <m...@gnu.org>: > 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.
No comment? :-) _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel