summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-28 23:46:15 +0000
committerKarl Berry <karl@freefriends.org>2018-02-28 23:46:15 +0000
commit9e7da4a10152b2d4e13563fd86ec830328532014 (patch)
tree812935f0baa5f92ac3a350e6ae34ec291c44e971 /Master/texmf-dist/tex/latex/reledmac/reledpar.sty
parentf454682b52ffa2e5948eb3f0c394b1f89a6555a3 (diff)
reledmac (28feb18)
git-svn-id: svn://tug.org/texlive/trunk@46767 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac/reledpar.sty')
-rw-r--r--Master/texmf-dist/tex/latex/reledmac/reledpar.sty14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
index c9e83f816ff..e4fabf2e8cf 100644
--- a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
+++ b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
@@ -28,7 +28,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2018/01/28 v2.21.4 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2018/02/28 v2.21.5 reledmac extension for parallel texts]%
\RequirePackage{xspace}%
\RequirePackage{xkeyval}
@@ -203,6 +203,7 @@
\global\sub@lockR \z@
\global\sublines@Rfalse
\global\let\next@page@numR\relax
+ \global\let\this@section@next@page@numR\relax%
\global\let\sub@change\relax
\global\last@page@numR=-10000%
\global\stopmsdata@inserted@true%
@@ -242,6 +243,9 @@
\ifnum\l@dnumpstartsR=0%
\led@err@NumberingWithoutPstart%
\fi%
+ \global\page@numR=\this@section@page@numR%
+ \global\last@page@numR=\this@section@last@page@numR%
+ \global\let\next@page@numR\this@section@next@page@numR%
\ifl@dpairing
\global\pst@rtedRfalse
\else
@@ -298,10 +302,10 @@
}%
\newcount\pausenumbering@page@numR%
\newcommand*{\pausenumberingR}{%
- \ifx\next@page@numR\relax%
+ \ifx\this@section@next@page@numR\relax%
\global\pausenumbering@page@numR=0%
\else%
- \global\pausenumbering@page@numR=\next@page@numR%
+ \global\pausenumbering@page@numR=\this@section@next@page@numR%
\fi%
\endnumberingR%
\global\numberingRtrue%
@@ -533,7 +537,7 @@
\list@create{\actions@listR}
\list@create{\annot@listR}%
\newcount\page@numR
-
+\newcount\this@section@page@numR%
\list@create{\linesinpar@listL}
\list@create{\linesinpar@listR}
\list@create{\maxlinesinpar@list}
@@ -605,6 +609,8 @@
\newcount\last@page@numR
\last@page@numR=-10000
+\newcount\this@section@last@page@numR%
+ \this@section@last@page@numR=-10000%