diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-22 19:52:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-22 19:52:32 +0000 |
commit | f0b3725a6cd0e0cc60160c7f1320ec09b8fe00b4 (patch) | |
tree | 3b5ff0672532b14d77a8f28b4e6bc63bbb254d12 /Master/texmf-dist/tex | |
parent | 8d35bb877599c6b68fd5c2e554834291c07118d2 (diff) |
reledmac (22oct17)
git-svn-id: svn://tug.org/texlive/trunk@45580 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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}} |