From c0d0bfdb0af577c342508a42cc488430eee6e46f Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 28 Jan 2021 10:06:46 +0100 Subject: better grouping in \lem, \rdg and \note for babel --- ekdosis.dtx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index af94745..5f5eab3 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -6472,8 +6472,8 @@ Sample text with a \textcolor{red}{word} in red. % global optional argument |layout| be set to |footins|. Therefore, it % is not documented. % \begin{macrocode} - % \def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext} -\def\blfootnote{\gdef\@thefnmark{}\@blfootnotetext} +\def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext} + % \def\blfootnote{\gdef\@thefnmark{}\@blfootnotetext} \long\def\@blfootnotetext#1{\insert\footins{% \reset@font\footnotesize \interlinepenalty\interfootnotelinepenalty @@ -7066,8 +7066,8 @@ Sample text with a \textcolor{red}{word} in red. \ifdefined\ekdlr@pre% \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi \ltx@ifpackageloaded{babel}% - {\noexpand\selectlanguage{\languagename}% - \unexpanded\expandafter{\ekdlr@alt}}% + {{\noexpand\selectlanguage{\languagename}% + \unexpanded\expandafter{\ekdlr@alt}}}% {\unexpanded\expandafter{\ekdlr@alt}}% \ifdefined\ekdlr@post% \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi @@ -7151,8 +7151,8 @@ Sample text with a \textcolor{red}{word} in red. \ifdefined\ekdlr@pre% \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi \ltx@ifpackageloaded{babel}% - {\noexpand\selectlanguage{\languagename}% - \unexpanded\expandafter{\ekdlr@alt}}% + {{\noexpand\selectlanguage{\languagename}% + \unexpanded\expandafter{\ekdlr@alt}}}% {\unexpanded\expandafter{\ekdlr@alt}}% \ifdefined\ekdlr@post% \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi @@ -7258,8 +7258,8 @@ Sample text with a \textcolor{red}{word} in red. \current@ref@arg{\ekdn@labelb}{\ekdn@labele}%\hskip .25em \ifdefined\ekdn@lem \ltx@ifpackageloaded{babel}% - {\noexpand\selectlanguage{\languagename}% - \unexpanded\expandafter{\ekdn@lem}}% + {{\noexpand\selectlanguage{\languagename}% + \unexpanded\expandafter{\ekdn@lem}}}% {\unexpanded\expandafter{\ekdn@lem}}% \unless\ifekdn@nosep \unexpanded\expandafter{\ekdn@sep}\fi -- cgit v1.2.3