[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Implementing TeX-update

From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Implementing TeX-update
Date: Mon, 31 Aug 2015 18:10:10 +0200

Ok, no one objected, then I've applied the patches.

Happy TeXing with new C-c C-u command!


2015-08-24 18:27 GMT+02:00 Mosè Giordano <address@hidden>:
> 2015-08-17 12:26 GMT+02:00 Mosè Giordano <address@hidden>:
>> Hi list,
>> I've implemented TeX-update, as suggested in the wishlist.  My work
>> follows the same logic of 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? :-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]