aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-11-10 14:05:19 +0100
committerRobert Alessi <alessi@robertalessi.net>2021-11-10 14:05:19 +0100
commit143025fee0cef7ce23553d112bced17c29cdca9d (patch)
treee2bb34fe6c3c4f655d0cc67b92f9dcaaf9039549 /ekdosis.dtx
parent35b751c33c56ff6cb3df176ce46f349c8c4a8043 (diff)
downloadekdosis-143025fee0cef7ce23553d112bced17c29cdca9d.tar.gz
new command \ekdpage
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx21
1 files changed, 17 insertions, 4 deletions
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
61%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] 61%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
62%<package>\ProvidesPackage{ekdosis} 62%<package>\ProvidesPackage{ekdosis}
63%<*package> 63%<*package>
64 [2021/09/28 v1.4-dev Typesetting TEI xml-compliant critical editions] 64 [2021/11/10 v1.4-dev Typesetting TEI xml-compliant critical editions]
65%</package> 65%</package>
66%<*driver> 66%<*driver>
67\begin{filecontents}[noheader,overwrite]{bibdata.xml} 67\begin{filecontents}[noheader,overwrite]{bibdata.xml}
@@ -8334,7 +8334,7 @@ Sample text with a \textcolor{red}{word} in red.
8334% \end{macrocode} 8334% \end{macrocode}
8335% \end{macro} 8335% \end{macro}
8336% \begin{macro}{\SetSubseparator} 8336% \begin{macro}{\SetSubseparator}
8337% \changes{v1.4}{2021/09/28}{New command for subseparators} 8337% \changes{v1.4}{2021/11/10}{New command for subseparators}
8338% \cs{SetSubseparator}\marg{sub-separator} allows to change the 8338% \cs{SetSubseparator}\marg{sub-separator} allows to change the
8339% \enquote{subseparator} between variant readings. By default, 8339% \enquote{subseparator} between variant readings. By default,
8340% no subseparator is set:--- 8340% no subseparator is set:---
@@ -8665,7 +8665,7 @@ Sample text with a \textcolor{red}{word} in red.
8665% \end{macrocode} 8665% \end{macrocode}
8666% \end{macro} 8666% \end{macro}
8667% \begin{macro}{\vmodulolinenumbers} 8667% \begin{macro}{\vmodulolinenumbers}
8668% \changes{v1.4}{2021/09/28}{New command to adjust modulo verse line 8668% \changes{v1.4}{2021/11/10}{New command to adjust modulo verse line
8669% numbering} 8669% numbering}
8670% \begin{macrocode} 8670% \begin{macrocode}
8671\NewDocumentCommand{\vmodulolinenumbers}{O{5}}{% 8671\NewDocumentCommand{\vmodulolinenumbers}{O{5}}{%
@@ -9401,6 +9401,15 @@ Sample text with a \textcolor{red}{word} in red.
9401} 9401}
9402% \end{macrocode} 9402% \end{macrocode}
9403% \end{macro} 9403% \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}
9404% \paragraph{Emendations and Conjectures} 9413% \paragraph{Emendations and Conjectures}
9405% Here follows the |key-value| options to be used by 9414% Here follows the |key-value| options to be used by
9406% \cs{SetCritSymbols} below:--- 9415% \cs{SetCritSymbols} below:---
@@ -9926,7 +9935,7 @@ Sample text with a \textcolor{red}{word} in red.
9926% \end{macrocode} 9935% \end{macrocode}
9927% \end{macro} 9936% \end{macro}
9928% \begin{macro}{\\+} 9937% \begin{macro}{\\+}
9929% \changes{v1.4}{2021/09/28}{New macro for poetry} 9938% \changes{v1.4}{2021/11/10}{New macro for poetry}
9930% |\\+| comes in addition to the verse commands that are provided by 9939% |\\+| comes in addition to the verse commands that are provided by
9931% the \pkg{verse} package. |\\+| causes a linebreak within a verse 9940% the \pkg{verse} package. |\\+| causes a linebreak within a verse
9932% line. In contrast to |\\>|, the subsequent line is not indented and 9941% line. In contrast to |\\>|, the subsequent line is not indented and
@@ -11786,6 +11795,10 @@ function ekdosis.storeabspg(n, pg)
11786 return true 11795 return true
11787end 11796end
11788 11797
11798function ekdosis.getekdabspg()
11799 return ekd_abs_pg
11800end
11801
11789function ekdosis.checkresetlineno() 11802function ekdosis.checkresetlineno()
11790 if isfound(check_resetlineno, curcol.."-"..pg_i) 11803 if isfound(check_resetlineno, curcol.."-"..pg_i)
11791 then 11804 then