[NTG-context] A way to clean up unnecessary files after compilation in CTX mkiv

Hans Hagen pragma at wxs.nl
Thu Apr 7 15:13:14 CEST 2016


On 4/7/2016 12:55 PM, L.S.-Soc&Gam wrote:
> Thanks Hans,
>
> it works. But there is a problem.
> The way you described it, the *.synctex file gets deleted as well, but I
> think I need it for Sumatra PDF to sync. When I used texmfstart.exe and
> --purgeall this didn't happen.
> Any idea would be great.

no idead .. that file is like a log file ... (basically onely the tuc 
file is not purged as it saves successive runs)

> Thanks in advance,
> Sebastian
>
>
>
> Am 07.04.2016 um 12:12 schrieb Hans Hagen:
>> On 4/7/2016 11:21 AM, L.S.-Soc&Gam wrote:
>>> Hi guys,
>>>
>>> i am using mkiv with TeXnicCenter. There is an option to create a
>>> clean-up processor which deletes temporary files.
>>> Right now for me the options look as following:
>>> Executable: X:\ConTeXt\tex\texmf-win64\bin\texmfstart.exe
>>> Arguments:            texutil.rb --purgeall
>>> This is from an old installation instruction from mkii and works great
>>> but it makes it necessary to install Ruby.
>>> Since I don't want to install Ruby if it's unnecessary, i'd like to know
>>> if there is a way to clean up files without mkii and Ruby elements.
>>> I thought it might be possible to use *context.exe* as processor
>>> executable for deleting temp files, but i wouldn't know the correct
>>> arguments.
>>> Sorry if I missed something obvious.
>>
>> assuming you run context mkiv:
>>
>> context --purge somefile.tex
>>
>> will cleanup afterwards
>>
>> or without file it will cleanup all left-overs
>>
>> (btw, the number of runtime generated files is not that large for
>> mkiv: a tuc file for multipass, and a log file and of course the
>> result pdf file)
>>
>> Hans
>>
>>
>> -----------------------------------------------------------------
>>                                           Hans Hagen | PRAGMA ADE
>>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>       tel: 038 477 53 69 | 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 : ntg-context at ntg.nl /
>> 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
>> ___________________________________________________________________________________
>>
>
> ___________________________________________________________________________________
>
> If your question is of interest to others as well, please add an entry
> to the Wiki!
>
> maillist : ntg-context at ntg.nl /
> 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
> ___________________________________________________________________________________


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list