[NTG-context] Generating smallest possible format file
w.egger at boede.nl
Mon Jan 9 13:23:48 CET 2006
thanks indeed for all this information. I believe, that herewith I can
gain one or the other second!
Taco Hoekwater wrote:
> Hi Willi,
> Willi Egger wrote:
>> Hello gurus!
>> I want to use context as a backend-typesetting engine in a
>> server-ennvironment. In order to minimize compilation time I want to
>> make the format files as small as
>> possible. E.g. I would like to remove all pattern files which are
>> unnecessary for the purpose of the application.
> That is as simple as commenting (some of) the \installlanguage
> calls in the cont-XX.tex file you want to use (and don't use
> the --all switch of texexec!).
> Removing some of the other files can be a bit harder and require
> editing core include files:
> * font encodings are loaded in enco-ini.tex
> * regimes are loaded in regi-ini:
> * unicode tables are loaded in unic-ini:
> It would be easier if these could be moved to the cont-XX.tex
> (or perhaps context.tex) file in a future release.
> Also, you can gain some speed by
> * dropping the memory array settings in texmf.cnf to as low as you
> can get away with, based on your typical input files;
> * and by pruning your texmf tree(s) of as many files as possible
> (every file and directory in the tree slows down kpathsea
> initialization just a little bit, and it can add up to a
> noticeable delay).
> * disabling kpathsea disk searches
> Cheers, Taco
> ntg-context mailing list
> ntg-context at ntg.nl
More information about the ntg-context