diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ledmac/ledmac.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ledmac/ledmac.sty | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/ledmac/ledmac.sty b/Master/texmf-dist/tex/latex/ledmac/ledmac.sty index 605bca64d9b..be073f70fc9 100644 --- a/Master/texmf-dist/tex/latex/ledmac/ledmac.sty +++ b/Master/texmf-dist/tex/latex/ledmac/ledmac.sty @@ -656,7 +656,7 @@ \long\def\critext#1#2/{\leavevmode \begingroup \no@expands - \xdef\@tag{#1}% + \xdef\@tag{\protect#1}% \set@line \global\insert@count=0 \ignorespaces #2\relax @@ -672,7 +672,7 @@ \newcommand{\edtext}[2]{\leavevmode \begingroup \no@expands - \xdef\@tag{#1}% + \xdef\@tag{\protect#1}% \set@line \global\insert@count=0 \ignorespaces #2\relax @@ -698,7 +698,7 @@ \newcommand*{\edfont@info}{\f@encoding/\f@family/\f@series/\f@shape} -\newcommand*{\lemma}[1]{\xdef\@tag{#1}\ignorespaces} +\newcommand*{\lemma}[1]{\xdef\@tag{\protect#1}\ignorespaces} \newcommand*{\linenum}[1]{% \xdef\@tempa{#1|||||||\noexpand\\\l@d@nums}% \global\let\l@d@nums=\empty @@ -1737,8 +1737,8 @@ \newwrite\l@d@end \newif\ifl@dend@ -\newcommand{\l@dend@open}[1]{\l@dend@true\immediate\openout\l@d@end=#1\relax} -\newcommand{\l@dend@close}{\l@dend@false\immediate\closeout\l@d@end} +\newcommand{\l@dend@open}[1]{\global\l@dend@true\immediate\openout\l@d@end=#1\relax} +\newcommand{\l@dend@close}{\global\l@dend@false\immediate\closeout\l@d@end} \newcommand{\l@dend@stuff}{% \ifl@dend@\relax\else |