[pdftex] pdfetex can't find map files (MORE INFO)
Matt Gushee
mgushee at havenrock.com
Fri Dec 10 03:14:28 CET 2004
Well, I finally got up the nerve to do a Kpathsea debug. I think I see
something wrong here, but I can't say for sure. Anyway, maybe this will
be helpful.
I ran two commands with debugging:
1) kpsewhich -debug 126 original-public-vnr.map >kp.log 2>&1
2) texexec --pdf --passon "-kpathsea-debug=126" chita.tex \
>tx.log 2>&1
As I mentioned before, (1) finds the file in the expected location,
while (2) results in errors. I will compare some of the results; [K]
will refer to the first command, while [T] will refer to the second.
[K] kdebug:hash_lookup(TEXFONTMAPS) =>
.:$TEXMF/fontname:$TEXMF/fonts/map//:$TEXMF/{pdftex,dvips}/config
.:$TEXMF/fontname:$TEXMF/fonts/map//:$TEXMF/{pdftex,dvips}/config
.:$TEXMF/fontname:$TEXMF/fonts/map//:$TEXMF/{pdftex,dvips}/config
[T] kdebug:hash_lookup(TEXFONTMAPS) =>
.:$TEXMF/fontname:$TEXMF/fonts/map//:$TEXMF/{pdftex,dvips}/config
.:$TEXMF/fontname:$TEXMF/fonts/map//:$TEXMF/{pdftex,dvips}/config
.:$TEXMF/fontname:$TEXMF/fonts/map//:$TEXMF/{pdftex,dvips}/config
This looks right to me.
[K] kdebug:start search(file=original-public-vnr.map, must_exist=0,
find_all=0,
path=.:/home/mgushee/texmf/fontname:!!/usr/local/share/texmf/fontname:\
!!/usr/share/texmf/fontname:/home/mgushee/texmf/fonts/map//:\
!!/usr/local/share/texmf/fonts/map//:!!/usr/share/texmf/fonts/map//:\
/home/mgushee/texmf/pdftex/config:!!/usr/local/share/texmf/pdftex/config:\
!!/usr/share/texmf/pdftex/config:/home/mgushee/texmf/dvips/config:\
!!/usr/local/share/texmf/dvips/config:!!/usr/share/texmf/dvips/config).
[T] kdebug:start search(file=original-public-vnr.map, must_exist=0,
find_all=0,
path=.:/home/mgushee/texmf/dvips//:!!/usr/local/share/texmf/dvips//:\
!!/usr/share/texmf/dvips//:/home/mgushee/texmf/pdftex//:\
!!/usr/local/share/texmf/pdftex//:!!/usr/share/texmf/pdftex//:\
/home/mgushee/texmf/tex//:!!/usr/local/share/texmf/tex//:\
!!/usr/share/texmf/tex//:/home/mgushee/texmf/fonts/type1//:\
!!/usr/local/share/texmf/fonts/type1//:!!/usr/share/texmf/fonts/type1//).
Now I am assuming that the search path for the mapfile is supposed to be
set from $TEXFONTMAPS. If so, then it appears the above is wrong. BTW, I
also have TEXFONTMAPS.pdftex, TEXFONTMAPS.pdfetex, and
TEXFONTMAPS.context (temporarily commented out), all set to the same value.
[K] kdebug:hash_lookup(original-public-vnr.map) =>
/usr/share/texmf/fonts/map/pdftex/context/
/usr/share/texmf/fonts/map/pdftex/dvips/
kdebug:db:match(\
/usr/share/texmf/fonts/map/pdftex/context/original-public-vnr.map,\
/usr/local/share/texmf/fontname) = 0
[T] kdebug:hash_lookup(original-public-vnr.map) =>
/usr/share/texmf/fonts/map/pdftex/context/
/usr/share/texmf/fonts/map/pdftex/dvips/
kdebug:db:match(\
/usr/share/texmf/fonts/map/pdftex/context/original-public-vnr.map,\
/usr/local/share/texmf/dvips//) = 0
Okay, now we have seen the correct path. Does 0 mean true or false?
There are several more occurences of hash_lookup and db:match in both
cases, all looking pretty similar (if it matters, I can send the
complete logs).
[K] kdebug:search(original-public-vnr.map) =>
/usr/share/texmf/fonts/map/pdftex/context/original-public-vnr.map
[T] kdebug:search(original-public-vnr.map) =>
cannot open font map file
So there it is. I'm confused.
--
Matt Gushee
Englewood, CO, USA
More information about the pdftex
mailing list