diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-03 21:06:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-03 21:06:33 +0000 |
commit | 57fa39e8e43c41db225cdcca3e3a5e809e75219a (patch) | |
tree | 8a138948390bdb266aa7eceb0b6effb7a82b3ebc /Master/texmf-dist/tex/latex/reledmac | |
parent | ff892823a632e971c51642936dc8abe9250556e1 (diff) |
reledmac (3may18)
git-svn-id: svn://tug.org/texlive/trunk@47602 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 56 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledpar.sty | 14 |
2 files changed, 40 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty index fa11aae4eab..53666177709 100644 --- a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty +++ b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty @@ -35,7 +35,7 @@ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledmac}[2018/04/07 v2.26.7 typesetting critical editions]% +\ProvidesPackage{reledmac}[2018/05/02 v2.26.9 typesetting critical editions]% \RequirePackage{xkeyval} \newif\ifparledgroup \newif\ifsameparallelpagenumber% @@ -1327,35 +1327,37 @@ }% \newcommand*{\new@line}{% - \IfStrEq{\led@pb@setting}{after}% - {\xifinlist{\the\absline@num}{\l@prev@nopb}% - {\xifinlist{\the\absline@num}{\normal@page@break}% - {\numgdef{\@next@page}{\c@par@page+\@ne}% - \write\linenum@out{\string\@nl[\@next@page][\@next@page]}% - }% - {\write\linenum@out{\string\@nl[\the\@c@par@page][\thepage]}}% - }% - {\write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}}}% - {}% - \IfStrEq{\led@pb@setting}{before}% - {\numdef{\next@absline}{\the\absline@num+\@ne}% - \xifinlist{\next@absline}{\l@prev@nopb}% - {\xifinlist{\the\absline@num}{\normal@page@break}% - {\numgdef{\nc@page}{\c@par@page+\@ne}% - \write\linenum@out{\string\@nl[\nc@page][\nc@page]}% + \ifnumberline% + \IfStrEq{\led@pb@setting}{after}% + {\xifinlist{\the\absline@num}{\l@prev@nopb}% + {\xifinlist{\the\absline@num}{\normal@page@break}% + {\numgdef{\@next@page}{\c@par@page+\@ne}% + \write\linenum@out{\string\@nl[\@next@page][\@next@page]}% }% - {\write\linenum@out{\string\@nl[\the\@c@par@page][\thepage]}}% + {\write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}}% }% - {\write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}}% - }% + {\write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}}}% {}% - \IfStrEqCase{\led@pb@setting}% - {% - {before}{\relax}% - {after}{\relax}% - }[% - \write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}% - ]% + \IfStrEq{\led@pb@setting}{before}% + {\numdef{\next@absline}{\the\absline@num+\@ne}% + \xifinlist{\next@absline}{\l@prev@nopb}% + {\xifinlist{\the\absline@num}{\normal@page@break}% + {\numgdef{\nc@page}{\c@par@page+\@ne}% + \write\linenum@out{\string\@nl[\nc@page][\nc@page]}% + }% + {\write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}}% + }% + {\write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}}% + }% + {}% + \IfStrEqCase{\led@pb@setting}% + {% + {before}{\relax}% + {after}{\relax}% + }[% + \write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}% + ]% + \fi% } \newcommand{\l@the@c@page}{% diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty index fbab2637338..df1169b6a39 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/04/07 v2.21.7 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2018/05/02 v2.21.8 reledmac extension for parallel texts]% \RequirePackage{xspace}% \RequirePackage{xkeyval} @@ -768,10 +768,14 @@ }% \newcommand*{\new@lineL}{% - \write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}% + \ifnumberline% + \write\linenum@out{\string\@nl[\the\c@par@page][\thepage]}% + \fi% }% \newcommand*{\new@lineR}{% - \write\linenum@outR{\string\@nl[\the\c@par@page][\thepar@page]}% + \ifnumberline% + \write\linenum@outR{\string\@nl[\the\c@par@page][\thepar@page]}% + \fi% }% \newcommand{\newseries@par}[1]{% @@ -842,11 +846,13 @@ \def\dump@pstartL@pc{% \xright@appenditem{\the\c@pstartL}\to\list@pstartL@pc% \global\cslet{numberpstart@L\the\l@dnumpstartsL}{\ifnumberpstart}% + \global\cslet{numberline@L\the\l@dnumpstartsL}{\ifnumberline}% }% \def\dump@pstartR@pc{% \xright@appenditem{\the\c@pstartR}\to\list@pstartR@pc% \global\cslet{numberpstart@R\the\l@dnumpstartsR}{\ifnumberpstart}% + \global\cslet{numberline@R\the\l@dnumpstartsR}{\ifnumberline}% }% \def\restore@pstartL@pc{% @@ -1224,6 +1230,7 @@ \newcommand*{\do@lineL}{% \letcs{\ifnumberpstart}{numberpstart@L\the\l@dpscL}% + \letcs{\ifnumberline}{numberline@L\the\l@dpscL}% \advance\countLline \@ne% \ifvbox\namebox{l@dLcolrawbox\the\l@dpscL}% {\vbadness=10000% @@ -1359,6 +1366,7 @@ \let\linenumrep\linenumrepR% \let\sublinenumrep\sublinenumrepR% \letcs{\ifnumberpstart}{numberpstart@R\the\l@dpscR}% + \letcs{\ifnumberline}{numberline@R\the\l@dpscR}% \ledRcol@true% \advance\countRline \@ne% \ifvbox\namebox{l@dRcolrawbox\the\l@dpscR}% |