On Tue, 3 Sep 2013, Otared Kavian wrote:
On 3 sept. 2013, at 10:50, Hans Hagen
wrote: On 9/3/2013 9:31 AM, Otared Kavian wrote:
[…] Thanks Hans for your attention, but saying texexec --autogenerate --synctex=1 "$1" --purge
or context --autogenerate --synctex=1 "$1" --purge
removes also the synctex.gz file and one loses the synctex functionality which is essential for me.
i've added a test: if --synctex is given or the first line has
% synctex=zipped|unzipped|1|-1|yes
then the synctex file is not deleted
Hi Hans,
Thanks for the quick modification… I tested the new beta, and indeed using mkiv and context --autogenerate --synctex=1 "$1" --purge
the synctex.gz file is not anymore deleted (however a utility file [file-name].tuc remains).
That (not deleting tuc file) is delebrate (as it saves time in successive runs). If you want to delete the tuc file, you can use --purgeall instead of --purge. Aditya