diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-30 00:29:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-30 00:29:33 +0000 |
commit | 750b8a27ec779760cf55f2913236b41ea01987e2 (patch) | |
tree | f775a24c111bd215c595acd5d740575d7e7c8126 /Master/texmf-dist/tex/latex/reledmac/reledpar.sty | |
parent | 23d86fdfc88da36147892fd0f28e12e9163d239d (diff) |
reledmac (28jan18)
git-svn-id: svn://tug.org/texlive/trunk@46483 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.sty | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty index efdf5ef5bdc..c9e83f816ff 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/18 v2.21.3 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2018/01/28 v2.21.4 reledmac extension for parallel texts]% \RequirePackage{xspace}% \RequirePackage{xkeyval} @@ -978,6 +978,7 @@ \fi% \begingroup\everypar{}% \global\advance\l@dnumpstartsL \@ne% + \global\advance\pstarts@read@L \@ne% \ifnum\l@dnumpstartsL>\l@dc@maxchunks% \led@err@TooManyPstarts% \global\l@dnumpstartsL=\l@dc@maxchunks% @@ -1242,7 +1243,7 @@ \else% \affixline@num% \fi% - \xifinlist{\the\l@dpscL}{\eled@sections@@}% + \xifinlist{\the\pstarts@typeset@L}{\eled@sections@@}% {\unless\ifshiftedpstarts% \add@apparatusL% \fi% @@ -1295,7 +1296,7 @@ \addtocounter{pstartL}{-1}% \ifdefstring{\@eledsectnotoc}{L}{\ledsectnotoc}{} \ifdefstring{\@eledsectmark}{L}{}{\ledsectnomark} - \numdef{\temp@}{\l@dpscL-1}% + \numdef{\temp@}{\pstarts@typeset@L-1}% \xifinlist{\temp@}{\eled@sections@@}{\@nobreaktrue}{\@nobreakfalse}% \@eled@sectioningtrue% \bgroup% @@ -1305,10 +1306,10 @@ \bodydir\l@luatexbodydir@L% \ifdefstring{\l@luatextextdir@L}{TRT}{\@RTLtrue}{}% \fi% - \csuse{eled@sectioning@\the\l@dpscL}% + \csuse{eled@sectioning@\the\pstarts@typeset@L}% \egroup% \@eled@sectioningfalse% - \global\csundef{eled@sectioning@\the\l@dpscL}% + \global\csundef{eled@sectioning@\the\pstarts@typeset@L}% \if@RTL% \hspace{-3\paperwidth}% {\hbox{\l@dunhbox@line{\one@line}} \new@line}% @@ -2330,6 +2331,7 @@ \global\pstartnumRtrue \global\advance\l@dpscL \@ne \global\advance\l@dpscR \@ne + \global\advance\pstarts@typeset@L\@ne% \restore@pstartL@pc% \restore@pstartR@pc% \Columns@print@before@pstart% @@ -2337,12 +2339,12 @@ { \loop\ifaraw@text \l@duselanguage{\theledlanguageL}% \do@lineL - \xifinlist{\the\l@dpscL}{\eled@sections@@} + \xifinlist{\the\pstarts@typeset@L}{\eled@sections@@}% {% \ifdefstring{\@eledsectmark}{L}% - {\csuse{eled@sectmark@\the\l@dpscL}% + {\csuse{eled@sectmark@\the\pstarts@typeset@L}% }{}% - \global\csundef{eled@sectmark@\the\l@dpscL}% + \global\csundef{eled@sectmark@\the\pstarts@typeset@L}% \savebox{\@eledsectionL}{\parbox[t][][t]{\Lcolwidth}{\vbox{}\print@eledsectionL}}%\vbox{}-> prevent alignment troubles with RTL language }% {}% @@ -2735,6 +2737,7 @@ \if@pstarts% \global\advance\l@dpscL \@ne% \global\advance\l@dpscR \@ne% + \global\advance\pstarts@typeset@L\@ne% \restore@pstartL@pc% \restore@pstartR@pc% \global\@donereallinesL=\z@% @@ -2750,7 +2753,7 @@ \csuse{before@pstartL@\the\l@dpscL}% \global\csundef{before@pstartL@\the\l@dpscL}% \do@lineL% - \xifinlist{\the\l@dpscL}{\eled@sections@@} + \xifinlist{\the\pstarts@typeset@L}{\eled@sections@@}% {\print@eledsectionL}% {}% \advance\numpagelinesL \@ne% @@ -2759,7 +2762,7 @@ \parledgroup@correction@notespacing{L}% \hb@xt@ \hsize{\ledstrutL\unhbox\l@dleftbox}% \else% - \xifinlist{\the\l@dpscL}{\eled@sections@@}% + \xifinlist{\the\pstarts@typeset@L}{\eled@sections@@}% {\add@apparatusL}% {}% \unless\ifadvancedshiftedpstarts% @@ -3180,6 +3183,7 @@ {\usenamecount{l@dmaxlinesinpar\the\l@dpscL}}% \global\@donetotallinesL \z@ \global\advance\l@dpscL \@ne + \global\advance\pstarts@typeset@L\@ne% \global\pstartnumtrue% \restore@pstartL@pc% \parledgroup@notes@endL |