maieul/ledmac

Problems of continuousnumberingwithcolumns with lineation by page

rotula opened this issue · 3 comments

Version

reledmac 2021/03/08 v2.37.1 and reledpar 2021/03/08 v2.25.1a

TeX Engine

pdfLaTeX and XeLaTeX, problem appears with both engines

Regression

Description

I have a text consisting of some single column and some double column passages. I want to have continuous line numbering throughout the page. Left and right column line numbers should always be synchronized. At each page break the line counter should be reset to 1.

In the following MWE everything works fine on page 1. But on page two, note how the right column starts with line number 1, where it should be line number 19.

Page2

Minimal Working Example

\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}

Workaround

Please try branch "issue928"

I have just tested the branch with the fix and it worked perfectly! Thank you so much for this and in general for your work on reledmac/reledpar! Merci beaucoup !

Please don't close the issue, I will do it myself.