.png)
Fedora 39 시스템에서는 다음 오류가 발생합니다.
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
주위를 둘러보던 중 Arch 포럼에서 2020년 게시물을 발견했는데 잠재적으로 가 필요할 수 있지만 texlive-most
Fedora 39에서는 사용할 수 없습니다. 그러나 texlive-amsfonts
사용 가능하며 다음을 제공합니다.
/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
이 오류를 해결하는 방법을 잘 모르겠습니다. 나는 다음을 시도했다 : TeX: mktexpk: 비트맵 글꼴을 만드는 방법을 모릅니다.
$ 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.
그런 다음:
sudo updmap-sys
@UlrikeFischer의 제안에 따라:
$ 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.
그런 다음 이 파일을 살펴보았습니다.
$ grep eurm10 /usr/share/texlive/texmf-config/web2c/updmap.cfg
#! Map eurm10.map
#! Map eurm10
그 내용이 주석 처리된 것으로 보입니다. 아마도 그것이 문제일 것입니다. 왜 주석 처리되어 있습니까?
그러나 주석을 제거하면 비슷하지만 약간 다른 오류가 발생합니다.
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!
달리기
$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?
다시 주석을 달면 다음과 같은 결과가 나옵니다.
$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
하지만 여전히 글꼴을 찾을 수 없습니다.
다음 예를 시도했습니다 hello.tex
.
\documentclass[a4paper]{article}
\begin{document}
Hello world!
\end{document}
하지만 여기서는 오류가 표시되지 않습니다.
$ 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.
로그 파일의 끝은 다음과 같습니다.
{/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
위의 매핑은 다음과 같습니다.pdftex_d114.map
내가 무엇을 시도해야 하는지에 대한 제안이 있나요? 어떤 제안이라도 다시 한번 감사드립니다!