這些csquotes
軟體包在 10.7 下的文檔中指出,“該軟體包將自動重置報價中包含的任何腳註內的嵌套級別。”
真的行。但是,當使用 時reledmac
,不會套用此重設。查看原始程式碼 csquotes
我無法找到適當的巨集來添加到例如footnoteA
。
那麼,我需要添加什麼來csquotes
手動重置嵌套級別?
\documentclass{book}
\usepackage{csquotes}
\usepackage{reledmac}
\begin{document}
\enquote{This is an example\footnote{Better say \enquote{example}}} and
this one now with \enquote{reledmac\footnoteA{\enquote{A great package btw}}}
\end{document}
答案1
標準\footnote
調用\@parboxrestore
並csquotes
掛鉤它以重置等級。
如果您想手動重置級別,您可以新增
\csname csq@qlevel\endcsname=0\relax
到\footnoteA
代碼。
答案2
感謝 Ulrike Fischer 程式碼,該功能已直接整合到 reledmac 2.19.0 上(我將在幾分鐘內以 CTAN 形式發送)。