diff options
author | Robert Alessi <alessi@robertalessi.net> | 2021-02-21 09:37:37 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2021-02-21 09:37:37 +0100 |
commit | 1aecb2ccb4d25471b8c2a9b0352ac1ca751add5f (patch) | |
tree | cad074745feed4b225546751383a9959ef9f0af1 | |
parent | f43c87eb1bdb4aaf45154bde25cbb2a7e951ac19 (diff) | |
download | ekdosis-1aecb2ccb4d25471b8c2a9b0352ac1ca751add5f.tar.gz |
protected all internal macros in \ekdpb
-rw-r--r-- | ekdosis.dtx | 10 |
1 files 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. | |||
6475 | \def\@tmpmarg{#2}% | 6475 | \def\@tmpmarg{#2}% |
6476 | \luadirect{ekdosis.dolnlab(\luastringN{#2})}% | 6476 | \luadirect{ekdosis.dolnlab(\luastringN{#2})}% |
6477 | \linelabel{\luadirect{tex.sprint(ekdosis.getlnlab())}}% | 6477 | \linelabel{\luadirect{tex.sprint(ekdosis.getlnlab())}}% |
6478 | \def\tmpln{% | 6478 | \def\tmp@ln{% |
6479 | \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}}}% | 6479 | \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}}}% |
6480 | \def\tmppg{% | 6480 | \def\tmp@pg{% |
6481 | \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}}}% | 6481 | \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}}}% |
6482 | \IfNoValueTF{#1} | 6482 | \IfNoValueTF{#1} |
6483 | {\ifnum\@tmpmarg=\tmpln | 6483 | {\ifnum\@tmpmarg=\tmp@ln |
6484 | \pagebreak | 6484 | \pagebreak |
6485 | \fi} | 6485 | \fi} |
6486 | {\ifnum | 6486 | {\ifnum |
6487 | \pdf@strcmp{\@tmpoarg}{\tmppg} = 0 | 6487 | \pdf@strcmp{\@tmpoarg}{\tmp@pg} = 0 |
6488 | \ifnum\@tmpmarg=\tmpln | 6488 | \ifnum\@tmpmarg=\tmp@ln |
6489 | \pagebreak | 6489 | \pagebreak |
6490 | \fi | 6490 | \fi |
6491 | \fi | 6491 | \fi |