[tex-live] New infrastructure: Question and patch

Norbert Preining preining at logic.at
Fri Jul 27 23:57:31 CEST 2007


Hi Frank,

On Die, 24 Jul 2007, Frank Küster wrote:
> And now the question:  Is there a function which I can feed a filename
> (relative to a TEXMF basedir) and get the information in which package
> it is?

No, but can be implemented easily.

> When I read the manpages, it seemed to me that the runpattern,
> docpattern etc. directives are used for assigning files to packages.
> However, that doesn't seem to be the case; instead the information is
> generally taken from some other place, and only missing files are added
> with these directives.  At least that's how I understand, e.g., 

>From pod2man TLPSRC.pm ...
-------------
       In the case that one of the pattern sections is empty or all the pro-
       vided patterns have the prefix "+" (e.g., "+f ..."), then the following
       patterns are automatically added at expansion time (but never written
       to the textual representation):

       runpattern
           for runpatterns of category "Package"

                   t texmf-dist topdir $name

           where "topdir" is one of: bibtex context dvips fonts makeindex
           metafont metapost mft omega scripts tex vtex.

           For other categories no patterns are automatically added to the
           list of runpatterns.

       docpattern
           for docpattern of category "Package"

                   t texmf-dist doc $name

           for docpattern of category "Documentation"

                   t texmf-doc doc $name

       srcpattern
           for srcpattern of category "Package"

                   t texmf-dist source $name

           for srcpattern of category "Documentation"

                   t texmf-doc source $name

       binpatterns are never automatically added.
--------------

You should use the TLPOBJ or TLPDB stuff.

> What I'd like to do is provide a patch to the effect that
> texmf-dist/doc/xelatex/philokalia/Philokalia-Regular.otf is moved to
> texmf-dist/fonts/opentype/some/path/. 

See Karl's answer that this is a bug in the packaging. If we want to do
it in a preliminary way in Debian we need some different way (patching
the tlpdb?)

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
ABILENE (adj.)
Descriptive of the pleasing coolness on the reverse side of the
pillow.
			--- Douglas Adams, The Meaning of Liff


More information about the tex-live mailing list