On Tue, Oct 24, 2006 at 18:51 +0200, Norbert Preining wrote:
Ok, I have rewritten the Debian context package so that it does the following:
On installation/update time a script context-build-formats is called which reads the file /etc/texmf/context/formats.cnf where all the formats to be build are defined.
Minor point: /etc/texmf is a TEXMF tree that IMHO should follow TDS, hence /etc/texmf/tex/context/formats.cnf might be more appropriate.
Currently my file looks like this: # # This file defines which ConTeXt formats are build # {pdftex,aleph} {de,en,it,mptopdf}
Yes, it expands the curly braces.
On removal currently I don't do anything, because I don't know how to know which files should be removed. But this shouldn't be to hard, remove /usr/share/texmf/web2c/$engine/$format.*
Really /usr/share? To which tree are format files written?
BTW, here is the code for the script, it is short: #!/bin/bash # context-build-formats export TEXMFSYSCONFIG=/usr/share/texmf
Why that? (Probably related to the question to which tree format files are written.) cheerio ralf