
該軟體包的最新版本提供了僅將多次使用的縮寫 ( ) 列印到縮寫列表以及將長版本 ( ) 等大寫的acronym
選項。大寫在早期版本對我有用。我將軟體包更新到版本 1.46,但上述內容現在都不起作用。我還重新安裝了所需的軟體包和.我將 MiKTeX 2.9.7380 與 PDFlatex 一起使用,並且還重置了 MiKTeX 配置,但沒有任何幫助。[printonlyreused]
\Acl{XYZ}
suffix
xstring
請在下面找到一個 MWE 來描述該問題。在我的輸出中,A 的長版本沒有大寫,B 仍在列表中。
\documentclass[12pt]{article}
\usepackage[printonlyreused]{acronym}
\begin{document}
\section{Chapter}
First use: \ac{NA} \\
2nd use: \ac{NA} \\
Long version with capital: \Acl{NA} \\
Other acronym, only mentioned once: \ac{NB} \\
The third acro is not mentioned to be excluded on the printed list
\section{List of acronyms}
\begin{acronym}
\acro{NA}{new acro A}
\acro{NB}{new acro B} % negative test for [printonlyreused]
\acro{NC}{new acro C} % negative test for [printonlyused]
\end{acronym}
\end{document}
作為一種解決方法,我切換到了 package acro
,幸運的是它使用了大部分相同的文本內命令,因此我不必在130 頁的文檔中進行太多更改,只是重新定義>4 頁的首字母縮略詞有點乏味。但是,使用的解決方案acronym
仍然有用。