diff options
-rw-r--r-- | ekdosis.dtx | 130 | ||||
-rw-r--r-- | ekdosis.el | 4 |
2 files changed, 65 insertions, 69 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 5118a4c..a086a3e 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/06/29 v1.5-dev Typesetting TEI xml-compliant critical editions] | 62 | [2023/07/05 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} |
@@ -4443,30 +4443,27 @@ argument of the | |||
4443 | % \env{alignment} environment. This command accepts the following list | 4443 | % \env{alignment} environment. This command accepts the following list |
4444 | % of |key-value| optional | 4444 | % of |key-value| optional |
4445 | % arguments:---\\ | 4445 | % arguments:---\\ |
4446 | % \DescribeOption{layout} \phts\label{ref:setfootnotes-layout} | 4446 | % \DescribeOption{arrangement} |
4447 | % |layout|$=$\verb+default|column|page|merge+ | 4447 | % \phts\label{ref:setfootnotes-arrangement} |
4448 | % |arrangement|$=$\verb+column|page|merge+ | ||
4448 | % \hfill\tcboxverb{Default: not set} | 4449 | % \hfill\tcboxverb{Default: not set} |
4449 | % \begin{enumerate} | 4450 | % \begin{enumerate} |
4450 | % \item |layout=default| or |layout=column| Either |default| or | 4451 | % \item |arrangement=column| can be used to have regular footnotes |
4451 | % |column| can be used to have regular footnotes printed at the | 4452 | % printed at the bottom of the column in which they are |
4452 | % bottom of the column in which they are | 4453 | % called. |
4453 | % called. \textoiquote|column|\textciquote\ means | 4454 | % \item |arrangement=page| Footnotes from all columns are gathered in |
4454 | % \emph{column-wise}; this option is equivalent to | 4455 | % a single spanning block at the bottom of all columns on the page. |
4455 | % \cs{footnotelayout}|{c}| in the syntax used by the \pkg{paracol} | 4456 | % \item |arrangement=merge| \emph{merge} means that all footnotes that |
4456 | % package.\footnote{See \cite[20]{paracol} for | 4457 | % are called on a given page, including notes that are called |
4457 | % details.}\saveFN\fnpcol | 4458 | % outside the \env{alignment} environment, are printed in a single |
4458 | % \item |layout=page| \textoiquote|page|\textciquote\ means | 4459 | % spanning block at the bottom of the page. |
4459 | % \emph{page-wise}. Footnotes from all columns are gathered in a | ||
4460 | % single spanning block at the bottom of all columns on the | ||
4461 | % page. This option is equivalent to \cs{footnotelayout}|{p}| in the | ||
4462 | % syntax used by the \pkg{paracol} package.\useFN\fnpcol | ||
4463 | % \item |layout=merge| \emph{merge} means that all footnotes that are | ||
4464 | % called on a given page, including notes that are called outside | ||
4465 | % the \env{alignment} environment, are printed in a single spanning | ||
4466 | % block at the bottom of the page. This option is equivalent to | ||
4467 | % \cs{footnotelayout}|{m}| in the syntax used by the \pkg{paracol} | ||
4468 | % package.\useFN\fnpcol | ||
4469 | % \end{enumerate} | 4460 | % \end{enumerate} |
4461 | % \DescribeOption{reset} (no-value argument)\\ | ||
4462 | % If used, this option reverts the footnotes to the default | ||
4463 | % arrangement which is to have them printed as regular footnotes at | ||
4464 | % the bottom of each column of text. |reset| also reverts footnotes | ||
4465 | % combined into a single paragraph\===as described below\===to regular | ||
4466 | % footnotes. | ||
4470 | % | 4467 | % |
4471 | % \subsection{Footnotes Combined Into a Single Paragraph} | 4468 | % \subsection{Footnotes Combined Into a Single Paragraph} |
4472 | % \label{sec:footn-comb-into} | 4469 | % \label{sec:footn-comb-into} |
@@ -4479,26 +4476,24 @@ argument of the | |||
4479 | % apparatus criticus. | 4476 | % apparatus criticus. |
4480 | % | 4477 | % |
4481 | % \danger Unlike the three possible values that can be passed to | 4478 | % \danger Unlike the three possible values that can be passed to |
4482 | % |layout| just described, which apply only to regular footnotes | 4479 | % |arrangement| just described, which apply only to regular footnotes |
4483 | % inserted in the \env{alignment} environment, the following options | 4480 | % inserted in the \env{alignment} environment, the following options |
4484 | % apply to both the \env{alignment} and \env{ekdosis} environments. | 4481 | % apply to both the \env{alignment} and \env{ekdosis} environments and |
4485 | % | 4482 | % can be set at any point of the document. |
4486 | % \DescribeMacro{\SetFootnotes} (\emph{Continued from above}) Unlike | ||
4487 | % the options for regular footnotes, those for footnotes combined into | ||
4488 | % a single paragraph can be set at any point of the | ||
4489 | % document. | ||
4490 | % \danger It is however not recommended to use \cs{SetFoonotes} in | 4483 | % \danger It is however not recommended to use \cs{SetFoonotes} in |
4491 | % environments to be transcribed into \texttt{TEI xml}. The way to | 4484 | % environments to be transcribed into \texttt{TEI xml}. The way to |
4492 | % restrict the effect of this command to one of the defined | 4485 | % restrict the effect of this command to one of the defined |
4493 | % environments is to use \cs{AtBeginEnvironment} as described in | 4486 | % environments is to use \cs{AtBeginEnvironment} as described in |
4494 | % \vref{sec:alignment-hooks}.\\ | 4487 | % \vref{sec:alignment-hooks}. |
4495 | % \DescribeOption{layout}|layout=paragraph| | 4488 | % |
4496 | % \hfill\tcboxverb{Default: not set}\\ | 4489 | % \noindent |
4497 | % |layout=paragraph| comes in addition to the other three values | 4490 | % \DescribeMacro{\SetFootnotes} (\emph{Continued from above.})\\ |
4498 | % \vpageref[just described][described]{ref:setfootnotes-layout}. This | 4491 | % \DescribeOption{paragraph}\verb+paragraph=true|false+ |
4499 | % option instructs \pkg{ekdosis} to reformat the notes into a single | 4492 | % \hfill\tcboxverb{Default: true, initially false}\\ |
4500 | % paragraph, while |layout=default| reverts to the standard output | 4493 | % This named argument does not need a value as it defaults to |true| |
4501 | % routine.\\ | 4494 | % if used. |paragraph| instructs \pkg{ekdosis} to reformat the notes |
4495 | % into a single paragraph, itself inserted as a layer in the apparatus | ||
4496 | % block. (See \textoiquote|type|\textciquote\ below.)\\ | ||
4502 | % \DescribeOption{type}|type|$=$\meta{type} | 4497 | % \DescribeOption{type}|type|$=$\meta{type} |
4503 | % \hfill\tcboxverb{Initially set as 'default'}\\ | 4498 | % \hfill\tcboxverb{Initially set as 'default'}\\ |
4504 | % The keyword |type| is used here in the exact same meaning as | 4499 | % The keyword |type| is used here in the exact same meaning as |
@@ -4527,7 +4522,7 @@ argument of the | |||
4527 | % When the mechanism described in this section is set in motion, the | 4522 | % When the mechanism described in this section is set in motion, the |
4528 | % \cs{footnote} command is redefined so as to accept the following | 4523 | % \cs{footnote} command is redefined so as to accept the following |
4529 | % list of optional arguments:---\\ | 4524 | % list of optional arguments:---\\ |
4530 | % \DescribeOption{layout}|type|$=$\meta{type} | 4525 | % \DescribeOption{type}|type|$=$\meta{type} |
4531 | % \hfill\tcboxverb{Default: as defined in \SetFoonotes}\\ | 4526 | % \hfill\tcboxverb{Default: as defined in \SetFoonotes}\\ |
4532 | % |type| allows to specify any layer of critical notes in which the | 4527 | % |type| allows to specify any layer of critical notes in which the |
4533 | % contents of the footnote is to be printed.\\ | 4528 | % contents of the footnote is to be printed.\\ |
@@ -4559,7 +4554,7 @@ argument of the | |||
4559 | % Preamble: | 4554 | % Preamble: |
4560 | \DeclareApparatus{notes}[bhook=\textbf{Notes:}] | 4555 | \DeclareApparatus{notes}[bhook=\textbf{Notes:}] |
4561 | \SetFootnotes{ | 4556 | \SetFootnotes{ |
4562 | layout = paragraph, | 4557 | paragraph, |
4563 | type = notes, | 4558 | type = notes, |
4564 | textfnmark = \textsuperscript{#1}, | 4559 | textfnmark = \textsuperscript{#1}, |
4565 | appfnmark = \unskip\hskip 1em\textsuperscript{#1} | 4560 | appfnmark = \unskip\hskip 1em\textsuperscript{#1} |
@@ -4593,7 +4588,7 @@ argument of the | |||
4593 | % PDF output:--- | 4588 | % PDF output:--- |
4594 | % \medskip | 4589 | % \medskip |
4595 | % \SetFootnotes{ | 4590 | % \SetFootnotes{ |
4596 | % layout = paragraph, | 4591 | % paragraph, |
4597 | % type = notes, | 4592 | % type = notes, |
4598 | % textfnmark = \textsuperscript{#1}, | 4593 | % textfnmark = \textsuperscript{#1}, |
4599 | % appfnmark = \unskip\hskip 1em\textsuperscript{#1} | 4594 | % appfnmark = \unskip\hskip 1em\textsuperscript{#1} |
@@ -4621,7 +4616,7 @@ argument of the | |||
4621 | % them.} | 4616 | % them.} |
4622 | % \end{specimen} | 4617 | % \end{specimen} |
4623 | % \end{alignment} | 4618 | % \end{alignment} |
4624 | % \SetFootnotes{layout = default} | 4619 | % \SetFootnotes{reset} |
4625 | % | 4620 | % |
4626 | % \texttt{TEI xml} output:--- | 4621 | % \texttt{TEI xml} output:--- |
4627 | % | 4622 | % |
@@ -8522,7 +8517,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
8522 | % \end{macrocode} | 8517 | % \end{macrocode} |
8523 | % \paragraph{\textsf{ekdosis} Symbol} | 8518 | % \paragraph{\textsf{ekdosis} Symbol} |
8524 | % \begin{macro}{\eKd} | 8519 | % \begin{macro}{\eKd} |
8525 | % \changes{v1.5}{2023/06/29}{Prints \textsf{ekdosis} indentifying | 8520 | % \changes{v1.5}{2023/07/05}{Prints \textsf{ekdosis} indentifying |
8526 | % symbol} As of v1.5, \pkg{ekdosis} has its own identifying | 8521 | % symbol} As of v1.5, \pkg{ekdosis} has its own identifying |
8527 | % symbol. It is produced by \cs{eKd} and best printed with the Old | 8522 | % symbol. It is produced by \cs{eKd} and best printed with the Old |
8528 | % Standard Greek font. | 8523 | % Standard Greek font. |
@@ -8785,7 +8780,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
8785 | % \begin{macro}{\teidirectE} | 8780 | % \begin{macro}{\teidirectE} |
8786 | % \changes{v1.3}{2021/08/18}{direct insertion of elements in the | 8781 | % \changes{v1.3}{2021/08/18}{direct insertion of elements in the |
8787 | % \texttt{TEI xml} file} | 8782 | % \texttt{TEI xml} file} |
8788 | % \changes{v1.5}{2023/06/29}{direct insertion of empty elements in the | 8783 | % \changes{v1.5}{2023/07/05}{direct insertion of empty elements in the |
8789 | % \texttt{TEI xml} file} | 8784 | % \texttt{TEI xml} file} |
8790 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} | 8785 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} |
8791 | % does nothing in \LaTeX. It is only used to insert elements in the | 8786 | % does nothing in \LaTeX. It is only used to insert elements in the |
@@ -8800,7 +8795,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
8800 | % \end{macro} | 8795 | % \end{macro} |
8801 | % \end{macro} | 8796 | % \end{macro} |
8802 | % \begin{macro}{\getTEIxmlid} | 8797 | % \begin{macro}{\getTEIxmlid} |
8803 | % \changes{v1.5}{2023/06/29}{returns \texttt{TEI xml:ids} from a | 8798 | % \changes{v1.5}{2023/07/05}{returns \texttt{TEI xml:ids} from a |
8804 | % csv-list of ids} This command returns from a csv-list of unique | 8799 | % csv-list of ids} This command returns from a csv-list of unique |
8805 | % identifiers declared in commands such as \cs{DeclareWitness} and the | 8800 | % identifiers declared in commands such as \cs{DeclareWitness} and the |
8806 | % like a space-separated list of their corresponding |xml:id|s, each | 8801 | % like a space-separated list of their corresponding |xml:id|s, each |
@@ -9276,7 +9271,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9276 | \newlength{\ekd@app@localheight} | 9271 | \newlength{\ekd@app@localheight} |
9277 | % \end{macrocode} | 9272 | % \end{macrocode} |
9278 | % \begin{macro}{\localappheight} | 9273 | % \begin{macro}{\localappheight} |
9279 | % \changes{v1.5}{2023/06/29}{changes the height of the apparatus | 9274 | % \changes{v1.5}{2023/07/05}{changes the height of the apparatus |
9280 | % criticus} | 9275 | % criticus} |
9281 | % \cs{localappheight}\marg{dimen} can be used to change locally the | 9276 | % \cs{localappheight}\marg{dimen} can be used to change locally the |
9282 | % length of \cs{ekd@app@height} set by the |appheight| option of | 9277 | % length of \cs{ekd@app@height} set by the |appheight| option of |
@@ -9295,7 +9290,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9295 | % \end{macrocode} | 9290 | % \end{macrocode} |
9296 | % \end{macro} | 9291 | % \end{macro} |
9297 | % \begin{macro}{\addtoappheight} | 9292 | % \begin{macro}{\addtoappheight} |
9298 | % \changes{v1.5}{2023/06/29}{increases or decreases the height of the | 9293 | % \changes{v1.5}{2023/07/05}{increases or decreases the height of the |
9299 | % apparatus criticus} | 9294 | % apparatus criticus} |
9300 | % As the name suggests, in contrast to \cs{localappheight}, | 9295 | % As the name suggests, in contrast to \cs{localappheight}, |
9301 | % \cs{addtoappheight}\marg{dimen} is used to increase or decrease | 9296 | % \cs{addtoappheight}\marg{dimen} is used to increase or decrease |
@@ -9582,7 +9577,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9582 | % The following commands are provided to set and control the maximum | 9577 | % The following commands are provided to set and control the maximum |
9583 | % number of lines printed on each page. | 9578 | % number of lines printed on each page. |
9584 | % \begin{macro}{\setmaxlines} | 9579 | % \begin{macro}{\setmaxlines} |
9585 | % \changes{v1.5}{2023/06/29}{limits the number of lines per page} | 9580 | % \changes{v1.5}{2023/07/05}{limits the number of lines per page} |
9586 | % \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer | 9581 | % \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer |
9587 | % $\geq 1$, can be used either in the preamble or at any point of the | 9582 | % $\geq 1$, can be used either in the preamble or at any point of the |
9588 | % document to set the maximum number of lines to be printed on each | 9583 | % document to set the maximum number of lines to be printed on each |
@@ -9593,7 +9588,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9593 | % \end{macrocode} | 9588 | % \end{macrocode} |
9594 | % \end{macro} | 9589 | % \end{macro} |
9595 | % \begin{macro}{\localmaxlines} | 9590 | % \begin{macro}{\localmaxlines} |
9596 | % \changes{v1.5}{2023/06/29}{changes the maximum number of lines | 9591 | % \changes{v1.5}{2023/07/05}{changes the maximum number of lines |
9597 | % locally} | 9592 | % locally} |
9598 | % Once a maximum number of lines per page has been set, | 9593 | % Once a maximum number of lines per page has been set, |
9599 | % \cs{localmaxlines}\marg{n} can be used to adjust this number on a | 9594 | % \cs{localmaxlines}\marg{n} can be used to adjust this number on a |
@@ -9606,7 +9601,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9606 | % \end{macrocode} | 9601 | % \end{macrocode} |
9607 | % \end{macro} | 9602 | % \end{macro} |
9608 | % \begin{macro}{\addtomaxlines} | 9603 | % \begin{macro}{\addtomaxlines} |
9609 | % \changes{v1.5}{2023/06/29}{adds or subtracts lines from a given page} | 9604 | % \changes{v1.5}{2023/07/05}{adds or subtracts lines from a given page} |
9610 | % Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as | 9605 | % Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as |
9611 | % argument the number of lines one wishes to add or substract from the | 9606 | % argument the number of lines one wishes to add or substract from the |
9612 | % number that has been set by \cs{setmaxlines}. As a result, \meta{n} | 9607 | % number that has been set by \cs{setmaxlines}. As a result, \meta{n} |
@@ -9619,7 +9614,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9619 | % \end{macrocode} | 9614 | % \end{macrocode} |
9620 | % \end{macro} | 9615 | % \end{macro} |
9621 | % \begin{macro}{\nomaxlines} | 9616 | % \begin{macro}{\nomaxlines} |
9622 | % \changes{v1.5}{2023/06/29}{unsets \cs{setmaxlines}} | 9617 | % \changes{v1.5}{2023/07/05}{unsets \cs{setmaxlines}} |
9623 | % \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}. | 9618 | % \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}. |
9624 | % \begin{macrocode} | 9619 | % \begin{macrocode} |
9625 | \def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}} | 9620 | \def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}} |
@@ -9683,7 +9678,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
9683 | % \end{macrocode} | 9678 | % \end{macrocode} |
9684 | % \end{macro} | 9679 | % \end{macro} |
9685 | % \begin{macro}{\App} | 9680 | % \begin{macro}{\App} |
9686 | % \changes{v1.5}{2023/06/29}{To be used conjointly with | 9681 | % \changes{v1.5}{2023/07/05}{To be used conjointly with |
9687 | % \texttt{ekdosis.el}} | 9682 | % \texttt{ekdosis.el}} |
9688 | % In contrast to \cs{app}, \cs{App} takes two mandatory arguments and | 9683 | % In contrast to \cs{app}, \cs{App} takes two mandatory arguments and |
9689 | % accepts one optional argument like so: | 9684 | % accepts one optional argument like so: |
@@ -10466,21 +10461,20 @@ Sample text with a \textcolor{red}{word} in red. | |||
10466 | % The keys to be used by \cs{SetFootnotes} are defined below:--- | 10461 | % The keys to be used by \cs{SetFootnotes} are defined below:--- |
10467 | % \begin{macrocode} | 10462 | % \begin{macrocode} |
10468 | \ekvdefinekeys{ekd@footnotes}{ | 10463 | \ekvdefinekeys{ekd@footnotes}{ |
10469 | choice layout = { | 10464 | choice arrangement = { |
10470 | default = \ekd@parafootnotesfalse | ||
10471 | \unless\ifekd@alignmentstarted | ||
10472 | \footnotelayout{c}\fi, | ||
10473 | paragraph = \ekd@parafootnotestrue, | ||
10474 | column = \unless\ifekd@alignmentstarted | 10465 | column = \unless\ifekd@alignmentstarted |
10475 | \footnotelayout{c}\fi, | 10466 | \footnotelayout{c}\fi, |
10476 | page = \unless\ifekd@alignmentstarted | 10467 | page = \unless\ifekd@alignmentstarted |
10477 | \footnotelayout{p}\fi, | 10468 | \footnotelayout{p}\fi, |
10478 | merge = \unless\ifekd@alignmentstarted | 10469 | merge = \unless\ifekd@alignmentstarted |
10479 | \footnotelayout{m}\fi | 10470 | \footnotelayout{m}\fi}, |
10480 | }, | 10471 | unknown-choice arrangement = \PackageError{ekdosis}{unknown |
10481 | unknown-choice layout = \PackageError{ekdosis}{unknown | 10472 | arrangement=#1}{`arrangement' must be either `column', |
10482 | layout=#1}{`layout' must be either `default', `paragraph', | 10473 | `page' or `merge'.}, |
10483 | `column', `page' or `merge'.}, | 10474 | noval reset = \ekd@parafootnotesfalse |
10475 | \unless\ifekd@alignmentstarted | ||
10476 | \footnotelayout{c}\fi, | ||
10477 | bool paragraph = \ifekd@parafootnotes, | ||
10484 | store type = \ekdfn@type, | 10478 | store type = \ekdfn@type, |
10485 | initial type = default, | 10479 | initial type = default, |
10486 | code textfnmark = \protected\def\ekd@around@fnmark##1{#1}, | 10480 | code textfnmark = \protected\def\ekd@around@fnmark##1{#1}, |
@@ -10505,7 +10499,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
10505 | } | 10499 | } |
10506 | % \end{macrocode} | 10500 | % \end{macrocode} |
10507 | % \begin{macro}{\SetFootnotes} | 10501 | % \begin{macro}{\SetFootnotes} |
10508 | % \changes{v1.5}{2023/06/29}{footnotes combined into a single | 10502 | % \changes{v1.5}{2023/07/05}{footnotes combined into a single |
10509 | % paragraph} \cs{SetFootnotes}\marg{options} can be used in the | 10503 | % paragraph} \cs{SetFootnotes}\marg{options} can be used in the |
10510 | % preamble or at any point of the document. |layout=paragraph| | 10504 | % preamble or at any point of the document. |layout=paragraph| |
10511 | % instructs \pkg{ekdosis} to combine all footnotes into a single | 10505 | % instructs \pkg{ekdosis} to combine all footnotes into a single |
@@ -10736,7 +10730,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
10736 | % \end{macro} | 10730 | % \end{macro} |
10737 | % \paragraph{Lacunae} | 10731 | % \paragraph{Lacunae} |
10738 | % \begin{macro}{\ilabel} | 10732 | % \begin{macro}{\ilabel} |
10739 | % \changes{v1.5}{2023/06/29}{recalls and sets the ending label of | 10733 | % \changes{v1.5}{2023/07/05}{recalls and sets the ending label of |
10740 | % lemmas used to mark lacunae in witnesses} When \cs{lem} has been | 10734 | % lemmas used to mark lacunae in witnesses} When \cs{lem} has been |
10741 | % used with the optional argument |ilabel=<label>|, | 10735 | % used with the optional argument |ilabel=<label>|, |
10742 | % \cs{ilabel}\marg{label} must be used to mark the point where the | 10736 | % \cs{ilabel}\marg{label} must be used to mark the point where the |
@@ -11071,7 +11065,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
11071 | % \end{macrocode} | 11065 | % \end{macrocode} |
11072 | % \end{macro} | 11066 | % \end{macro} |
11073 | % \begin{macro}{\ekdEOprint} | 11067 | % \begin{macro}{\ekdEOprint} |
11074 | % \changes{v1.5}{2023/06/29}{Sets headers and footers on | 11068 | % \changes{v1.5}{2023/07/05}{Sets headers and footers on |
11075 | % \enquote{paired} facing pages} | 11069 | % \enquote{paired} facing pages} |
11076 | % To set headers and footers on \enquote{paired} facing pages, | 11070 | % To set headers and footers on \enquote{paired} facing pages, |
11077 | % \cs{ekdEOprint} accepts two mandatory, self-evident arguments, like | 11071 | % \cs{ekdEOprint} accepts two mandatory, self-evident arguments, like |
@@ -11111,7 +11105,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
11111 | % counter to set the value of the page numbers. This counter should be | 11105 | % counter to set the value of the page numbers. This counter should be |
11112 | % incremented every two pages. | 11106 | % incremented every two pages. |
11113 | % \begin{counter}{pairedpage} | 11107 | % \begin{counter}{pairedpage} |
11114 | % \changes{v1.5}{2023/06/29}{A counter incremented every two pages} | 11108 | % \changes{v1.5}{2023/07/05}{A counter incremented every two pages} |
11115 | % |pairedpage| is first set as a global counter:--- | 11109 | % |pairedpage| is first set as a global counter:--- |
11116 | % \begin{macrocode} | 11110 | % \begin{macrocode} |
11117 | \newcounter{pairedpage} | 11111 | \newcounter{pairedpage} |
@@ -11119,19 +11113,19 @@ Sample text with a \textcolor{red}{word} in red. | |||
11119 | % \end{macrocode} | 11113 | % \end{macrocode} |
11120 | % \end{counter} | 11114 | % \end{counter} |
11121 | % \begin{macro}{\setpairedpagenum} | 11115 | % \begin{macro}{\setpairedpagenum} |
11122 | % \changes{v1.5}{2023/06/29}{sets the same page number on paired | 11116 | % \changes{v1.5}{2023/07/05}{sets the same page number on paired |
11123 | % pages} \cs{setpairedpagenum}\marg{number} is used just ahead of | 11117 | % pages} \cs{setpairedpagenum}\marg{number} is used just ahead of |
11124 | % the alignment environment to set the number of the first left-hand | 11118 | % the alignment environment to set the number of the first left-hand |
11125 | % paired page. | 11119 | % paired page. |
11126 | % \begin{macro}{\setpairedpage} | 11120 | % \begin{macro}{\setpairedpage} |
11127 | % \changes{v1.5}{2023/06/29}{sets the page number of the first paired | 11121 | % \changes{v1.5}{2023/07/05}{sets the page number of the first paired |
11128 | % page} \cs{setpairedpage} is an argument-less command meant to be | 11122 | % page} \cs{setpairedpage} is an argument-less command meant to be |
11129 | % issued in commands used to set headers or footers before | 11123 | % issued in commands used to set headers or footers before |
11130 | % \cs{thepage}. This command has the counter |pairedpage| | 11124 | % \cs{thepage}. This command has the counter |pairedpage| |
11131 | % incremented on right-hand pages only, and sets |page| $\leftarrow$ | 11125 | % incremented on right-hand pages only, and sets |page| $\leftarrow$ |
11132 | % |pairedpage| on every page. | 11126 | % |pairedpage| on every page. |
11133 | % \begin{macro}{\resetpagenumber} | 11127 | % \begin{macro}{\resetpagenumber} |
11134 | % \changes{v1.5}{2023/06/29}{resets normal running page numbers} | 11128 | % \changes{v1.5}{2023/07/05}{resets normal running page numbers} |
11135 | % \cs{resetpagenumber} must be used right out of \enquote{mirrored} | 11129 | % \cs{resetpagenumber} must be used right out of \enquote{mirrored} |
11136 | % paired pages alignment environments. This argument-less command | 11130 | % paired pages alignment environments. This argument-less command |
11137 | % corrects any numbering error on the page following the edition | 11131 | % corrects any numbering error on the page following the edition |
@@ -243,7 +243,9 @@ | |||
243 | "Local options for alignment env.") | 243 | "Local options for alignment env.") |
244 | 244 | ||
245 | (defvar LaTeX-ekdosis-footnotes-key-val-options | 245 | (defvar LaTeX-ekdosis-footnotes-key-val-options |
246 | '(("layout" ("default" "column" "page" "merge" "paragraph")) | 246 | '(("arrangement" ("column" "page" "merge")) |
247 | ("reset") | ||
248 | ("paragraph" ("true" "false")) | ||
247 | ("type") | 249 | ("type") |
248 | ("textfnmark") | 250 | ("textfnmark") |
249 | ("appfnmark")) | 251 | ("appfnmark")) |