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

Hans Hagen pragma at wxs.nl
Thu Apr 7 12:12:27 CEST 2016


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
-----------------------------------------------------------------


More information about the ntg-context mailing list