summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-07 21:07:15 +0000
committerKarl Berry <karl@freefriends.org>2017-07-07 21:07:15 +0000
commit53377e1f01537a2ee3e43cd67f0c41c9cb34cd20 (patch)
treef2f07cd0864a16dabd4c57e68dd55da2bfa4960a /Master/texmf-dist/source/latex/reledmac/reledpar.dtx
parent0b3bc08010f3aba0300a4cf48d6decd6fe1f5160 (diff)
reledmac (7jul17)
git-svn-id: svn://tug.org/texlive/trunk@44765 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/reledmac/reledpar.dtx')
-rw-r--r--Master/texmf-dist/source/latex/reledmac/reledpar.dtx16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
index 34506e7bd90..a930b94ef78 100644
--- a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
+++ b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
@@ -306,6 +306,7 @@
% \changes{v2.18.0}{2017/05/04}{Compatibility with v2.20.0 of \protect\reledmac.}
% \changes{v2.19.0}{2017/06/08}{Compatibility with v2.22.0 of \protect\reledmac.}
% \changes{v2.19.1}{2017/06/15}{Fix bug with \protect\cs{edtext} in sectioning command with shiftedpstarts mode.}
+% \changes{v2.19.2}{2017/07/07}{\protect\option{continuousnumberingwithcolumns} works also for pstart number.}
% ^^A PW added following as the definitions are at some unknown elsewhere
%
% \newcommand{\egstart}{%
@@ -1283,7 +1284,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2017/06/15 v2.19.1 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2017/07/07 v2.19.2 reledmac extension for parallel texts]%
% \end{macrocode}
% \subsection{Package's requirement}
@@ -1726,11 +1727,15 @@
\global\stopmsdata@inserted@true%
\global\let\@msdata@list\relax%
\global\csundef{@msdata@\add@msd@cR @dataR}%
+ \ifcontinuousnumberingwithcolumns%
+ \addtocounter{pstartR}{1}%
+ \else%
+ \setcounter{pstartR}{1}%
+ \fi%
\set@continuousnumberingforR%
\message{Section \the\section@numR R }%
\line@list@stuffR{\jobname.\extensionchars\the\section@numR R}%
\l@dend@stuff
- \setcounter{pstartR}{1}
\begingroup
\initnumbering@sectcountR
\gdef\eled@sectionsR@@{}%
@@ -1949,7 +1954,7 @@
% \end{macro}
%
% \begin{macro}{\set@continuousnumberingforR}
-% \cs{set@continuousnumberingforR} set the right line numbers at a \cs{beginnumberingR} or a \cs{resumenumberingR} in order to have continuous numbering with single column text.
+% \cs{set@continuousnumberingforR} set the right line numbers and pstart counter at a \cs{beginnumberingR} or a \cs{resumenumberingR} in order to have continuous numbering with single column text.
% \begin{macrocode}
\newcommand{\set@continuousnumberingforR}{%
\ifcontinuousnumberingwithcolumns%
@@ -2723,7 +2728,7 @@
%
% \begin{macro}{\@pstart}
% \begin{macro}{\@pstartR}
-% \cs{@pstart} and cs{@pstartR} allows us to know, when using \cs{nomaxlines} option in which page we should start a pstart, and also how many empty lines we should let before starting this pstart at the begining of the page
+% \cs{@pstart} and cs{@pstartR} allows us to know, when using \cs{nomaxlines} option, in which page we should start a pstart, and also how many empty lines we should let before starting this pstart at the begining of the page
% \begin{macrocode}
\newcommand{\@pstart}[3]{%
\ifcsdef{minpage@pstart@#1}%
@@ -3595,6 +3600,9 @@
\ifnumberpstart%
\addtocounter{pstartL}{1}%
\fi
+ \ifcontinuousnumberingwithcolumns%
+ \addtocounter{pstart}{1}%
+ \fi%
\parledgroup@beforenotes@save{L}%
% \end{macrocode}
% Dump content of the optional argument.