diff options
author | Robert Alessi <alessi@robertalessi.net> | 2021-11-10 14:05:19 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2021-11-10 14:05:19 +0100 |
commit | 143025fee0cef7ce23553d112bced17c29cdca9d (patch) | |
tree | e2bb34fe6c3c4f655d0cc67b92f9dcaaf9039549 | |
parent | 35b751c33c56ff6cb3df176ce46f349c8c4a8043 (diff) | |
download | ekdosis-143025fee0cef7ce23553d112bced17c29cdca9d.tar.gz |
new command \ekdpage
-rw-r--r-- | about.html | 16 | ||||
-rw-r--r-- | ekdosis.dtx | 21 |
2 files changed, 26 insertions, 11 deletions
@@ -6,15 +6,17 @@ | |||
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> |
7 | <meta name="author" content="Robert Alessi" /> | 7 | <meta name="author" content="Robert Alessi" /> |
8 | <title>The ekdosis package – README file</title> | 8 | <title>The ekdosis package – README file</title> |
9 | <style type="text/css"> | 9 | <style> |
10 | code{white-space: pre-wrap;} | 10 | code{white-space: pre-wrap;} |
11 | span.smallcaps{font-variant: small-caps;} | 11 | span.smallcaps{font-variant: small-caps;} |
12 | span.underline{text-decoration: underline;} | 12 | span.underline{text-decoration: underline;} |
13 | div.column{display: inline-block; vertical-align: top; width: 50%;} | 13 | div.column{display: inline-block; vertical-align: top; width: 50%;} |
14 | div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} | ||
15 | ul.task-list{list-style: none;} | ||
14 | </style> | 16 | </style> |
15 | </head> | 17 | </head> |
16 | <body> | 18 | <body> |
17 | <header> | 19 | <header id="title-block-header"> |
18 | <h1 class="title">The ekdosis package – README file</h1> | 20 | <h1 class="title">The ekdosis package – README file</h1> |
19 | <p class="author">Robert Alessi</p> | 21 | <p class="author">Robert Alessi</p> |
20 | </header> | 22 | </header> |
@@ -25,7 +27,7 @@ | |||
25 | <p>Copyright ⓒ 2020–2021 Robert Alessi</p> | 27 | <p>Copyright ⓒ 2020–2021 Robert Alessi</p> |
26 | <p>Please send error reports and suggestions for improvements to Robert Alessi:</p> | 28 | <p>Please send error reports and suggestions for improvements to Robert Alessi:</p> |
27 | <ul> | 29 | <ul> |
28 | <li><p>email: <a href="mailto:alessi@robertalessi.net">alessi@robertalessi.net</a></p></li> | 30 | <li><p>email: <a href="mailto:alessi@robertalessi.net" class="email">alessi@robertalessi.net</a></p></li> |
29 | <li><p>website: <a href="http://www.robertalessi.net/ekdosis" class="uri">http://www.robertalessi.net/ekdosis</a></p></li> | 31 | <li><p>website: <a href="http://www.robertalessi.net/ekdosis" class="uri">http://www.robertalessi.net/ekdosis</a></p></li> |
30 | <li><p>comments, feature requests, bug reports: <a href="https://gitlab.com/ralessi/ekdosis/issues" class="uri">https://gitlab.com/ralessi/ekdosis/issues</a></p></li> | 32 | <li><p>comments, feature requests, bug reports: <a href="https://gitlab.com/ralessi/ekdosis/issues" class="uri">https://gitlab.com/ralessi/ekdosis/issues</a></p></li> |
31 | <li><p>mailing list, support: <a href="http://www.robertalessi.net/mailman/listinfo/ekdosis" class="uri">http://www.robertalessi.net/mailman/listinfo/ekdosis</a> [<a href="http://www.robertalessi.net/pipermail/ekdosis/">mailing list archives</a>]</p></li> | 33 | <li><p>mailing list, support: <a href="http://www.robertalessi.net/mailman/listinfo/ekdosis" class="uri">http://www.robertalessi.net/mailman/listinfo/ekdosis</a> [<a href="http://www.robertalessi.net/pipermail/ekdosis/">mailing list archives</a>]</p></li> |
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 |
11787 | end | 11796 | end |
11788 | 11797 | ||
11798 | function ekdosis.getekdabspg() | ||
11799 | return ekd_abs_pg | ||
11800 | end | ||
11801 | |||
11789 | function ekdosis.checkresetlineno() | 11802 | function ekdosis.checkresetlineno() |
11790 | if isfound(check_resetlineno, curcol.."-"..pg_i) | 11803 | if isfound(check_resetlineno, curcol.."-"..pg_i) |
11791 | then | 11804 | then |