From f0b3725a6cd0e0cc60160c7f1320ec09b8fe00b4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 22 Oct 2017 19:52:32 +0000 Subject: reledmac (22oct17) git-svn-id: svn://tug.org/texlive/trunk@45580 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/reledmac') 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}} -- cgit v1.2.3