reledmac 매크로 내에서 csquotes의 중첩 수준 재설정

reledmac 매크로 내에서 csquotes의 중첩 수준 재설정

패키지 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호출 \@parboxrestorecsquotes연결을 통해 레벨을 재설정합니다.

레벨을 수동으로 재설정하려면 추가할 수 있습니다.

  \csname csq@qlevel\endcsname=0\relax

코드 에 \footnoteA.

답변2

Ulrike Fischer 코드 덕분에 이 기능은 reledmac 2.19.0에 직접 통합되었습니다(몇 분 안에 CTAN으로 보내드리겠습니다).

관련 정보