diff options
author | Karl Berry <karl@freefriends.org> | 2018-09-14 20:56:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-09-14 20:56:03 +0000 |
commit | ccd1b1b3d130d56c728e4f9e8a411a7d5c6c202c (patch) | |
tree | ccda02f266f3c222900f120ea30ff3763ca07a54 /Master/texmf-dist/tex/latex/reledmac | |
parent | adcb6d9ce890e651a9643950e377f045d7803e26 (diff) |
reledmac (14sep18)
git-svn-id: svn://tug.org/texlive/trunk@48666 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 | 19 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledpar.sty | 5 |
2 files changed, 22 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty index 1896e88fd4a..6c8ca37d838 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/07/19 v2.26.12 typesetting critical editions]% +\ProvidesPackage{reledmac}[2018/09/13 v2.27.0 typesetting critical editions]% \RequirePackage{xkeyval} \newif\ifparledgroup \newif\ifsameparallelpagenumber% @@ -2074,6 +2074,8 @@ \affixpstart@num% \hb@xt@ \linewidth{% \do@insidelinehook% + \csuse{insidethis@\the\absline@num @\the\section@num}% + \global\csundef{insidethis@\the\absline@num @\the\section@num}% \l@dld@ta% \if@firstlineofpage% \set@Xtxtbeforenotes% @@ -2141,6 +2143,21 @@ \newcommand*{\dolinehook}[1]{\gdef\do@linehook{#1}}% \newcommand*{\doinsidelinehook}[1]{\gdef\do@insidelinehook{#1}}% +\newcommand{\doinsidethislinehook}[1]{% + \leavevmode%In case it begins with a \pstart, ensure the \@insidethisline is written after \@nl + \ifledRcol% + \write\linenum@outR{\string\@insidethisline[\unexpanded{#1}]}% + \else% + \write\linenum@out{\string\@insidethisline[\unexpanded{#1}]}% + \fi% +}% +\newcommand{\@insidethisline}[1]{% + \ifledRcol% + \csgappto{insidethisR@\the\absline@numR @\the\section@numR}{#1}% + \else% + \csgappto{insidethis@\the\absline@num @\the\section@num}{#1}% + \fi% +}% \newcommand*{\l@demptyd@ta}{% \gdef\l@dld@ta{}% \gdef\l@drd@ta{}% diff --git a/Master/texmf-dist/tex/latex/reledmac/reledpar.sty b/Master/texmf-dist/tex/latex/reledmac/reledpar.sty index e08cc045e2c..3e1dca729c2 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/07/19 v2.21.9 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2018/09/13 v2.22.0 reledmac extension for parallel texts]% \RequirePackage{xspace}% \RequirePackage{xkeyval} @@ -1296,6 +1296,8 @@ \add@apparatusL% \l@dlsn@te% \do@insidelineLhook% + \csuse{insidethis@\the\absline@num @\the\section@num}% + \global\csundef{insidethis@\the\absline@num @\the\section@num}% \hb@xt@ \Lcolwidth{\ledllfill\hb@xt@ \wd\one@line{% \ifluatex% \textdir\l@luatextextdir@L% @@ -1436,6 +1438,7 @@ \add@apparatusR% \l@dlsn@te% \do@insidelineRhook% + \global\csundef{insidethisR@\the\absline@numR @\the\section@numR}% \hb@xt@ \Rcolwidth{\ledllfill\hb@xt@ \wd\one@lineR{% \new@lineR% \inserthangingsymbolR% |