[tex-live] Problem with `kpsewhich --all'

Werner LEMBERG wl at gnu.org
Sat Apr 7 12:39:34 CEST 2018


[SVN r46655 from Feb. 25th]

It seems that option `--all' of `kpsewhich' has an undocumented
limitation: It doesn't work for PK files.

Consider the following setup.

  $ locate '*cmr10.*pk'
  /home/wl/.texlive2017/texmf-var/fonts/pk/ljfour/public/cm/cmr10.600pk
  /usr/local/backup/TeXLive/Master/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk

  $ kpsewhich --all cmr10.600pk
  /home/wl/.texlive2017/texmf-var/fonts/pk/ljfour/public/cm/cmr10.600pk

  $ PKFONTS='/usr/local/backup/TeXLive/Master/texmf-dist/fonts/pk//' \
    kpsewhich --all cmr10.600pk
  /usr/local/backup/TeXLive/Master/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk

As can be seen, there are two PK files of `cmr10' for 600dpi.  I would
expect that the first call to `kpsewhich' finds both fonts.  However,
I have to explicitly set `PKFONTS' to get the second one.

Looking into the debug output I see

  kdebug:start search(file=cmr10.600pk, must_exist=0, find_all=0, ...)

So `find_all' is set to value 0, contrary to, say, a search for a
`.tex' file.

Is this intended behaviour?


    Werner


More information about the tex-live mailing list