From 143025fee0cef7ce23553d112bced17c29cdca9d Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 10 Nov 2021 14:05:19 +0100 Subject: new command \ekdpage --- ekdosis.dtx | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'ekdosis.dtx') diff --git a/ekdosis.dtx b/ekdosis.dtx index 751c1f3..39a6293 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -61,7 +61,7 @@ along with this program. If not, see %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{ekdosis} %<*package> - [2021/09/28 v1.4-dev Typesetting TEI xml-compliant critical editions] + [2021/11/10 v1.4-dev Typesetting TEI xml-compliant critical editions] % %<*driver> \begin{filecontents}[noheader,overwrite]{bibdata.xml} @@ -8334,7 +8334,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\SetSubseparator} -% \changes{v1.4}{2021/09/28}{New command for subseparators} +% \changes{v1.4}{2021/11/10}{New command for subseparators} % \cs{SetSubseparator}\marg{sub-separator} allows to change the % \enquote{subseparator} between variant readings. By default, % no subseparator is set:--- @@ -8665,7 +8665,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\vmodulolinenumbers} -% \changes{v1.4}{2021/09/28}{New command to adjust modulo verse line +% \changes{v1.4}{2021/11/10}{New command to adjust modulo verse line % numbering} % \begin{macrocode} \NewDocumentCommand{\vmodulolinenumbers}{O{5}}{% @@ -9401,6 +9401,15 @@ 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:--- @@ -9926,7 +9935,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\\+} -% \changes{v1.4}{2021/09/28}{New macro for poetry} +% \changes{v1.4}{2021/11/10}{New macro for poetry} % |\\+| comes in addition to the verse commands that are provided by % the \pkg{verse} package. |\\+| causes a linebreak within a verse % line. In contrast to |\\>|, the subsequent line is not indented and @@ -11786,6 +11795,10 @@ function ekdosis.storeabspg(n, pg) return true end +function ekdosis.getekdabspg() + return ekd_abs_pg +end + function ekdosis.checkresetlineno() if isfound(check_resetlineno, curcol.."-"..pg_i) then -- cgit v1.2.3