更具体地说,这个 Latex 文档可以转换为纯 Tex 吗?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[main=british,polutonikogreek]{babel}
\begin{document}
{\selectlanguage{polutonikogreek}
οὔ μοι τὰ Γύγεω τοῦ πολυχρύσου μέλει,}
he said
\end{document}
答案1
如果你不介意使用LuaTeX(这会使 过时inputenc
)并且不使用任何真正babel
具体的东西,那么可能下面的例子就可以了(它非常小,只定义一种字体形状,其余的可以类似地完成):
% Font loading package
\input luaotfload.sty
% Computer Modern Unicode (for Greek)
\font\tenrm={name:CMU Serif Roman:+tlig} at 10pt
% Define new language \polutonikogreek and load its hyphenation patterns
\newlanguage\polutonikogreek
\language\polutonikogreek
\input hyph-el-polyton.tex
% Switch to language 0 (English) as default
\language0
\tenrm
{\language\polutonikogreek
οὔ μοι τὰ Γύγεω τοῦ πολυχρύσου μέλει,}
he said
\bye