From 1aecb2ccb4d25471b8c2a9b0352ac1ca751add5f Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 21 Feb 2021 09:37:37 +0100 Subject: protected all internal macros in \ekdpb --- ekdosis.dtx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index 6e975d8..5b26ce2 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -6475,17 +6475,17 @@ Sample text with a \textcolor{red}{word} in red. \def\@tmpmarg{#2}% \luadirect{ekdosis.dolnlab(\luastringN{#2})}% \linelabel{\luadirect{tex.sprint(ekdosis.getlnlab())}}% - \def\tmpln{% + \def\tmp@ln{% \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}}}% - \def\tmppg{% + \def\tmp@pg{% \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}}}% \IfNoValueTF{#1} - {\ifnum\@tmpmarg=\tmpln + {\ifnum\@tmpmarg=\tmp@ln \pagebreak \fi} {\ifnum - \pdf@strcmp{\@tmpoarg}{\tmppg} = 0 - \ifnum\@tmpmarg=\tmpln + \pdf@strcmp{\@tmpoarg}{\tmp@pg} = 0 + \ifnum\@tmpmarg=\tmp@ln \pagebreak \fi \fi -- cgit v1.2.3