[tex-live] texdoc in luatex

David Kastrup dak at gnu.org
Mon Jul 23 10:04:40 CEST 2007


Frank Küster <frank at kuesterei.ch> writes:

> David Kastrup <dak at gnu.org> wrote:
>
>> What I am proposing is a behavior where _both_ : and ; work as path
>> separators, with the exception that : after a _single_ letter is
>> not a path separator.
>
> That works as long as we are sure that a variable contains only
> paths.  It does not generally work with stuff like
>
> $ grep TEXDOC src/Upstream-source/TeXLive/Build/source/texk/kpathsea/texmf.in
> TEXDOCSSUFFIX   = ;.pdf;.ps;.dvi;.html;.txt;.tex
> TEXDOCSCOMPRESS = ;.gz;.bz2;.zip;.Z
> TEXDOCEXT       = {$TEXDOCSSUFFIX}{$TEXDOCSCOMPRESS}
>
> (it does in this particular case, because the `.' separator is included,
> and because `Z' comes last, but that's a lucky coincidence).

Whoever considered it a good idea to use path_separator for non-paths?
It's not like don't have enough trouble already.

> So either we decide now to not allow non-path information in
> kpathsea list variables, or we shouldn't be too bold with
> introducing "clever" heuristics.

Or treat path lists differently.

-- 
David Kastrup


More information about the tex-live mailing list