[tex-k] Path without !! but with a ls-R file

Karl Berry karl at freefriends.org
Thu Nov 19 00:35:49 CET 2009


    for file in kpse.files('TEXDOCS') do

It can be done with two invocations of kpsewhich.
As an illustration, this puts every doc dir into the file /tmp/alldirs:

$ kpsewhich --show-path="TeX system documentation" >/tmp/str
$ kpsewhich --expand-path=`cat /tmp/str` >/tmp/alldirs

(The first command is essentially instantaneous, since it's just
reporting a value.  The second command takes a long time since it's
chewing through all the doc trees.)

k


More information about the tex-k mailing list