-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with reledpar und babel #887
Comments
Well,
So solution
So before going far in this problem, I need an answer to my question 0. |
@u-fischer pointed the fact that the issue is mainly a babel issue. I will open an issue there. However,
|
Thank you for answering so quickly. This is a log-file extract from a LaTeX run yesterday on several files with a lot of reledpar paragraphs. The corresponding toc-file has more than 12000 lines: ! TeX capacity exceeded, sorry [save size=50000]. If you really absolutely need more capacity, Here is how much of TeX's memory you used: PS: This morning I have proved the toc-file of a book manuscript finished with reledmac/reledpar in 2016. It contains the same bulk of babel lines (more than 21.000 !), most of them of this type: \select@language {german} \defcounter {refsection}{0}\relax. But, in those days the LaTeX run did not indicate any error. |
yes of course. That is the problem with column mode : we need to switch language, and so one to write in the aux file, each time we come from left column to right column. In your case, you don't need it because you use same language in two sides, so my hack should help you. In some other case, I should improve the code for my 3. solutions |
if save size overflows like this it looks like a coding error. If found at least one macro which is changed both globally and locally:
|
@u-fischer could you open an issue on babel repository ? |
An important Message: My greater files are running comme il faut. Thanks for the hack. Thank you to Ulrike Fischer, too! |
@sonator be careful with this hack. As explained, it works only if you do not switch languague between your two columns. |
#I use the Current versions of reledmac/reledpar
TeX Engine
pdfLaTeX
Regression
Using reledpar v2.7.1 in 2016 I did not have the problem.
Description
Running the MWE below babel writes for every \pstart \pend-paragraph two lines as "\babel@toc {german}{}" into the toc-file. The same effect in the lof-file. In a long manuscript of about 200 pages with reledpar-columns thousands of such lines cause a fatal error of Latex. Do you see a mistake in my code? How can I avoid this behaviour? Thank you.
Minimal Working Example
\documentclass{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\usepackage[series={A,B},noeledsec,noend]{reledmac}
\usepackage{reledpar}
\begin{document}
\tableofcontents
\chapter{Capitulum primum}
\section{Sectio prima}
\begin{pairs}
\begin{Leftside}
\beginnumbering
\pstart
Columna sinistra. Particula prima.
\pend
\pstart
Columna sinistra. Particula secunda.
\pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart
Columna dextra. Particula prima.
\pend
\pstart
Columna dextra. Particula secunda.
\pend
\endnumbering
\end{Rightside}
\end{pairs}
\Columns
Textus Textus Textus Textus Textus Textus Textus Textus Textus Textus
\section{Sectio secunda}
Textus Textus Textus Textus Textus Textus Textus Textus Textus Textus
\end{document}
Workaround
The text was updated successfully, but these errors were encountered: