I have seen this question that is very similar to mine, but it was not properly answered (I guess because it was poorly explained), so I'll try and ask again: if the moderation thinks that this is a duplicate, I would be happy to close it, as long as the other question get answered! :)
Anyway.
I have a parallel text to be written in two pages. On the left side there is a latin text and on the right side the vulgarization of it, and the notes are basically all on the vulgarization (there is a critical family also dedicated to the latin text, but is almost unused). This create a strong unbalance between the notes, and if remaining within the same Leftside and Rightside, reledpar starts to have problems. I wanted then to split the text by using \memorydump. Unfortunately, I keep obtaining mysterious errors.
I'll provide the most minimal example I'm able to write:
\documentclass{report}
\usepackage[no-math]{fontspec}
\setmainfont{EBGaramond}[Numbers=OldStyle]
\usepackage[latin]{babel}
\usepackage{blindtext}
\usepackage[series={A},noend, noeledsec, noledgroup, nopenalties]{reledmac}
\usepackage{reledpar}
\begin{document}
\begin{pages}
\begin{Leftside}
\beginnumbering
\pstart
\blindtext
\pend
\pstart
\blindtext
\pend
% \endnumbering % <-- I understood that I have to comment this to make \memorydump work
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart
\blindtext
\pend
\pstart
\blindtext
\pend
% \endnumbering % <-- I understood that I have to comment this to make \memorydump work
\end{Rightside}
\end{pages}
\Pages
\begin{pages}
\begin{Leftside}
\memorydump
% \beginnumbering % <-- and also this
\pstart
\blindtext
\pend
\pstart
\blindtext
\pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\memorydump
% \beginnumbering % <-- and also this
\pstart
\blindtext
\pend
\pstart
\blindtext
\pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages
\end{document}
Unfortunately, the process breaks down. I tried all the combinations I could think of:
commenting \beginnumbering and \endnumbering, uncommenting them, placing \memorydump before or after \beginnumbering and removing or leaving \end{pages}\Pages\begin{pages} in the middle.
Every time the errors are different and, while they all make sense on their own, I still don't understand what should I do and what should be the right way to use this feature. Of course, removing \memorydump makes everything work again, but the line numbering of the new paragraph restarts from 1 and I don't want this.
I am referring to §7.2 (page 17) of the relepar documentation.



\memorydumpfits the description in the "manual" part of the documentation (§7.2). And your example appears functionally equivalent to the one there. In fact, that "official" example (when completed) doesn't compile for me. Same errors as with your MWE. – marquinho Aug 04 '22 at 10:57\memorydumpis a shorthand for\pausenumbering\resumenumbering. This will clear the memorised stuff for the previous chunks while keeping the numbering going.", one could try the following: replace your commented-out\endnumberingwith\pausenumberingand\beginnumberingwith\resumenumbering. And dump\memorydump. This allows for continued numbering in the next chunk of text. Is this what you're trying to achieve? – marquinho Aug 04 '22 at 10:58reledparenough to tell whether I've overlooked something important – or whether there might be an error in the documentation or even a bug (!). But this point could be worth clarifying in the manual. Also, thereledmac/reledparinstallation comes with a number of good sample.texand.pdfdocuments, but alas, none of them exemplifies the use of\memorydump. – marquinho Aug 04 '22 at 11:01But I thinks you should be more explicit about "reledpar starts to have problem". Maybe memorydump is not the best solution.
– Maïeul Aug 05 '22 at 09:29\begin{Rightside} on input line 26 ended by \end{pages}.Basically what you get if you forgot the\endnumberingin:\pend\endnumbering\end{Rightside} \end{pages} \Pages. And the remaining errors (wrong respective placement/hierarchy of numberings, pstarts, pages-environments...) just trickle from there. However, this is how the manual advises to use\memorydump. Maybe you could drop it from the manual and suggest using\pausenumbering– if @jschiavon can confirm that it works as desired... – marquinho Aug 05 '22 at 12:05\begin{Rightside} on input line 26 ended by \end{pages}is quite explicit : your environement are not well nested. – Maïeul Aug 06 '22 at 09:56