XeLaTeX 不支持多个词汇表

XeLaTeX 不支持多个词汇表

我开始使用 TexPad for Mac(现在称为 Texifier)进行书籍项目,它使用某种专有引擎。但是它确实存在我绝对需要的 fontspec 包的问题,​​所以我改用了 TeXShop。在那里我使用 XeLaTeX,它运行良好,解决了我之前遇到的许多字体相关问题。不幸的是,词汇表不再显示,或者说,只有主词汇表显示,但其他一切都不起作用(它与 TexPad 一起使用时可以正常工作)。

我创建了一个最小的例子:

\documentclass[11pt, a4paper]{book}

\usepackage{fontspec}
\usepackage[titletoc,title]{appendix}
\usepackage[nonumberlist,numberedsection,ucmark,nopostdot]{glossaries}

\newglossary[ppl]{person}{ppx}{ppy}{People}
\makeglossaries
\loadglsentries{p1.tex}
\loadglsentries{gls1.tex}

\begin{document}

\glsaddall

\tableofcontents

\newpage
\begin{appendices}
    \printglossary[type=person]
    \printglossary
\end{appendices}

\end{document}

在这里,我添加了两个词汇表文件,p1.texgls1.tex。后者包含主词汇表,显示正确。其中的条目如下所示:

\newglossaryentry{lexicography}
{
    name={Lexicography},
    description={The study of semantic and orthographic features of words and their roots as well as the study of sounds, words, grammatical phrases, sentences, and their relationships.}
}

在此示例中,我仅多了一个词汇表类型。这些条目不会显示在输出文件中。条目如下所示:

\newglossaryentry{Löw Brill}
{
    type=person,
    name={Loew Brill, Samuel},
    description={(1814–1897 AD), a Hungarian Rabbi and Talmudical scholar. Attending the Talmud schools at Eisenach and Prague, he received his rabbinical degree at the age of 22. In his native city of Budabest he soon becomes widely known for his Talmudic lectures.}
} 

词汇表条目类型根本不显示。

我已将这个最小示例的所有文件压缩,并将其放在我的 Dropbox 上: https://www.dropbox.com/s/shgurgemlicg95m/Test.zip?dl=0

答案1

感谢 Ulrike Fischer,我搞明白了。原来这不是 XeLaTeX 的问题,而是 TeXShop 的问题,至少是我设置方式的问题。当我makeglossaries从终端运行时,一切都运行正常。这意味着,不管怎样,我都能完成我的项目,即使我不知道如何从 TeXShop 完成它。

相关内容