diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/reledmac')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty index dae1ca5172a..52280b167d5 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/08/31 v2.24.1 typesetting critical editions]% +\ProvidesPackage{reledmac}[2017/10/21 v2.24.2 typesetting critical editions]% \RequirePackage{xkeyval} \newif\ifparledgroup \DeclareOptionX{series}[A,B,C,D,E]{\xdef\default@series{#1}} @@ -4980,7 +4980,7 @@ \newcommand{\content}{##2}% \stepcounter{labidx}% \expandafter\immediate\expandafter\write\csname l@d@#1end\endcsname{% - \unexpanded{\def\sw@list@inedtext}{\expandafter\unexpanded\expandafter{\sw@inthisedtext}}\@percentchar\space%Explicit space, to add a linebreak in the output file + \unexpanded{\def\sw@list@inedtext}{\expandafter\unexpanded\expandafter{\sw@inthisedtext}}\@percentchar\space%Explicit space, to add a linebreak in the output file \expandafter\string\csname #1end\endcsname% {\ifnumberedpar@\l@d@nums\fi}% {\ifnumberedpar@\expandonce\@tag\fi}% @@ -7466,13 +7466,32 @@ \let\ledleftnote\@@ledleftnote% \let\ledsidenote\@@ledsidenote% }% +\newcommand{\disable@endnotes}{% + \unless\ifnoend@% + \def\do##1{% + \csletcs{##1@@endnote}{##1endnote}% + \expandafter\renewcommand \csname ##1endnote\endcsname[1]{}% + }% + \dolistloop{\@series}% + \fi% +}% +\newcommand{\restore@endnotes}{% + \unless\ifnofamiliar@% + \def\do##1{% + \csletcs{##1endnote}{##1@@endnote}% + }% + \dolistloop{\@series}% + \fi% +}% \newcommand{\disable@notes}{% \disable@sidenotes% \disable@familiarnotes% + \disable@endnotes% }% \newcommand{\restore@notes}{% \restore@sidenotes% \restore@familiarnotes% + \restore@endnotes% }% \let\EDTEXT=\edtext \newcommand{\xedtext}[2]{\EDTEXT{#1}{#2}} |