我正在使用 luaquotes
[我开发的] 为文本添加智能引号。在我更改字体之前,这很好用。该软件包添加了替换引号标点的 lua 过滤器。由于我不知道的原因,当我在文档中间更改字体时,这些过滤器停止工作。为什么会这样,我该如何修复它?
梅威瑟:
\documentclass{article}
\usepackage{luaquotes}
\directlua{}
\usepackage{fontspec}
\setmainfont{TeX Gyre Termes X}
\newfontface\mycenty{TeX Gyre Schola X}
%\DeclareTextFontCommand{\mycenty}{\centy}
\begin{document}
"The ultimate question to be decided in determining the date of separation is whether either or both of the parties perceived the rift in their relationship as final. The best evidence of this is their words and actions. (The husband's and the wife's subjective intents are to be objectively determined from all of the evidence reflecting the parties' words and actions during the disputed time in order to ascertain when during that period the rift in the parties' relationship was final. [\ldots]"
\mycenty\smartquotes
The ultimate question to be decided in determining the date of separation is whether either or both of the parties perceived the rift in their relationship as final. The best evidence of this is their words and actions. (The husband's and the wife's subjective intents are to be objectively determined from all of the evidence reflecting the parties' words and actions during the disputed time in order to ascertain when during that period the rift in the parties' relationship was final. [\ldots]"
\end{document}