On 9/4/2013 9:05 AM, Otared Kavian wrote:
On 3 sept. 2013, at 19:14, Aditya Mahajan <[email protected]> wrote:
[…]
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.
Thanks Aditya: actually that utility file .tuc can be deleted for some
situations (for instance when one does a small test) and kept for others.
Maybe for those who do not use ConTeXt from a Terminal, but rather from editors
like TeXShop or TeXWorks, one could have a feature to pass typesetting options
to mkiv, for instance like a \setuptypesetting command, to be put in the first
five lines of a document, which accepts various parameters such as for example
\setuptypesetting[purge=yes,synctex={yes,zipped},engine=mkiv]
to pass options to mkiv. But this is probably too complicated.
as an experiment i now also check the preamble for a ctxfile specification
make a file "preferences.ctx", put it someplace in the tree and run
mtxrun --generate:
<?xml version='1.0' standalone='yes'?>
<ctx:job>
<ctx:message>default flags</ctx:message>
<ctx:flags>
<ctx:flag>purge</ctx:flag>
<ctx:flag>synctex=zipped</ctx:flag>
</ctx:flags>
</ctx:job>
then you can say:
% ctxfile=preferences
\starttext
whatever
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________