%20%ED%8C%A8%ED%82%A4%EC%A7%80%20%EC%82%AC%EC%9A%A9(%EC%84%A4%EC%B9%98)%20%EB%B0%A9%EB%B2%95.png)
며칠 전까지 패키지 가져오기에 대한 나의 모든 지식은 \usepackage{}
최종적으로 사용하게 될 배포판에 의해 설치된 패키지와 함께 사용하는 것을 기반으로 했습니다. 이제 나는 그것이 어떻게 작동하는지 혼란스러워합니다.
2개의 패키지를 사용하려고 합니다.psgo
그리고igo
, 둘 다 Go(보드 게임) 다이어그램을 만드는 것을 목표로 합니다.
패키지 psgo
에 TeX Live가 함께 제공되는 것 같지만 확실하지 않습니다. 저는 둘 다 로컬로 "설치"했습니다. 실제로는 미러에서 다운로드하여 내부 폴더에 배치했습니다.내 템플릿 프로젝트. 이제 분명히 \usepackage{psgo}
효과가 있는 것 같습니다.
에 대해서도 igo
비슷한 작업을 수행하여 다양한 변형을 시도했습니다.
\documentclass{article}
\usepackage{./igo/igo}
\begin{document}
\white{b4,c4,d4,e4,f4,g3,g2,c3}
\black{b3,b2,c2,d3,e3,f3,f2}
\begin{center}
\shortstack{\showgoban\\White to kill}
\end{center}
\end{document}
그러나 컴파일하려고 하면 글꼴에 대해 불평합니다.
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./src/igo.template.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-22>
(/usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/local/texlive/2023/texmf-dist/tex/latex/base/size10.clo)) (./igo/igo.sty
++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++ igo.sty - January 2007 - 0.62 +++++++++++
+ A TeX package to manipulate Go games and positions +
++++++++++++++++++++++++++++++++++++++++++++++++++++++
(/usr/local/texlive/2023/texmf-dist/tex/generic/eijkhout/repeat.tex
Loading loop macro, version 0.93a)
kpathsea: Running mktextfm igo10
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input igo10
This is METAFONT, Version 2.71828182 (TeX Live 2023) (preloaded base=mf)
kpathsea: Running mktexmf igo10
! I can't find file `igo10'.
<*> ...=ljfour; mag:=1; ; nonstopmode; input igo10
Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; ; nonstopmode; input igo10
Transcript written on mfput.log.
grep: igo10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input igo10' failed to make igo10.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \igo@font=igo10 at 10.0pt not loadable: Metric (TFM) file not found.
<to be read again>
\global
l.175 \smallgoban
?
패키지 자체 내에서 글꼴 가져오기를 내부적으로 수행하면 안 되나요? 패키지 igo
에는 글꼴이 포함된 폴더도 함께 제공됩니다.
어쨌든, "외부에서" 이 문제를 해결할 수 있는 방법이 있나요? 나는 이 패키지 설치 문제를 올바르게 이해하고 있습니까?