TL;DR 在使用 reledmac / reledpar 的并行类型设置环境中,脚注编号顺序混乱。
我目前正在创建一个包含双语文本的双面类 Latex 文档:左侧(左页)始终是拉丁文本,右侧(右页)是德语翻译。为此,我使用了 reledpar。左侧有节(astanza),右侧有翻译,我总是让标题/标题位于实际节/翻译之前。
现在,脚注的编号顺序乱了,因为首先创建了所有节的脚注,然后创建了标题的脚注。这造成了混乱的编号,因为第一个标题中的第一个脚注以“56”之类的数字开头,而下面文本中的第一个脚注以“1”开头。
这是我的 MWE:
\documentclass[12pt,a4paper,twoside]{scrbook}
\usepackage[]{reledmac}
\usepackage[]{reledpar}
% Set stanza indents
\setstanzaindents{8,5,6}
\setcounter{stanzaindentsrepetition}{2}
% Print a line number for every second line on the left side
\firstlinenum{2}
\linenumincrement{2}
% Disable the line numbering on the right side
\firstlinenumR{1000000000}
% Print all footnotes at the end of the document
\usepackage{endnotes}
\let\footnote=\endnote
% Environment for Astanza with custom headlines
\newenvironment{AstanzaWithHeadline}[1]
{\begin{astanza}[\centering\textbf{\protect#1}]\setline{1}}
{\end{astanza}}
\begin{document}
\large
\begin{pages}
\begin{Leftside}
\beginnumbering
\begin{AstanzaWithHeadline}{This is a headline\footnote{First
footnote in headline}}
verse verse verse 1!&
verse verse verse 2!\footnote{First footnote in text}&
verse verse verse 3!&
verse verse verse 4!\footnote{Second footnote in text}\&
\end{AstanzaWithHeadline}
\begin{AstanzaWithHeadline}{This is a headline\footnote{First footnote in headline}}
verse verse verse 1!&
verse verse verse 2!\footnote{First footnote in text}&
verse verse verse 3!&
verse verse verse 4!\footnote{Second footnote in text}\&
\end{AstanzaWithHeadline}
\endnumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart
This is a translation paragraph. Still just a translation paragraph. There is nothing interesting in here, please move on.
\pend
\pstart
This is a translation paragraph. Still just a translation paragraph. There is nothing interesting in here, please move on.
\pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages
\theendnotes
\end{document}
现在我想让编号从第一个标题 1 开始,然后一直向上计数。如能得到任何帮助,我将不胜感激!