aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-11-10 18:49:48 +0100
committerRobert Alessi <alessi@robertalessi.net>2021-11-10 18:49:48 +0100
commit5aaaeb18b7f914e482928eb230b580d0eb63f68c (patch)
tree94d7eae8ee4da8a2364947b6ce8f8b74fca3959b
parent143025fee0cef7ce23553d112bced17c29cdca9d (diff)
downloadekdosis-5aaaeb18b7f914e482928eb230b580d0eb63f68c.tar.gz
moved \ekdpage definition below \app
-rw-r--r--ekdosis.dtx22
1 files 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.
8721 \endgroup} 8721 \endgroup}
8722% \end{macrocode} 8722% \end{macrocode}
8723% \end{macro} 8723% \end{macro}
8724% \begin{macro}{\ekdpage}
8725% \changes{v1.4}{2021/11/10}{prints page marks used internally by
8726% \textsf{ekdosis} to generate the apparatus blocks on pages}
8727% Instead of absolute page numbers, \pkg{ekdosis} now marks the
8728% entries of the apparatus with its own page numbering
8729% scheme. \cs{ekdpage} can be used at any point of the document to
8730% retrieve and print the current number.
8731% \begin{macrocode}
8732\NewDocumentCommand{\ekdpage}{}{%
8733 \luadirect{tex.sprint(ekdosis.getekdabspg())}%
8734}
8735% \end{macrocode}
8736% \end{macro}
8724% \cs{current@ref@arg} is used outside \cs{app} by \cs{note}. It takes 8737% \cs{current@ref@arg} is used outside \cs{app} by \cs{note}. It takes
8725% two mandatory arguments: the beginning line label and the ending 8738% two mandatory arguments: the beginning line label and the ending
8726% line label\---which are manually inserted---and returns the formatted 8739% line label\---which are manually inserted---and returns the formatted
@@ -9401,15 +9414,6 @@ Sample text with a \textcolor{red}{word} in red.
9401} 9414}
9402% \end{macrocode} 9415% \end{macrocode}
9403% \end{macro} 9416% \end{macro}
9404% \begin{macro}{\ekdpage}
9405% \changes{v1.4}{2021/11/10}{prints page marks used internally by
9406% \textsf{ekdosis} to generate apparatus on pages}
9407% \begin{macrocode}
9408\NewDocumentCommand{\ekdpage}{}{%
9409 \luadirect{tex.sprint(ekdosis.getekdabspg())}%
9410}
9411% \end{macrocode}
9412% \end{macro}
9413% \paragraph{Emendations and Conjectures} 9417% \paragraph{Emendations and Conjectures}
9414% Here follows the |key-value| options to be used by 9418% Here follows the |key-value| options to be used by
9415% \cs{SetCritSymbols} below:--- 9419% \cs{SetCritSymbols} below:---