dvipdfmx 在全新安装的 tl 发行版中无法找到 pdftex.map / kanjix.map

dvipdfmx 在全新安装的 tl 发行版中无法找到 pdftex.map / kanjix.map

更新:我添加了完整的复现脚本https://gist.github.com/vadimkantorov/cb638c61afc2fb4526d05e6c4c3b48b6

dvidpfmx 的警告:

warning: Couldn't open font map file "pdftex.map".
warning: Couldn't open font map file "kanjix.map".

我该如何消除这些警告?最近的问题是否在于install-tl将字体映射放入,但在的定义中texlive/texmf-var/fonts/map/pdftex/updmap/没有提及?我应该手动修补它吗?updmapTEXFONTMAPStexlive/texmf-dist/web2c/texmf.cnf

字体映射是在 中生成的texlive/texmf-var,但在定义texmf-var中根本找不到TEXFONTMAPS。似乎TEXMFVAR/TEXMFSYSVAR设置和带updmap后缀都存在问题。

我按如下方式安装 TexLive./texlive并使用定制版本kpsewhich(我没有系统范围的安装),我没有进行任何手动调用updmap

URL_TEXLIVE_INSTALLER=http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz

wget --no-clobber $URL_TEXLIVE_INSTALLER
mkdir -p install-tl
tar -xf install-tl-unx.tar.gz --strip-components=1 --directory=install-tl

echo selected_scheme scheme-basic > install-tl.profile
echo TEXDIR $PWD/texlive >> install-tl.profile
echo TEXMFLOCAL $PWD/texlive/texmf-local >> install-tl.profile
echo TEXMFSYSVAR $PWD/texlive/texmf-var >> install-tl.profile
echo TEXMFSYSCONFIG $PWD/texlive/texmf-config >> install-tl.profile
TEXLIVE_INSTALL_NO_RESUME=1 $PWD/install-tl/install-tl -profile install-tl.profile

pdftex.mapkanjix.map在 TexLive 树中找到,但texmf.cnf不包含updmap目录:

export TEXMFCNF=$PWD/texlive/texmf-dist/web2c
export TEXMFDIST=$PWD/texlive/texmf-dist
kpsewhich -debug 32 pdftex.map

# kdebug:start search(xname=texmf.cnf, must_exist=1, find_all=1, path=/mnt/c/Users/user/busytex/bug/texlive/texmf-dist/web2c).
# kdebug: path_search(file=texmf.cnf, must_exist=1, find_all=1, path=/mnt/c/Users/user/busytex/bug/texlive/texmf-dist/web2c)
# kdebug:  dir_list_search(file=texmf.cnf, find_all=1, casefold=no)
# kdebug:start generic search(files=[ls-r ls-R], must_exist=1, find_all=1, path=/mnt/c/Users/texmf-local:/mnt/c/Users/user/texmf-config:/mnt/c/Users/user/texmf-var:/mnt/c/Users/user/busytex/bug/texlive/texmf-dist)
# kdebug:  dir_list_search_list(files=[ls-r ls-R], find_all=1, casefold=no)
# kdebug:returning from generic search([ls-r ls-R]) => /mnt/c/Users/user/busytex/bug/texlive/texmf-dist/ls-r /mnt/c/Users/user/busytex/bug/texlive/texmf-dist/ls-R
# kdebug:start search(xname=aliases, must_exist=1, find_all=1, path=/mnt/c/Users/texmf-local:/mnt/c/Users/user/texmf-config:/mnt/c/Users/user/texmf-var:/mnt/c/Users/user/busytex/bug/texlive/texmf-dist).
# kdebug: path_search(file=aliases, must_exist=1, find_all=1, path=/mnt/c/Users/texmf-local:/mnt/c/Users/user/texmf-config:/mnt/c/Users/user/texmf-var:/mnt/c/Users/user/busytex/bug/texlive/texmf-dist)
# kdebug:  dir_list_search(file=aliases, find_all=1, casefold=no)
# kdebug:  dir_list_search(file=aliases, find_all=1, casefold=yes)
# kdebug:   casefold_readable_file(aliases) in /mnt/c/Users/user/busytex/bug/texlive/texmf-dist => (nil)
# kdebug:returning from search(aliases) =>
# kdebug:kpse_find_file: searching for pdftex.map of type map (from texmf.cnf)
# kdebug:start generic search(files=[pdftex.map], must_exist=0, find_all=0, path=.:/home/vadimkantorov/.texlive2020/texmf-config/fonts/map/busytex//:/home/vadimkantorov/.texlive2020/texmf-var/fonts/map/busytex//:/home/vadimkantorov/texmf/fonts/map/busytex//:!!/mnt/c/Users/texmf-local/fonts/map/busytex//:!!/mnt/c/Users/user/texmf-config/fonts/map/busytex//:!!/mnt/c/Users/user/texmf-var/fonts/map/busytex//:!!/mnt/c/Users/user/busytex/bug/texlive/texmf-dist/fonts/map/busytex//:/home/vadimkantorov/.texlive2020/texmf-config/fonts/map/pdftex//:/home/vadimkantorov/.texlive2020/texmf-var/fonts/map/pdftex//:/home/vadimkantorov/texmf/fonts/map/pdftex//:!!/mnt/c/Users/texmf-local/fonts/map/pdftex//:!!/mnt/c/Users/user/texmf-config/fonts/map/pdftex//:!!/mnt/c/Users/user/texmf-var/fonts/map/pdftex//:!!/mnt/c/Users/user/busytex/bug/texlive/texmf-dist/fonts/map/pdftex//:/home/vadimkantorov/.texlive2020/texmf-config/fonts/map/dvips//:/home/vadimkantorov/.texlive2020/texmf-var/fonts/map/dvips//:/home/vadimkantorov/texmf/fonts/map/dvips//:!!/mnt/c/Users/texmf-local/fonts/map/dvips//:!!/mnt/c/Users/user/texmf-config/fonts/map/dvips//:!!/mnt/c/Users/user/texmf-var/fonts/map/dvips//:!!/mnt/c/Users/user/busytex/bug/texlive/texmf-dist/fonts/map/dvips//:/home/vadimkantorov/.texlive2020/texmf-config/fonts/map///:/home/vadimkantorov/.texlive2020/texmf-var/fonts/map///:/home/vadimkantorov/texmf/fonts/map///:!!/mnt/c/Users/texmf-local/fonts/map///:!!/mnt/c/Users/user/texmf-config/fonts/map///:!!/mnt/c/Users/user/texmf-var/fonts/map///:!!/mnt/c/Users/user/busytex/bug/texlive/texmf-dist/fonts/map///)
# kdebug:  dir_list_search_list(files=[pdftex.map], find_all=0, casefold=no)
# kdebug:  dir_list_search_list(files=[pdftex.map], find_all=0, casefold=yes)
# kdebug:   casefold_readable_file(pdftex.map) in . => (nil)
# kdebug:returning from generic search([pdftex.map]) =>

find texlive -name pdftex.map
# texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map

find texlive -name kanjix.map
# texlive/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map

find texlive -name texmf.cnf
# texlive/texmf-dist/web2c/texmf.cnf
# texlive/texmf.cnf

grep 'fonts/map' texlive/texmf-dist/web2c/texmf.cnf
# TEXFONTMAPS = $TEXMFDOTDIR;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//

相关内容