summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/reledmac
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2017-04-06 23:38:25 +0000
committerNorbert Preining <preining@logic.at>2017-04-06 23:38:25 +0000
commitd5cd11ad89b0c0058a8c443fbec83a01f1fe877a (patch)
tree8d3df180c3cdc3e36eb0cfe2e7fc5239b7170b50 /Master/texmf-dist/source/latex/reledmac
parent018b1c5a977ef800bf91743aa219f228a3c0eb0c (diff)
reledmac (7Apr17)
git-svn-id: svn://tug.org/texlive/trunk@43711 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/reledmac')
-rw-r--r--Master/texmf-dist/source/latex/reledmac/reledpar.dtx14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
index 99324cff59f..ffce70be33b 100644
--- a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
+++ b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
@@ -300,7 +300,7 @@
% \changes{v2.16.2}{2017/01/25}{Change log message when numbered files still don't exist, in order to improve compatibility with \protect\emph{latexmk}.}
% \changes{v2.16.3}{2017/02/10}{Fix bug when setting \protect\cs{aftercolumnseparator}.}
% \changes{v2.17.0}{2017/02/22}{Change code for compatibility with \protect\reledmac 2.18.0}
-% \changes{v2.17.1}{2017/03/26}{Fix bug with \protect\option{prevpgstyle} options when not using \protect\option{prevpgnotnumbered}.}
+% \changes{v2.17.1}{2017/03/26}{Fix bug with \protect\option{prevpgstyle} option when not using \protect\option{prevpgnotnumbered}.}
% ^^A PW added following as the definitions are at some unknown elsewhere
%
% \newcommand{\egstart}{%
@@ -1256,7 +1256,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2017/03/26 v2.17.1 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2017/04/06 v2.17.2 reledmac extension for parallel texts]%
% \end{macrocode}
% \subsection{Package's requirement}
@@ -1393,11 +1393,14 @@
% \begin{macro}{\Lcolwidth}
% \begin{macro}{\Rcolwidth}
% The widths of the left and right parallel columns (or pages).
+% The suffixed version are not manipulated directly by user, but we use them to be certain to have the same coldwitdh in \env{pages} environment and in \cs{Pages} command.
% \begin{macrocode}
\newdimen\Lcolwidth
\Lcolwidth=0.45\textwidth
\newdimen\Rcolwidth
\Rcolwidth=0.45\textwidth
+\newdimen\Lcolwidth@pages
+\newdimen\Rcolwidth@pages
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -3175,6 +3178,8 @@
}{%
\l@dpairingfalse
\l@dpagingfalse
+ \global\setlength{\Lcolwidth@pages}{\Lcolwidth}%
+ \global\setlength{\Rcolwidth@pages}{\Rcolwidth}%
}
% \end{macrocode}
@@ -5892,9 +5897,10 @@
% As \protect\cs{Pages} must be called outside of the pages environment, we have to redefine the \protect\cs{Lcolwidth} and \protect\cs{Rcolwidth} lengths, to prevent false overfull hboxes.
% \changes{v1.13.0}{2015/03/06}{Prevent false overfull hboxes when using \protect\cs{Pages} outside of pages environment.}
% \changes{v2.3.0}{2015/09/05}{Fix bug when calling \protect\cs{Columns} after a \protect\cs{Pages} (bug added in v1.13.0).}
+% \changes{v2.17.2}{2017/04/06}{Fix bug when changing \protect\cs{Lcolwitdth} and \protect\cs{Rcolwitdth} in \protect\env{pages} environment.}
% \begin{macrocode}
- \setlength{\Lcolwidth}{\textwidth}%
- \setlength{\Rcolwidth}{\textwidth}%
+ \setlength{\Lcolwidth}{\Lcolwidth@pages}%
+ \setlength{\Rcolwidth}{\Rcolwidth@pages}%
% \end{macrocode}
% \begin{macrocode}
\l@dzeropenalties%