TeXLIVE 字体映射条目重复警告

TeXLIVE 字体映射条目重复警告

不久前我升级了我的操作系统(Fedora 37 -> 38),从那时起我收到了几十个这样的错误:

pdfTeX warning: pdflatex (file /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map): fontmap entry for `rtxptmri' already exists, duplicates ignored

我尝试重新安装 txfonts 和 pxfonts 包以及 newtx 和 newpx 以及它们所依赖的一些包,但这只能减少这些警告的数量。然后我尝试重新安装所有 TeXLIVE 包,警告更改为:

pdfTeX warning: pdflatex (file /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map): ambiguous entry for `txbttsl': font file present but not included, will be treated as font file not present

同样,每次我运行 pdflatex 时都会出现数十个这样的警告(以至于我错过了“真正的”警告,例如需要再次运行 latex)。

关于如何消除警告,有什么建议吗?

答案1

这似乎是一个错误在 Fedora 34 到 35 的升级路径中。

问题跟踪器上的评论建议进行以下修复,这确实为我解决了这个问题:

dnf remove texlive-updmap-map
rm /etc/texlive/web2c/updmap.cfg*
dnf reinstall texlive-texlive-scripts

相关内容