[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems found while inspecting 2005->2007 debdiffs



On Son, 25 Feb 2007, Norbert Preining wrote:
> >   * Lots of config.<printer> files exist in TEXMFDIST and
> >     TEXMFSYCONFIG 

# files found via kpse are just copied to /etc/texmf, directive configfile
mapping;texmf[^/]*/dvips/config/([^/]*);config-copy;/etc/texmf

True, these are the only files in both positions. But this is true also
for
mapping;texmf[^/]*/metafont/misc/modes.mf;copy;/etc/texmf
mapping;texmf[^/]*/tex/generic/config/pdftexconfig.tex;copy;/etc/texmf
mapping;texmf[^/]*/tex/latex/pict2e/pict2e.cfg;copy;/etc/texmf
mapping;texmf[^/]*/tex/latex/contour/contour.cfg;copy;/etc/texmf
mapping;texmf[^/]*/tex/latex/config/color.cfg;copy;/etc/texmf
mapping;texmf[^/]*/tex/latex/config/graphics.cfg;copy;/etc/texmf
mapping;texmf[^/]*/tex/latex/config/hyperref.cfg;copy;/etc/texmf
these files ... they are both in 
	/etc/temxf/....
and 
	/usr/share/texmf-texlive/...

> >   * texdoctk.dat is still a symlink in TEXMFDIST, but the file in /etc
> >     is in a kpse location, too
> 
> Yup, I made them
> 	config-copy
> of something, which means that the original remains also in TEXMFDIST
> for reference purpose. But we can also delete them?

There are more of these files, from tpm2deb.cfg:

# note that config-link copies the file to the given position and creates
# a link in the original position, while config-copy (see below) copies
# the file into the same relative position in the given tree and leaves the
# file also in the original position!
# The former should be used for files which are searched for at a specific
# location, while the latter for files which are searched via kpse
mapping;texmf[^/]*/dvipdfm/config/config;config-link;/etc/texmf/dvipdfm/dvipdfm.cfg
mapping;texmf[^/]*/xdvi/xdvi.cfg;config-link;/etc/texmf/xdvi/xdvi.cfg
mapping;texmf[^/]*/texdoctk/texdocrc.defaults;config-link;/etc/texmf/texdoctk/texdocrc.defaults
mapping;texmf[^/]*/texdoctk/texdoctk.dat;config-link;/etc/texmf/texdoctk/texdoctk.dat

So:
	TEXMF/dvipdfm/config/config -> /etc/texmf/dvipdfm/dvipdfm.cfg
	TEXMF/xdvi/xdvi.cfg -> /etc/texmf/xdvi/xdvi.cfg
	TEXMF/texdoctk/texdocrc.defaults -> /etc/texmf/texdoctk/texdocrc.defaults
	TEXMF/texdoctk/texdoctk.dat -> /etc/texmf/texdoctk/texdoctk.dat
For those 4 files I don't know whether they would be found without the
link!


Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
LONGNIDDRY (n.)
A droplet which persists in running out of your nose.
			--- Douglas Adams, The Meaning of Liff



Reply to: