diff options
-rw-r--r-- | ekdosis.dtx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 8325bc1..cf89edd 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -59,7 +59,7 @@ Alessi <alessi@robertalessi.net> | |||
59 | %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] | 59 | %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] |
60 | %<package>\ProvidesPackage{ekdosis} | 60 | %<package>\ProvidesPackage{ekdosis} |
61 | %<*package> | 61 | %<*package> |
62 | [2023/04/01 v1.5-dev Typesetting TEI xml-compliant critical editions] | 62 | [2023/04/22 v1.5-dev Typesetting TEI xml-compliant critical editions] |
63 | %</package> | 63 | %</package> |
64 | %<*driver> | 64 | %<*driver> |
65 | \begin{filecontents}[noheader,overwrite]{bibdata.xml} | 65 | \begin{filecontents}[noheader,overwrite]{bibdata.xml} |
@@ -6479,7 +6479,7 @@ emacs --batch -f batch-byte-compile ekdosis.el &>/dev/null | |||
6479 | % | 6479 | % |
6480 | % In order to hide all foldable items, |TeX-fold-mode| must first be | 6480 | % In order to hide all foldable items, |TeX-fold-mode| must first be |
6481 | % activated, like so: |C-c| |C-o| |C-f|.\footnote{Menu sequence: | 6481 | % activated, like so: |C-c| |C-o| |C-f|.\footnote{Menu sequence: |
6482 | % \menu{LaTeX>Show/Hide>Fold Mode}} Then |C-c| |C-f| |C-b| can be used | 6482 | % \menu{LaTeX>Show/Hide>Fold Mode}} Then |C-c| |C-o| |C-b| can be used |
6483 | % to fold the code.\footnote{Menu sequence: \menu{LaTeX>Show/Hide>Hide | 6483 | % to fold the code.\footnote{Menu sequence: \menu{LaTeX>Show/Hide>Hide |
6484 | % All in Current Buffer}} | 6484 | % All in Current Buffer}} |
6485 | % | 6485 | % |
@@ -8027,7 +8027,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
8027 | % \end{macrocode} | 8027 | % \end{macrocode} |
8028 | % \paragraph{\textsf{ekdosis} Symbol} | 8028 | % \paragraph{\textsf{ekdosis} Symbol} |
8029 | % \begin{macro}{\eKd} | 8029 | % \begin{macro}{\eKd} |
8030 | % \changes{v1.5}{2023/04/01}{Prints \textsf{ekdosis} indentifying | 8030 | % \changes{v1.5}{2023/04/22}{Prints \textsf{ekdosis} indentifying |
8031 | % symbol} As of v1.5, \pkg{ekdosis} has its own identifying | 8031 | % symbol} As of v1.5, \pkg{ekdosis} has its own identifying |
8032 | % symbol. It is produced by \cs{eKd} and best printed with the Old | 8032 | % symbol. It is produced by \cs{eKd} and best printed with the Old |
8033 | % Standard Greek font. | 8033 | % Standard Greek font. |
@@ -8290,7 +8290,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
8290 | % \begin{macro}{\teidirectE} | 8290 | % \begin{macro}{\teidirectE} |
8291 | % \changes{v1.3}{2021/08/18}{direct insertion of elements in the | 8291 | % \changes{v1.3}{2021/08/18}{direct insertion of elements in the |
8292 | % \texttt{TEI xml} file} | 8292 | % \texttt{TEI xml} file} |
8293 | % \changes{v1.5}{2023/04/01}{direct insertion of empty elements in the | 8293 | % \changes{v1.5}{2023/04/22}{direct insertion of empty elements in the |
8294 | % \texttt{TEI xml} file} | 8294 | % \texttt{TEI xml} file} |
8295 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} | 8295 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} |
8296 | % does nothing in \LaTeX. It is only used to insert elements in the | 8296 | % does nothing in \LaTeX. It is only used to insert elements in the |
@@ -8305,7 +8305,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
8305 | % \end{macro} | 8305 | % \end{macro} |
8306 | % \end{macro} | 8306 | % \end{macro} |
8307 | % \begin{macro}{\getTEIxmlid} | 8307 | % \begin{macro}{\getTEIxmlid} |
8308 | % \changes{v1.5}{2023/04/01}{returns \texttt{TEI xml:ids} from a | 8308 | % \changes{v1.5}{2023/04/22}{returns \texttt{TEI xml:ids} from a |
8309 | % csv-list of ids} This command returns from a csv-list of unique | 8309 | % csv-list of ids} This command returns from a csv-list of unique |
8310 | % identifiers declared in commands such as \cs{DeclareWitness} and the | 8310 | % identifiers declared in commands such as \cs{DeclareWitness} and the |
8311 | % like a space-separated list of their corresponding |xml:id|s, each | 8311 | % like a space-separated list of their corresponding |xml:id|s, each |
@@ -8781,7 +8781,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
8781 | \newlength{\ekd@app@localheight} | 8781 | \newlength{\ekd@app@localheight} |
8782 | % \end{macrocode} | 8782 | % \end{macrocode} |
8783 | % \begin{macro}{\localappheight} | 8783 | % \begin{macro}{\localappheight} |
8784 | % \changes{v1.5}{2023/04/01}{changes the height of the apparatus | 8784 | % \changes{v1.5}{2023/04/22}{changes the height of the apparatus |
8785 | % criticus} | 8785 | % criticus} |
8786 | % \cs{localappheight}\marg{dimen} can be used to change locally the | 8786 | % \cs{localappheight}\marg{dimen} can be used to change locally the |
8787 | % length of \cs{ekd@app@height} set by the |appheight| option of | 8787 | % length of \cs{ekd@app@height} set by the |appheight| option of |
@@ -8800,7 +8800,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
8800 | % \end{macrocode} | 8800 | % \end{macrocode} |
8801 | % \end{macro} | 8801 | % \end{macro} |
8802 | % \begin{macro}{\addtoappheight} | 8802 | % \begin{macro}{\addtoappheight} |
8803 | % \changes{v1.5}{2023/04/01}{increases or decreases the height of the | 8803 | % \changes{v1.5}{2023/04/22}{increases or decreases the height of the |
8804 | % apparatus criticus} | 8804 | % apparatus criticus} |
8805 | % As the name suggests, in contrast to \cs{localappheight}, | 8805 | % As the name suggests, in contrast to \cs{localappheight}, |
8806 | % \cs{addtoappheight}\marg{dimen} is used to increase or decrease | 8806 | % \cs{addtoappheight}\marg{dimen} is used to increase or decrease |
@@ -9086,7 +9086,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9086 | % The following commands are provided to set and control the maximum | 9086 | % The following commands are provided to set and control the maximum |
9087 | % number of lines printed on each page. | 9087 | % number of lines printed on each page. |
9088 | % \begin{macro}{\setmaxlines} | 9088 | % \begin{macro}{\setmaxlines} |
9089 | % \changes{v1.5}{2023/04/01}{limits the number of lines per page} | 9089 | % \changes{v1.5}{2023/04/22}{limits the number of lines per page} |
9090 | % \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer | 9090 | % \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer |
9091 | % $\geq 1$, can be used either in the preamble or at any point of the | 9091 | % $\geq 1$, can be used either in the preamble or at any point of the |
9092 | % document to set the maximum number of lines to be printed on each | 9092 | % document to set the maximum number of lines to be printed on each |
@@ -9097,7 +9097,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9097 | % \end{macrocode} | 9097 | % \end{macrocode} |
9098 | % \end{macro} | 9098 | % \end{macro} |
9099 | % \begin{macro}{\localmaxlines} | 9099 | % \begin{macro}{\localmaxlines} |
9100 | % \changes{v1.5}{2023/04/01}{changes the maximum number of lines | 9100 | % \changes{v1.5}{2023/04/22}{changes the maximum number of lines |
9101 | % locally} | 9101 | % locally} |
9102 | % Once a maximum number of lines per page has been set, | 9102 | % Once a maximum number of lines per page has been set, |
9103 | % \cs{localmaxlines}\marg{n} can be used to adjust this number on a | 9103 | % \cs{localmaxlines}\marg{n} can be used to adjust this number on a |
@@ -9110,7 +9110,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9110 | % \end{macrocode} | 9110 | % \end{macrocode} |
9111 | % \end{macro} | 9111 | % \end{macro} |
9112 | % \begin{macro}{\addtomaxlines} | 9112 | % \begin{macro}{\addtomaxlines} |
9113 | % \changes{v1.5}{2023/04/01}{adds or subtracts lines from a given page} | 9113 | % \changes{v1.5}{2023/04/22}{adds or subtracts lines from a given page} |
9114 | % Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as | 9114 | % Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as |
9115 | % argument the number of lines one wishes to add or substract from the | 9115 | % argument the number of lines one wishes to add or substract from the |
9116 | % number that has been set by \cs{setmaxlines}. As a result, \meta{n} | 9116 | % number that has been set by \cs{setmaxlines}. As a result, \meta{n} |
@@ -9123,7 +9123,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9123 | % \end{macrocode} | 9123 | % \end{macrocode} |
9124 | % \end{macro} | 9124 | % \end{macro} |
9125 | % \begin{macro}{\nomaxlines} | 9125 | % \begin{macro}{\nomaxlines} |
9126 | % \changes{v1.5}{2023/04/01}{unsets \cs{setmaxlines}} | 9126 | % \changes{v1.5}{2023/04/22}{unsets \cs{setmaxlines}} |
9127 | % \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}. | 9127 | % \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}. |
9128 | % \begin{macrocode} | 9128 | % \begin{macrocode} |
9129 | \def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}} | 9129 | \def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}} |
@@ -9187,7 +9187,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9187 | % \end{macrocode} | 9187 | % \end{macrocode} |
9188 | % \end{macro} | 9188 | % \end{macro} |
9189 | % \begin{macro}{\App} | 9189 | % \begin{macro}{\App} |
9190 | % \changes{v1.5}{2023/04/01}{To be used conjointly with | 9190 | % \changes{v1.5}{2023/04/22}{To be used conjointly with |
9191 | % \texttt{ekdosis.el}} | 9191 | % \texttt{ekdosis.el}} |
9192 | % In contrast to \cs{app}, \cs{App} takes two mandatory arguments and | 9192 | % In contrast to \cs{app}, \cs{App} takes two mandatory arguments and |
9193 | % accepts one optional argument like so: | 9193 | % accepts one optional argument like so: |
@@ -10071,7 +10071,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
10071 | % \end{macro} | 10071 | % \end{macro} |
10072 | % \paragraph{Lacunae} | 10072 | % \paragraph{Lacunae} |
10073 | % \begin{macro}{\ilabel} | 10073 | % \begin{macro}{\ilabel} |
10074 | % \changes{v1.5}{2023/04/01}{recalls and sets the ending label of | 10074 | % \changes{v1.5}{2023/04/22}{recalls and sets the ending label of |
10075 | % lemmas used to mark lacunae in witnesses} When \cs{lem} has been | 10075 | % lemmas used to mark lacunae in witnesses} When \cs{lem} has been |
10076 | % used with the optional argument |ilabel=<label>|, | 10076 | % used with the optional argument |ilabel=<label>|, |
10077 | % \cs{ilabel}\marg{label} must be used to mark the point where the | 10077 | % \cs{ilabel}\marg{label} must be used to mark the point where the |
@@ -10387,7 +10387,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
10387 | % \end{macrocode} | 10387 | % \end{macrocode} |
10388 | % \end{macro} | 10388 | % \end{macro} |
10389 | % \begin{macro}{\ekdEOprint} | 10389 | % \begin{macro}{\ekdEOprint} |
10390 | % \changes{v1.5}{2023/04/01}{Sets headers and footers on | 10390 | % \changes{v1.5}{2023/04/22}{Sets headers and footers on |
10391 | % \enquote{paired} facing pages} | 10391 | % \enquote{paired} facing pages} |
10392 | % To set headers and footers on \enquote{paired} facing pages, | 10392 | % To set headers and footers on \enquote{paired} facing pages, |
10393 | % \cs{ekdEOprint} accepts two mandatory, self-evident arguments, like | 10393 | % \cs{ekdEOprint} accepts two mandatory, self-evident arguments, like |
@@ -10427,7 +10427,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
10427 | % counter to set the value of the page numbers. This counter should be | 10427 | % counter to set the value of the page numbers. This counter should be |
10428 | % incremented every two pages. | 10428 | % incremented every two pages. |
10429 | % \begin{counter}{pairedpage} | 10429 | % \begin{counter}{pairedpage} |
10430 | % \changes{v1.5}{2023/04/01}{A counter incremented every two pages} | 10430 | % \changes{v1.5}{2023/04/22}{A counter incremented every two pages} |
10431 | % |pairedpage| is first set as a global counter:--- | 10431 | % |pairedpage| is first set as a global counter:--- |
10432 | % \begin{macrocode} | 10432 | % \begin{macrocode} |
10433 | \newcounter{pairedpage} | 10433 | \newcounter{pairedpage} |
@@ -10435,19 +10435,19 @@ Sample text with a \textcolor{red}{word} in red. | |||
10435 | % \end{macrocode} | 10435 | % \end{macrocode} |
10436 | % \end{counter} | 10436 | % \end{counter} |
10437 | % \begin{macro}{\setpairedpagenum} | 10437 | % \begin{macro}{\setpairedpagenum} |
10438 | % \changes{v1.5}{2023/04/01}{sets the same page number on paired | 10438 | % \changes{v1.5}{2023/04/22}{sets the same page number on paired |
10439 | % pages} \cs{setpairedpagenum}\marg{number} is used just ahead of | 10439 | % pages} \cs{setpairedpagenum}\marg{number} is used just ahead of |
10440 | % the alignment environment to set the number of the first left-hand | 10440 | % the alignment environment to set the number of the first left-hand |
10441 | % paired page. | 10441 | % paired page. |
10442 | % \begin{macro}{\setpairedpage} | 10442 | % \begin{macro}{\setpairedpage} |
10443 | % \changes{v1.5}{2023/04/01}{sets the page number of the first paired | 10443 | % \changes{v1.5}{2023/04/22}{sets the page number of the first paired |
10444 | % page} \cs{setpairedpage} is an argument-less command meant to be | 10444 | % page} \cs{setpairedpage} is an argument-less command meant to be |
10445 | % issued in commands used to set headers or footers before | 10445 | % issued in commands used to set headers or footers before |
10446 | % \cs{thepage}. This command has the counter |pairedpage| | 10446 | % \cs{thepage}. This command has the counter |pairedpage| |
10447 | % incremented on right-hand pages only, and sets |page| $\leftarrow$ | 10447 | % incremented on right-hand pages only, and sets |page| $\leftarrow$ |
10448 | % |pairedpage| on every page. | 10448 | % |pairedpage| on every page. |
10449 | % \begin{macro}{\resetpagenumber} | 10449 | % \begin{macro}{\resetpagenumber} |
10450 | % \changes{v1.5}{2023/04/01}{resets normal running page numbers} | 10450 | % \changes{v1.5}{2023/04/22}{resets normal running page numbers} |
10451 | % \cs{resetpagenumber} must be used right out of \enquote{mirrored} | 10451 | % \cs{resetpagenumber} must be used right out of \enquote{mirrored} |
10452 | % paired pages alignment environments. This argument-less command | 10452 | % paired pages alignment environments. This argument-less command |
10453 | % corrects any numbering error on the page following the edition | 10453 | % corrects any numbering error on the page following the edition |