Thomas Esser <[EMAIL PROTECTED]> schrieb:

> On Mon, Jan 10, 2005 at 06:51:06PM +0100, Frank K�ster wrote:
>>   set to /var/lib/texmf. Here, "other" means the format files and logs
>>   of format generation, the ls-R file for TEXMFMAIN, and the map files
>>   generated by updmap.
>
> TEXMFMAIN is also "static" if you set TEXMFVAR and TEXMFCONFIG to
> something else. I don't see a need to update the ls-R file of TEXMFMAIN
> after the (package) installation.

This is right. But as I said, it's a habit not to put generated files
below /usr/share; I might change this.

>> - All configuration files must be in /etc because of the FHS, and we
>>   achieve this mainly by creating symlinks from TEXMFMAIN to appropriate
>>   places below /etc/texmf. There's one more peculiarity: To allow for
>
> To me, these symlinks are just confusing. From all files in TEXMFMAIN,
> only texmf.cnf might need tweeking after the installation.

No, there are many more (you can s/texmf/texmf-dist/ everywhere to get
your original layout):

/usr/share/texmf/web2c/mktex.cnf
/usr/share/texmf/metafont/misc/modes.mf
/usr/share/texmf/tex/generic/config/pdftexconfig.tex
/usr/share/texmf/tex/generic/config/language.dat
/usr/share/texmf/tex/plain/config/language.def
/usr/share/texmf/tex/latex/base/ltxdoc.cfg
/usr/share/texmf/tex/latex/graphics/graphics.cfg
/usr/share/texmf/tex/platex/config/language.dat

Just to name some that clearly seem to be configuration files; there are
many more with extensions "cfg" or the like where it is not clear to me
whether anybody would actually want to change them.

>>   policy-compliant installation of additional font packages and packages
>>   providing additional formats, updmap.cfg and fmtutil.cnf are generated
>>   files sitting in /var/lib/texmf/web2c, and the "real" configuration
>
> Just a note: these files belong into the texmf tree pointed at by
> TEXMFCONFIG.

Thank you, I'll have to look into this.

>>   files from the point of view of users and maintainers of
>>   add-on-packages are in /etc/texmf/{fmtutil.d,updmap.d} with Debian
>>   scripts generating the files in VARTEXMF.
>
> With teTeX-3.0, modified config files should not be in TEXMFVAR, but
> in TEXMFCONFIG.

Well, because of the previous symlink setup, we simply don't use
TEXMFCONFIG yet. If we start using it (obviously for /etc/texmf), things
would get even more complicated, because the generated updmap.cfg and
fmtutil.cnf may _not_ be below /etc - this hierarchy is in the realm of
the local administrator, and no package script may put generated files
there. It may, in principle, do very careful edits. But doing this in a
save way is simply not feasible (since teTeX, add-on Debian packages
*and* the local admin need to be able to make changes), and this is the
reason why we introduced the additional layer and generate updmap.cfg
and fmtutil.cnf, thus making them generated files which cannot be in
/etc. 

Regards, Frank
-- 
Frank K�ster
Inst. f. Biochemie der Univ. Z�rich
Debian Developer

Reply via email to