[tex-k] first steps with libkpathsea

Taco Hoekwater taco at elvenkind.com
Mon Jun 13 15:25:00 CEST 2005


Are you use the file exists on your system? It works for me, but
only thanks to an aliases entry that maps ec.enc -> EC.enc:

filename=/opt/tex/teTeX/texmf/fonts/enc/dvips/base/EC.enc

I've attached the output of

   KPATHSEA_DEBUG=7  && ./patrick &> ~/tmp/log

Greetings, Taco
-------------- next part --------------
kdebug:fopen(./patrick, r) => 0x8057018
kdebug:fclose(0x8057018) => 0
kdebug:kpse_normalize_path (/opt/tex/texmf.local/web2c) => 1
kdebug:kpse_normalize_path (/opt/tex/texmf.local/web2c) => 1
kdebug:kpse_normalize_path (/opt/tex/texmf.local/web2c/texmf.cnf) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf/web2c) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf/web2c) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf/web2c/texmf.cnf) => 1
kdebug:fopen(/opt/tex/texmf.local/web2c/texmf.cnf, r) => 0x8057570
kdebug:fclose(0x8057570) => 0
kdebug:fopen(/opt/tex/teTeX/texmf/web2c/texmf.cnf, r) => 0x8057570
kdebug:fclose(0x8057570) => 0
kdebug:hash_lookup(TEXMFDBS.patrick) => (nil)
kdebug:hash_lookup(TEXMFDBS) => $HOMETEXMF:$TEXMFLOCAL:$VARTEXMF:$TEXMFMAIN:$VARTEXFONTS $TEXMF
kdebug:hash_lookup(HOMETEXMF.patrick) => (nil)
kdebug:hash_lookup(HOMETEXMF) => $HOME/texmf
kdebug:kpse_normalize_path (/home/taco/texmf) => 1
kdebug:kpse_normalize_path (/home/taco/texmf) => 1
kdebug:kpse_normalize_path (/home/taco/texmf/ls-R) => 1
kdebug:kpse_normalize_path (/home/taco/texmf/ls-r) => 1
kdebug:kpse_normalize_path (/opt/tex/texmf.local) => 1
kdebug:kpse_normalize_path (/opt/tex/texmf.local) => 1
kdebug:kpse_normalize_path (/opt/tex/texmf.local/ls-R) => 1
kdebug:kpse_normalize_path (/opt/tex/texmf.local/ls-r) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf-var) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf-var) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf-var/ls-R) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf-var/ls-r) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf/ls-R) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf/ls-r) => 1
kdebug:kpse_normalize_path (/opt/tex/pkfonts) => 1
kdebug:kpse_normalize_path (/opt/tex/pkfonts) => 1
kdebug:kpse_normalize_path (/opt/tex/pkfonts/ls-R) => 1
kdebug:kpse_normalize_path (/opt/tex/pkfonts/ls-r) => 1
kdebug:hash_lookup(TEXMFLOG.patrick) => (nil)
kdebug:hash_lookup(TEXMFLOG) => (nil)
kdebug:fopen(/home/taco/texmf/ls-R, r) => 0x806b0b8
kdebug:fclose(0x806b0b8) => 0
kdebug:/home/taco/texmf/ls-R: 6895 entries in 291 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 3749 nonempty (23%); 6895 entries, average chain 1.8.
kdebug:fopen(/opt/tex/texmf.local/ls-R, r) => 0x806b0e0
kdebug:fclose(0x806b0e0) => 0
kdebug:/opt/tex/texmf.local/ls-R: 1466 entries in 117 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 4583 nonempty (28%); 8361 entries, average chain 1.8.
kdebug:fopen(/opt/tex/teTeX/texmf-var/ls-R, r) => 0x806b0e0
kdebug:fclose(0x806b0e0) => 0
kdebug:/opt/tex/teTeX/texmf-var/ls-R: 77 entries in 10 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 4614 nonempty (28%); 8438 entries, average chain 1.8.
kdebug:fopen(/opt/tex/teTeX/texmf/ls-R, r) => 0x806b0e0
kdebug:fclose(0x806b0e0) => 0
kdebug:/opt/tex/teTeX/texmf/ls-R: 13899 entries in 967 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 9976 nonempty (62%); 22337 entries, average chain 2.2.
kdebug:fopen(/opt/tex/pkfonts/ls-R, r) => 0x813b488
kdebug:fclose(0x813b488) => 0
kdebug:/opt/tex/pkfonts/ls-R: 820 entries in 111 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 10086 nonempty (63%); 23157 entries, average chain 2.3.
kdebug:kpse_normalize_path (/home/taco/texmf) => 1
kdebug:kpse_normalize_path (/home/taco/texmf/aliases) => 1
kdebug:kpse_normalize_path (/opt/tex/texmf.local) => 1
kdebug:kpse_normalize_path (/opt/tex/texmf.local/aliases) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf-var) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf-var/aliases) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf) => 1
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf/aliases) => 1
kdebug:kpse_normalize_path (/opt/tex/pkfonts) => 1
kdebug:kpse_normalize_path (/opt/tex/pkfonts/aliases) => 1
kdebug:fopen(/opt/tex/teTeX/texmf/aliases, r) => 0x8143fd8
kdebug:/opt/tex/teTeX/texmf/aliases: 132 aliases.
kdebug:alias hash table:1009 buckets, 117 nonempty (11%); 132 entries, average chain 1.1.
kdebug:fclose(0x8143fd8) => 0
kdebug:hash_lookup(ENCFONTS.patrick) => (nil)
kdebug:hash_lookup(ENCFONTS) => .:$TEXMF/fonts/enc//
kdebug:hash_lookup(TEXMF.patrick) => (nil)
kdebug:hash_lookup(TEXMF) => {.,!!$HOMETEXMF,!!$TEXMFLOCAL,!!$VARTEXMF,!!$TEXMFMAIN} {$HOMETEXMF,!!$VARTEXMF,$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}
kdebug:hash_lookup(HOMETEXMF.patrick) => (nil)
kdebug:hash_lookup(HOMETEXMF) => $HOME/texmf
kdebug:kpse_normalize_path (.) => 0
kdebug:kpse_normalize_path (.) => 0
kdebug:kpse_normalize_path (./ec.enc) => 0
kdebug:kpse_normalize_path (./fonts/enc//) => 0
kdebug:kpse_normalize_path (./fonts/enc//) => 0
kdebug:kpse_normalize_path (/home/taco/texmf/fonts/enc//) => 1
kdebug:hash_lookup(ec.enc) => EC.enc
kdebug:hash_lookup(ec.enc) => (nil)
kdebug:hash_lookup(EC.enc) => /opt/tex/teTeX/texmf/fonts/enc/dvips/base/
kdebug:kpse_normalize_path (/opt/tex/texmf.local/fonts/enc//) => 1
kdebug:hash_lookup(ec.enc) => EC.enc
kdebug:hash_lookup(ec.enc) => (nil)
kdebug:hash_lookup(EC.enc) => /opt/tex/teTeX/texmf/fonts/enc/dvips/base/
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf-var/fonts/enc//) => 1
kdebug:hash_lookup(ec.enc) => EC.enc
kdebug:hash_lookup(ec.enc) => (nil)
kdebug:hash_lookup(EC.enc) => /opt/tex/teTeX/texmf/fonts/enc/dvips/base/
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf/fonts/enc//) => 1
kdebug:hash_lookup(ec.enc) => EC.enc
kdebug:hash_lookup(ec.enc) => (nil)
kdebug:hash_lookup(EC.enc) => /opt/tex/teTeX/texmf/fonts/enc/dvips/base/
kdebug:kpse_normalize_path (/opt/tex/teTeX/texmf/fonts/enc/dvips/base/EC.enc) => 1
filename=/opt/tex/teTeX/texmf/fonts/enc/dvips/base/EC.enc


More information about the tex-k mailing list