.png)
Auf einem Fedora 39-System erhalte ich die folgende Fehlermeldung:
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 eurm10
mktexpk: don't know how to create bitmap font for eurm10.
mktexpk: perhaps eurm10 is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
(see the transcript file for additional information)
!pdfTeX error: pdflatex (file eurm10): Font eurm10 at 600 not found
Ich habe mich umgesehen und bin auf einen Beitrag aus dem Jahr 2020 in den Arch-Foren gestoßen, in dem steht, dass ich möglicherweise brauche texlive-most
, dies ist jedoch unter Fedora 39 nicht verfügbar. Es texlive-amsfonts
ist jedoch verfügbar und bietet
/usr/share/texlive/texmf-dist/fonts/afm/public/amsfonts/euler/eurm10.afm
/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/euler/eurm10.tfm
/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/euler/eurm10.pfb
/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/euler/eurm10.pfm
Ich verstehe nicht ganz, wie ich diesen Fehler umgehen kann. Ich habe Folgendes versucht: TeX: mktexpk: weiß nicht, wie man eine Bitmap-Schriftart erstellt
$ sudo texhash
texhash: Updating /usr/share/texlive/texmf-config/ls-R...
texhash: Updating /usr/share/texlive/texmf-dist/ls-R...
texhash: Updating /usr/share/texlive/texmf-local///ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
und dann:
sudo updmap-sys
und dem Vorschlag von @UlrikeFischer folgend:
$ sudo updmap-sys --enable Map=euler
updmap will read the following updmap.cfg files (in precedence order):
/usr/share/texlive/texmf-config/web2c/updmap.cfg
/usr/share/texlive/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
/usr/share/texlive/texmf-config/web2c/updmap.cfg
/usr/share/texlive/texmf-config/web2c/updmap.cfg unchanged. Map files not recreated.
updmap: updating ls-R files.
Dann habe ich mir diese Datei angesehen:
$ grep eurm10 /usr/share/texlive/texmf-config/web2c/updmap.cfg
#! Map eurm10.map
#! Map eurm10
Es scheint, dass dies auskommentiert ist. Vielleicht ist das das Problem. Warum ist es auskommentiert?
Das Aufheben der Kommentierung führt jedoch zu einem ähnlichen, aber leicht anderen Fehler:
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+2/600 --dpi 602 eurm10
mktexpk: don't know how to create bitmap font for eurm10.
mktexpk: perhaps eurm10 is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
(see the transcript file for additional information)
!pdfTeX error: pdflatex (file eurm10): Font eurm10 at 602 not found
==> Fatal error occurred, no output PDF file produced!
Läuft
$sudo updmap-sys
...
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: eurm10 (in /usr/share/texlive/texmf-config/web2c/updmap.cfg)
updmap [ERROR]: eurm10.map (in /usr/share/texlive/texmf-config/web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?
Das Zurückkommentieren ergibt Folgendes:
$sudo updmap-sys
Files generated:
/var/lib/texmf/fonts/map/dvips/updmap:
15758 2024-02-09 11:38:40 builtin35.map
21231 2024-02-09 11:38:40 download35.map
606142 2024-02-09 11:38:41 psfonts_pk.map
815796 2024-02-09 11:38:41 psfonts_t1.map
815791 2024-02-09 11:38:40 ps2pk.map
14 2024-02-09 11:38:41 psfonts.map -> psfonts_t1.map
/var/lib/texmf/fonts/map/pdftex/updmap:
815798 2024-02-09 11:38:41 pdftex_dl14.map
814133 2024-02-09 11:38:41 pdftex_ndl14.map
15 2024-02-09 11:38:41 pdftex.map -> pdftex_dl14.map
/var/lib/texmf/fonts/map/dvipdfmx/updmap:
281 2024-02-09 11:38:40 kanjix.map
Die Schriftart kann jedoch immer noch nicht gefunden werden.
Ich habe es mit folgendem hello.tex
Beispiel versucht:
\documentclass[a4paper]{article}
\begin{document}
Hello world!
\end{document}
aber hier tritt der Fehler nicht auf:
$ pdflatex hello.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./hello.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-22>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file hello.aux.
[1{/home/user/.texlive2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./hello.aux) )</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cm
r10.pfb>
Output written on hello.pdf (1 page, 12759 bytes).
Transcript written on hello.log.
Und hier ist das Ende der Protokolldatei:
{/home/user/.texlive2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./hello.aux) )
Here is how much of TeX's memory you used:
422 strings out of 477985
8095 string characters out of 5839381
1849388 words of memory out of 6000000
20706 multiletter control sequences out of 15000+600000
512287 words of font info for 32 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
34i,5n,38p,140b,107s stack positions out of 10000i,1000n,20000p,200000b,200000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cm
r10.pfb>
Output written on hello.pdf (1 page, 12759 bytes).
PDF statistics:
13 PDF objects out of 1000 (max. 8388607)
7 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
pdftex.map
oben Karten zupdftex_d114.map
Irgendwelche Vorschläge, was ich versuchen sollte? Nochmals vielen Dank für alle Vorschläge!