# \Xonlyside footnotes appear in the margin after the first pages #792

Closed
opened this Issue Jan 17, 2019 · 7 comments

Projects
None yet
2 participants

# Version of reledmac / reledpar

reledmac 2.29.0, reledpar 2.22.0a

# Description of the problem

I'm creating a document with more than one series of parallel pages since between these parallel-page parts, I will have other single-page material. (Is multiple pages the way to do this? If not, how?)

The left and right sides each have their own footnotes through \Xonlyside. The problem is that in the second and later series of pages the footnotes appear in bottom margin and, if long enough, past the end of the page.

This problem does not occur if I remove \Xonlyside for all series of footnotes, but I would like to keep this feature because in my document, footnotes from one side running over onto the other side might confuse the reader.

The problem also does not occur if the footnotes are exactly the same length on either side.

# Minimal Working Example

\documentclass[12pt]{article}
\usepackage[series={A,B}]{reledmac}
\usepackage{reledpar, lipsum}
\Xonlyside[A]{L}
\Xonlyside[B]{R}

\begin{document}
\begin{pages}
\begin{Leftside}
\beginnumbering
\pstart
\edtext{The}{\Afootnote{\lipsum[1]}} left side. \lipsum[1-3]
\pend
\pstart
\lipsum[4]
\pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart
\edtext{The}{\Bfootnote{\lipsum[1-2]}} right side.\lipsum[1-3]
\pend
\pstart
\lipsum[4]
\pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages

\begin{pages}
\begin{Leftside}
\beginnumbering
\pstart
More on \edtext{the}{\Afootnote{\lipsum[1]}} left side. \lipsum[1-3] % if instead we put \lipsum[1-2] in the footnote, to match the right side footnote, then the footnotes do not appear in the margin
\pend
\pstart
\lipsum[4]
\pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart
More on \edtext{the}{\Bfootnote{\lipsum[1-2]}} right side. \lipsum[1-3]
\pend
\pstart
\lipsum[4]
\pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages
\end{document}


### maieul added a commit that referenced this issue Jan 17, 2019

 pb #792 
 ae02573 
Owner

### maieul commented Jan 17, 2019

 Yes, to add normal page betwenn parallels pages, you must use multiple \Pages I didn't see any problem with your MWE. However, modifiyng it to understand where the problem could happen, I saw, indeed, a problem, because reledpar didnt' restore the place for the footnotes at the end of \Pages So, I corrected it Please try branch issue792
Author

### fps-vogel commented Jan 18, 2019

 Thank you. The MWE now works, but in my document the problem has not disappeared. So I will do more testing as soon as I can, to find out what is causing the problem.

Closed

Author

### fps-vogel commented Jan 18, 2019

 It appears that after the first pair of pages in the second pages environment, the footnotes appear in the margin as before. So the problem didn't appear in the corrected MWE because each pages had only one pair of pages with footnotes. The one below is longer to show the problem. MWE: \documentclass[12pt]{article} \usepackage[series={A,B}]{reledmac} \usepackage{reledpar, lipsum} \Xonlyside[A]{L} \Xonlyside[B]{R} \begin{document} \begin{pages} \begin{Leftside} \beginnumbering \pstart \edtext{Ahe}{\Afootnote{1A\lipsum[1]}} left side. \lipsum[1-3] \pend \pstart \lipsum[4] \pend \endnumbering \end{Leftside} \begin{Rightside} \beginnumbering \pstart \edtext{Bhe}{\Bfootnote{1B\lipsum[1-2]}} right side.\lipsum[1-3] \pend \pstart \lipsum[4] \pend \endnumbering \end{Rightside} \end{pages} \Pages Intermediate text \begin{pages} \begin{Leftside} \beginnumbering \pstart More on \edtext{Ahe}{\Afootnote{2A\lipsum[1]}} left side. \lipsum[1-3] % first page: OK \pend \pstart \edtext{Ahe}{\Afootnote{3A\lipsum[1].}} left side again.\lipsum[4-7] % second page: problem \pend \endnumbering \end{Leftside} \begin{Rightside} \beginnumbering \pstart More on \edtext{Bhe}{\Bfootnote{2B\lipsum[1-2]}} right side. \lipsum[1-3] % first page: OK \pend \pstart \edtext{Bhe}{\Bfootnote{3B\lipsum[1-2]}} right side again.\lipsum[4-7] % second page: problem \pend \endnumbering \end{Rightside} \end{pages} \Pages \end{document} 

### maieul added a commit that referenced this issue Jan 20, 2019

 actualisation du MWE #792 
 fec313a 
Owner

### maieul commented Jan 20, 2019

 The problem is not directly linked to the multiple \Pages, as without the first pages, it also happens

### maieul added a commit that referenced this issue Jan 20, 2019

 the problem #792 is not related to multiple pages 
 78b916b 
Owner

Author

### fps-vogel commented Jan 21, 2019

 Yes, that works perfectly. Thank you!
Owner

### maieul commented Jan 21, 2019

 Nice, I will publish #790, #791 and #792 tomorrow