[tex-k] misleading ls-R advice

Felix Pahl joriki27 at gmail.com
Sat Oct 17 18:05:22 CEST 2015


Hi -- I followed the instructions at
https://tug.org/texinfohtml/kpathsea.html to use the command

ls -LAR ./ >ls-R

to generate a ls-R file. However, this didn't work, and debugging with
-kpathsea-debug=32 displayed messages of the form

kdebug:db:match(/usr/local/texlive/2015basic/texmf-local//tex/latex/lastpage/lastpage.sty,/usr/local/texlive/2015basic/texmf-local/tex/latex//)
= 0

where the double slash prevented the match -- the correpsonding entry in
the ls-R file was

.//tex/latex/lastpage:

The problem was resolved when I used

ls -LAR . >ls-R

instead (without the extra slash) -- the entry in the ls-R file then becomes

./tex/latex/lastpage:

(again without the extra slash), and the match succeeds:

kdebug:db:match(/usr/local/texlive/2015basic/texmf-local/tex/latex/lastpage/lastpage.sty,/usr/local/texlive/2015basic/texmf-local/tex/latex//)
= 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-k/attachments/20151017/e2d2cf1c/attachment.html>


More information about the tex-k mailing list