我有一段由一些单栏和双栏段落组成的文本。我希望在整个页面上都有连续的行号。左栏和右栏的行号应始终同步。每次分页时,行计数器都应重置为 1。
在以下示例中,第 1 页上的所有内容均运行正常。但在第 2 页上,请注意右列如何从行号 1 开始,而它应该是行号 19。
我的错误在哪里?注意:我无法在所有情况下轻松重现此行为。有时有效,有时无效。这似乎与分页符发生的位置有关,但我不确定是什么引发了这个问题。
我正在使用 reledmac 2021/03/08 v2.37.1 和 reledpar 2021/03/08 v2.25.1a。
\documentclass{book}
\usepackage[english]{babel}
\usepackage{reledmac}
\usepackage[widthliketwocolumns,continuousnumberingwithcolumns]{reledpar}
\listfiles
\lineation*{page}
\begin{document}
\beginnumbering
\pstart
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
\pend
\pausenumbering
\begin{pairs}
\begin{Leftside}
\resumenumbering
\pstart
This is the left column.
This is the left column.
This is the left column.
This is the left column.
This is the left column.
This is the left column.
This is the left column.
This is the left column.
This is the left column.
This is the left column.
This is the left column.
This is the left column.
\pend
\pausenumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart
This is the right column.
This is the right column.
This is the right column.
This is the right column.
This is the right column.
This is the right column.
This is the right column.
This is the right column.
This is the right column.
This is the right column.
This is the right column.
\pend
\pausenumbering
\end{Rightside}
\end{pairs}
\Columns
\resumenumbering
\pstart
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
\pend
\pstart
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
Normal paragraph. Quite ordinary.
\pend
\pstart
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
Now we have a normal paragraph which is long enough to
create a page break.
\pend
\pausenumbering
\begin{pairs}
\begin{Leftside}
\resumenumbering
\pstart
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
On the left column, numbering is OK.
\pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\resumenumbering
\pstart
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
On the right column, however, numbering is out of synch.
\pend
\endnumbering
\end{Rightside}
\end{pairs}
\Columns
\end{document}
答案1
reledpar 的维护者已经修复了这个错误,所以这个问题已经解决,我相信修复后的版本将会出现在下一个版本中。