[NTG-context] installing two ConTeXt trees

Hans Hagen pragma at wxs.nl
Wed Sep 4 10:36:46 CEST 2013

On 9/4/2013 9:05 AM, Otared Kavian wrote:
> On 3 sept. 2013, at 19:14, Aditya Mahajan <adityam at umich.edu> 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:message>default flags</ctx:message>

then you can say:

% ctxfile=preferences


                                           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

More information about the ntg-context mailing list