diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac/reledmac.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty index 3f0354187fb..4bb154b1217 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}[2017/02/23 v2.18.0a typesetting critical editions]% +\ProvidesPackage{reledmac}[2017/03/20 v2.18.1 typesetting critical editions]% \RequirePackage{xkeyval} \newif\ifparledgroup \DeclareOptionX{series}[A,B,C,D,E]{\xdef\default@series{#1}} @@ -6756,6 +6756,8 @@ \catcode`\@=\body \setstanzavalues{szp}{0} +\def\msdata@c{}% +\def\msdata@cR{}% \newcommand{\msdata}[1]{% \leavevmode% \unless\ifstopmsdata@inserted@% @@ -6764,10 +6766,18 @@ \fi% \global\stopmsdata@inserted@false% \unless\ifledRcol% + \numgdef{\msdata@c}{\msdata@c+1}% + \ifdef{\hypertarget}{% + \edlabel{\msdata@c:start:msdata}% + }{}% \protected@write\linenum@out{}{% \string\@msd{#1}% }% \else% + \numgdef{\msdata@cR}{\msdata@cR+1}% + \ifdef{\hypertarget}{% + \edlabel{\msdata@cR:start:msdata}% + }{}% \protected@write\linenum@outR{}{% \string\@msd{#1}% }% @@ -6779,10 +6789,16 @@ \protected@write\linenum@out{}{% \string\@stopmsd% }% + \ifdef{\hypertarget}{% + \edlabel{\msdata@c:end:msdata}% + }{}% \else% \protected@write\linenum@outR{}{% \string\@stopmsd% }% + \ifdef{\hypertarget}{% + \edlabel{\msdata@cR:end:msdata}% + }{}% \fi% \global\stopmsdata@inserted@true% }% @@ -6872,6 +6888,12 @@ \fi% \listxadd{\@msdata@list}{% \@msd@options@iffullpage% + \ifluatex% + \csxdef{footnote@luatextextdir}{\the\textdir}% + \csxdef{footnote@luatexpardir}{\the\pardir}% + \fi% + \csdef{@this@crossref@start}{\add@msd@c:start:msdata}% + \csdef{@this@crossref@end}{\add@msd@c:end:msdata}% \noexpand\csuse{v\@msdata@series footnote}{\@msdata@series}{{\expandonce\l@d@nums}{\ms@data@label}{\expandonce\@data}}% \reset@msd@options@iffullpage% }% @@ -6911,6 +6933,12 @@ \fi% \listxadd{\@msdata@list}{% \@msd@options@iffullpage% + \ifluatex% + \csxdef{footnote@luatextextdir}{\the\textdir}% + \csxdef{footnote@luatexpardir}{\the\pardir}% + \fi% + \csdef{@this@crossref@start}{\add@msd@cR:start:msdata}% + \csdef{@this@crossref@end}{\add@msd@cR:end:msdata}% \noexpand\csuse{v\@msdata@series footnote}{\@msdata@series}{{\expandonce\l@d@nums}{\ms@data@label}{\expandonce\@data}}% \reset@msd@options@iffullpage% }% @@ -6955,6 +6983,12 @@ {}% \listxadd{\@msdata@list}{% \@msd@options@iffullpage% + \ifluatex% + \csxdef{footnote@luatextextdir}{\the\textdir}% + \csxdef{footnote@luatexpardir}{\the\pardir}% + \fi% + \csdef{@this@crossref@start}{\add@msd@c:start:msdata}% + \csdef{@this@crossref@end}{\add@msd@c:end:msdata}% \noexpand\csuse{v\@msdata@series footnote}{\@msdata@series}{{\expandonce\l@d@nums}{\ms@data@label}{\expandonce\@data}}% \reset@msd@options@iffullpage% }% @@ -6993,6 +7027,12 @@ {}% \listxadd{\@msdata@list}{% \@msd@options@iffullpage% + \ifluatex% + \csxdef{footnote@luatextextdir}{\the\textdir}% + \csxdef{footnote@luatexpardir}{\the\pardir}% + \fi% + \csdef{@this@crossref@start}{\add@msd@cR:start:msdata}% + \csdef{@this@crossref@end}{\add@msd@cR:end:msdata}% \noexpand\csuse{v\@msdata@series footnote}{\@msdata@series}{{\expandonce\l@d@nums}{\ms@data@label}{\expandonce\@data}}% \reset@msd@options@iffullpage% }% |