
teubner.sty(GlyphNames 포함)의 최신 업데이트 이전에는 babel의 프랑스어가 로드되지 않은 한 \og-macro(ὸ)를 사용할 수 있었습니다(teubner-doc.pdf의 15페이지 n.1). 이제 \og-macro는 전혀 작동하지 않습니다. .tex 파일에 \og가 있는 PDF 출력에는 아무것도 없습니다. .log 파일에 다음과 같이 나와 있습니다.
! Undefined control sequence.
l.596 t\og{} kal\og n mhk\ea ti \og{}
내 .tex 파일에는 프랑스어가 없으며 각 단일 패키지 TeXify를 제거하고 마지막 패키지 대신 다른 패키지를 제거하더라도 \og가 작동하지 않습니다. 재정의된 위치를 볼 수 없으며 다른 패키지 전후에 사용한 savesymbol도 도움이 되지 않습니다.
MWS:
\pdfgentounicode=1
\input glyphtounicode
\RequirePackage[ngerman=ngerman-x-latest]{hyphsubst}
\documentclass{scrbook}
\usepackage{cmap}
\usepackage[LGR,T1]{fontenc}
\usepackage[utf8]{inputenc}
\input{ix-utf8enc.dfu}
\usepackage{savesym}
\usepackage[math=normal,greek,german,main=ngerman,english]{babel}
\usepackage{gfsdidot,gfsporson}
\usepackage[GlyphNames,boldLipsian]{teubner}
\savesymbol{breve}
\savesymbol{og}
\usepackage[osf,sc]{mathpazo}
\restoresymbol{pplj}{breve}
\usepackage[scaled=.95]{DejaVuSansCondensed}
\Lipsiantrue
\ifFamily{pplj}{porson}
\usepackage[nonegthinspace,twothirds]{thinsp}
\usepackage{fixltx2e}
\makeatletter
\renewcommand{\,}{\thinspace\allowhyphens}
\newcommand{\hrsp}{\ifmmode\mskip1mu\else\kern0.08em\fi}
\ifFamily{pplj}{porson}
\addto\greek@shorthands{%
\declare@shorthand{greek}{\/}{\textormath{\penalty\@M\discretionary{-}{}{\kern.03em}
\allowhyphens}{}}
}
\Lipsiantrue
\ifFamily{pplj}{porson}
\makeatother
\begin{document}
\subsection*{Platon \emph{Theaitetos} 184\hrsp b--185\hrsp d}
185\hrsp c\\
\begin{otherlanguage}{greek}to\uc to o\usa\/te \osa yis
o\usa\/te \as ko\hg{} fa\ia netai, \as ll\aa{} ti \asa llo. \quad
\textsc{JE.} T\ia{} d''\,o\us{} m\ea llei, \hra{} ge di\ag{} t\hc s
gl\wa sshs d\ua namis? \quad \textsc{SW.} Kal\wc s l\ea geis. \hr{}
d\eg{} d\hg{} di\ag{} t\ia nos d\ua namis t\oa{} t''\,\es p\ig{}
p\ac si koin\og n ka\ig{} t\og{} \es p\ig{} to\ua tois
dhlo\ic{} soi, \wrci{} t\og{} ((\esa stin)) \es p\/onom\aa zeis
ka\ig{} t\og{} ((o\us k \esa sti)) ka\ig{} \arg{} nun\/d\hg{}
\hs rwt\wa men per\ig{} a\us t\wc n? to\ua tois p\ac si po\ic a
\as po\/d\wa seis \osa rgana di''\,\wrc n a\is sj\aa netai \hr m\wc n
t\og{} a\is sjan\oa menon \era kasta? \quad \textsc{JE.} O\us s\ia an
l\ea geis ka\ig{} t\og{} m\hg{} e\isc nai, ka\ig{} \oR moi\oa\/thta
ka\ig{} \as n\/omoi\oa\/thta, ka\ig{} t\og{} ta\us t\oa n te ka\ig{}
t\og{} \era teron, \esa ti d\eg{} \era n te ka\ig{} t\og n \asa llon
\as rijm\og n per\ig{} a\us t\wc n.\\
\og\og\og
\end{otherlanguage}
\end{document}
답변1
이는 문제를 보여줍니다.
\documentclass{scrbook}
\usepackage{savesym}
\usepackage[greek,english]{babel}
\usepackage[GlyphNames]{teubner}
\savesymbol{og}
\begin{document}
\begin{otherlanguage}{greek}\og\end{otherlanguage}
\begin{otherlanguage}{greek}to o\usa\end{otherlanguage}
\end{document}
이렇게 하면 문제가 방지됩니다.
\documentclass{scrbook}
\usepackage{savesym}
\usepackage[greek,english]{babel}
\usepackage[GlyphNames]{teubner}
\savesymbol{og}
\restoresymbol{pplj}{og}
\begin{document}
\begin{otherlanguage}{greek}\og\end{otherlanguage}
\begin{otherlanguage}{greek}to o\usa\end{otherlanguage}
\end{document}
적어도 그것이 \og의 모습이라고 가정하면 말이죠. 나는 모른다.
편집: OP의 의견을 바탕으로 이 답변을 편집하고 있습니다. 위 내용은 이전 버전의 teubner에 해당됩니다. 최신 버전의 경우 다음은 문제를 보여줍니다.
\documentclass{scrbook}
\usepackage{savesym}
\usepackage[greek,english]{babel}
\usepackage[GlyphNames]{teubner}
\savesymbol{oG}
\begin{document}
\begin{otherlanguage}{greek}\oG\end{otherlanguage}
\begin{otherlanguage}{greek}to o\usa\end{otherlanguage}
\end{document}
다음은 문제를 방지합니다.
\documentclass{scrbook}
\usepackage{savesym}
\usepackage[greek,english]{babel}
\usepackage[GlyphNames]{teubner}
\savesymbol{oG}
\restoresymbol{pplj}{oG}
\begin{document}
\begin{otherlanguage}{greek}\oG\end{otherlanguage}
\begin{otherlanguage}{greek}to o\usa\end{otherlanguage}
\end{document}
\oG를 사용하도록 업데이트하는 것만으로는 충분하지 않습니다. 문자를 표시하려면 \restoresymbol...도 필요합니다.
출력은 위 이미지와 같습니다.