From 5aaaeb18b7f914e482928eb230b580d0eb63f68c Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 10 Nov 2021 18:49:48 +0100 Subject: moved \ekdpage definition below \app --- ekdosis.dtx | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index 39a6293..7974b22 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -8721,6 +8721,19 @@ Sample text with a \textcolor{red}{word} in red. \endgroup} % \end{macrocode} % \end{macro} +% \begin{macro}{\ekdpage} +% \changes{v1.4}{2021/11/10}{prints page marks used internally by +% \textsf{ekdosis} to generate the apparatus blocks on pages} +% Instead of absolute page numbers, \pkg{ekdosis} now marks the +% entries of the apparatus with its own page numbering +% scheme. \cs{ekdpage} can be used at any point of the document to +% retrieve and print the current number. +% \begin{macrocode} +\NewDocumentCommand{\ekdpage}{}{% + \luadirect{tex.sprint(ekdosis.getekdabspg())}% +} +% \end{macrocode} +% \end{macro} % \cs{current@ref@arg} is used outside \cs{app} by \cs{note}. It takes % two mandatory arguments: the beginning line label and the ending % line label\---which are manually inserted---and returns the formatted @@ -9401,15 +9414,6 @@ Sample text with a \textcolor{red}{word} in red. } % \end{macrocode} % \end{macro} -% \begin{macro}{\ekdpage} -% \changes{v1.4}{2021/11/10}{prints page marks used internally by -% \textsf{ekdosis} to generate apparatus on pages} -% \begin{macrocode} -\NewDocumentCommand{\ekdpage}{}{% - \luadirect{tex.sprint(ekdosis.getekdabspg())}% -} -% \end{macrocode} -% \end{macro} % \paragraph{Emendations and Conjectures} % Here follows the |key-value| options to be used by % \cs{SetCritSymbols} below:--- -- cgit v1.2.3