summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-28 21:17:28 +0000
committerKarl Berry <karl@freefriends.org>2017-04-28 21:17:28 +0000
commit607271b02699d8c352fa9d38361bc4bf55693d54 (patch)
treefd7d58015b320ef0ad943535abc3378d99286757 /Master/texmf-dist/tex/latex/reledmac/reledpar.sty
parent63c103148bb73e4dbd2653907094f3943b90c82f (diff)
reledmac (28apr17)
git-svn-id: svn://tug.org/texlive/trunk@44099 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.sty39
1 files changed, 20 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
index d9fcec32595..e1f0f7648f4 100644
--- a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
+++ b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty
@@ -29,7 +29,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2017/04/20 v2.17.3 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2017/04/28 v2.17.4 reledmac extension for parallel texts]%
\RequirePackage{xspace}%
\RequirePackage{xkeyval}
@@ -197,7 +197,7 @@
\global\line@numR \z@
\global\@lockR \z@
\global\sub@lockR \z@
- \global\sublines@false
+ \global\sublines@Rfalse
\global\let\next@page@numR\relax
\global\let\sub@change\relax
\global\stopmsdata@inserted@true%
@@ -432,8 +432,8 @@
\setcounter{linenumincrement}{#1}%
}
\WithSuffix\newcommand\firstsublinenum*[1]{%
- \setcounter{subfirstlinenumR}{#1}%
- \setcounter{subfirstlinenum}{#1}%
+ \setcounter{firstsublinenumR}{#1}%
+ \setcounter{firstsublinenum}{#1}%
}
\WithSuffix\newcommand\sublinenumincrement*[1]{%
\setcounter{sublinenumincrementR}{#1}%
@@ -481,8 +481,8 @@
\l@dlinenumR}
\newcommand*{\l@dlinenumR}{%
\numlabfont\linenumrepR{\line@numR}\@Rlineflag%
- \ifsublines@
- \ifnum\subline@num>\z@
+ \ifsublines@R
+ \ifnum\subline@numR>\z@
\unskip\fullstop\sublinenumrepR{\subline@numR}%
\fi
\fi}
@@ -490,6 +490,7 @@
\newcount\line@numR
\newcount\subline@numR
\newcount\absline@numR
+\newif\ifsublines@R%
\list@create{\line@listR}
\list@create{\insertlines@listR}
@@ -536,9 +537,9 @@
\fi
\ifx\sub@change\relax \else
\ifnum\sub@change>\z@
- \sublines@true
+ \sublines@Rtrue
\else
- \sublines@false
+ \sublines@Rfalse
\fi
\sub@action
\let\sub@change\relax
@@ -555,7 +556,7 @@
\or\or
\sub@lockR \z@
\fi
- \ifsublines@
+ \ifsublines@R
\ifnum\sub@lockR<\tw@
\advance\subline@numR \@ne
\fi
@@ -576,7 +577,7 @@
\newcommand*{\do@lockonR}{%
\xright@appenditem{\the\absline@numR}\to\actionlines@listR
- \ifsublines@
+ \ifsublines@R
\xright@appenditem{-1005}\to\actions@listR
\ifnum\sub@lockR=\z@
\sub@lockR \@ne
@@ -599,7 +600,7 @@
\newcommand{\do@lockoffR}{%
\xright@appenditem{\the\absline@numR}\to\actionlines@listR
- \ifsublines@
+ \ifsublines@R
\xright@appenditem{-1006}\to\actions@listR
\ifnum\sub@lockR=\tw@
\sub@lockR \thr@@
@@ -639,9 +640,9 @@
\endgroup
\xright@appenditem%
{\the\page@numR|\the\line@numR|%
- \ifsublines@ \the\subline@numR \else 0\fi|%
+ \ifsublines@R \the\subline@numR \else 0\fi|%
\the\endpage@num|\the\endline@num|%
- \ifsublines@ \the\endsubline@num \else 0\fi}\to\line@listR
+ \ifsublines@R \the\endsubline@num \else 0\fi}\to\line@listR
\expandafter\list@create\expandafter{\csname sw@list@edtext@tmp@\the\@edtext@level\endcsname}%
\@ref@reg@parseR{#2}%
\global\advance\@edtext@level by -1%
@@ -1334,7 +1335,7 @@
\do@ballastR
\ifledgroupnotesR@\else
\ifnumberline
- \ifsublines@
+ \ifsublines@R
\ifnum\sub@lockR<\tw@
\global\advance\subline@numR \@ne
\fi
@@ -1381,9 +1382,9 @@
\newcommand*{\do@actions@fixedcodeR}{%
\ifcase\@l@dtempcnta%
\or% % 1001 = starting sublineation
- \global\sublines@true
+ \global\sublines@Rtrue
\or% % 1002 = ending sublineation
- \global\sublines@false
+ \global\sublines@Rfalse
\or% % 1003 = starting locking number
\global\@lockR=\@ne
\or% % 1004 = ending locking number
@@ -1428,7 +1429,7 @@
\ifnum\next@actionR<-4999\relax % 9/05 added relax here
\@l@dtempcnta=-\next@actionR
\advance\@l@dtempcnta by -5001\relax
- \ifsublines@
+ \ifsublines@R
\global\subline@numR=\@l@dtempcnta
\else
\global\line@numR=\@l@dtempcnta
@@ -1515,10 +1516,10 @@
\ifl@dskipnumber
\global\l@dskipnumberfalse
\else
- \ifsublines@
+ \ifsublines@R
\@l@dtempcntb=\subline@numR
\l@dcalcnum{\subline@numR}{\c@firstsublinenumR}{\c@sublinenumincrementR}%
- \ch@cksub@lockR
+ \ch@cksub@l@ckR
\else
\@l@dtempcntb=\line@numR
\ifx\linenumberlistR\empty%