From 76446c30ed8275df044eb9c48a54b3b8d2597701 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 3 Mar 2021 20:09:52 +0100 Subject: wrong expansion scheme for \ekd@lemmastyle --- ekdosis.dtx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index 4c0cdd8..8eaa4b2 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -6141,7 +6141,7 @@ Sample text with a \textcolor{red}{word} in red. initial appfontsize = \footnotesize, initial refnumstyle = \bfseries, initial postrefnum = ~, - initial lemmastyle = + initial lemmastyle = {} } \NewDocumentCommand{\SetHooks}{m}{\ekvset{ekd@hooks}{#1}} % \end{macrocode} @@ -7109,14 +7109,14 @@ Sample text with a \textcolor{red}{word} in red. \ifdefined\ekdlr@alt% \ifdefined\ekdlr@post% \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi - {\textdir TRT\expandafter\noexpand\ekd@lemmastyle + {\textdir TRT\unexpanded\expandafter{\ekd@lemmastyle}% \unexpanded\expandafter{\ekdlr@alt}}% \ifdefined\ekdlr@pre% \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi \else \ifdefined\ekdlr@post% \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi - {\textdir TRT\expandafter\noexpand\ekd@lemmastyle + {\textdir TRT\unexpanded\expandafter{\ekd@lemmastyle}% \unexpanded{#2}}% \ifdefined\ekdlr@pre% \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi @@ -7146,9 +7146,9 @@ Sample text with a \textcolor{red}{word} in red. \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi \ltx@ifpackageloaded{babel}% {{\noexpand\selectlanguage{\languagename}% - \expandafter\noexpand\ekd@lemmastyle + \unexpanded\expandafter{\ekd@lemmastyle}% \unexpanded\expandafter{\ekdlr@alt}}}% - {\expandafter\noexpand\ekd@lemmastyle + {\unexpanded\expandafter{\ekd@lemmastyle}% \unexpanded\expandafter{\ekdlr@alt}}% \ifdefined\ekdlr@post% \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi @@ -7157,9 +7157,9 @@ Sample text with a \textcolor{red}{word} in red. \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi \ltx@ifpackageloaded{babel}% {{\noexpand\selectlanguage{\languagename}% - \expandafter\noexpand\ekd@lemmastyle + \unexpanded\expandafter{\ekd@lemmastyle}% \unexpanded{#2}}}{% - {\expandafter\noexpand\ekd@lemmastyle\unexpanded{#2}}}% + {\unexpanded\expandafter{\ekd@lemmastyle}\unexpanded{#2}}}% \ifdefined\ekdlr@post% \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi \fi @@ -7325,7 +7325,7 @@ Sample text with a \textcolor{red}{word} in red. \fi% \current@ref@arg{\ekdn@labelb}{\ekdn@labele}%\hskip .25em \ifdefined\ekdn@lem% - {\textdir TRT\expandafter\noexpand\ekd@lemmastyle + {\textdir TRT\unexpanded\expandafter{\ekd@lemmastyle}% \unexpanded\expandafter{\ekdn@lem}}% \unless\ifekdn@nosep \unexpanded\expandafter{\ekdn@sep}\fi @@ -7343,9 +7343,9 @@ Sample text with a \textcolor{red}{word} in red. \ifdefined\ekdn@lem \ltx@ifpackageloaded{babel}% {{\noexpand\selectlanguage{\languagename}% - \expandafter\noexpand\ekd@lemmastyle + \unexpanded\expandafter{\ekd@lemmastyle}% \unexpanded\expandafter{\ekdn@lem}}}% - {\expandafter\noexpand\ekd@lemmastyle + {\unexpanded\expandafter{\ekd@lemmastyle}% \unexpanded\expandafter{\ekdn@lem}}% \unless\ifekdn@nosep \unexpanded\expandafter{\ekdn@sep}\fi -- cgit v1.2.3