aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2023-06-29 17:11:02 +0200
committerRobert Alessi <alessi@robertalessi.net>2023-06-29 17:11:02 +0200
commitd9a33e8e6a5ea95d4c9ddc7633542e179355cadc (patch)
tree2ac90a1ae4990550f4ebc21b1c52be041817b232
parent0d79b9e8e68240db85a066621ddf406f1bfdfe6b (diff)
downloadekdosis-d9a33e8e6a5ea95d4c9ddc7633542e179355cadc.tar.gz
reshaped documentation on footnotes
-rw-r--r--ekdosis.dtx193
-rw-r--r--ekdosis.el2
2 files changed, 119 insertions, 76 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 7364f5f..111a1b9 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/24 v1.5-dev Typesetting TEI xml-compliant critical editions] 62 [2023/06/29 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}
@@ -714,6 +714,7 @@ Alessi <alessi@robertalessi.net>
714\setlist{nosep} 714\setlist{nosep}
715\setlist[itemize]{label=\textendash} 715\setlist[itemize]{label=\textendash}
716\setlist[enumerate,1]{label=(\alph*)} 716\setlist[enumerate,1]{label=(\alph*)}
717\setlist[enumerate,2]{label=\roman*.}
717\newlist{remarks}{enumerate}{10} 718\newlist{remarks}{enumerate}{10}
718\setlist[remarks]{ 719\setlist[remarks]{
719 label*=\textsc{Rem.} \arabic*, 720 label*=\textsc{Rem.} \arabic*,
@@ -3636,34 +3637,6 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3636% \cs{marginparthreshold}\allowbreak\marg{n}\oarg{n'}, that can be 3637% \cs{marginparthreshold}\allowbreak\marg{n}\oarg{n'}, that can be
3637% used to set the threshold for columns printed in right-hand pages. 3638% used to set the threshold for columns printed in right-hand pages.
3638% 3639%
3639% \subsubsection{Regular Footnotes}
3640% \label{sec:regular-footnotes}
3641% \DescribeMacro{\footnotelayout} By default, regular footnotes are
3642% printed at the bottom of the column on which they are
3643% called. \cs{footnotelayout}\marg{key-letter} can be used to change
3644% this setting. This command accepts as mandatory argument a
3645% key-letter which can be either |c|, |p| or |m|. |c| means
3646% \emph{column-wise} footnotes, which is the default value. |p| means
3647% \emph{page-wise}: footnotes from all columns are gathered in a
3648% single spanning block at the bottom of the page. Finally, |m| stands
3649% for \emph{merge}, which means that all footnotes that are called on
3650% a given page, including notes that are called outside the
3651% \env{alignment} environment, are printed in a single spanning block
3652% at the bottom of the page.
3653%
3654% \danger Regular footnotes are printed above the block of critical
3655% notes. The respective places of these blocks can be interchanged by
3656% just loading the \pkg{fnpos} package in the
3657% preamble.\footcite{fnpos}
3658%
3659% \danger \phts\label{ref:footmisc} The \pkg{footmisc}
3660% package\footcite{footmisc} is not compatible with
3661% \pkg{ekdosis}. More precisely, \pkg{footmisc} is incompatible with
3662% the way the \cs{footnote} command is defined inside the |alignment|
3663% environment. Therefore, \pkg{footmisc} can only be used on the
3664% condition that no regular \cs{footnote} be inserted in the
3665% |alignment| environment.
3666%
3667% \section{Laying Out the Apparatus Criticus} 3640% \section{Laying Out the Apparatus Criticus}
3668% \label{sec:apparatus-layout} 3641% \label{sec:apparatus-layout}
3669% 3642%
@@ -4438,25 +4411,85 @@ argument of the
4438% element (ll.~5--7). Otherwise, the \texttt{TEI} output would not be 4411% element (ll.~5--7). Otherwise, the \texttt{TEI} output would not be
4439% valid. 4412% valid.
4440% 4413%
4441% \subsection{Footnotes Combined Into a Single Paragraph} 4414% \section{Footnotes}
4442% \label{sec:footnotes} 4415% \label{sec:footnotes}
4443% \newfeature[v1.5] As already said \vpageref{ref:footmisc}, the 4416%
4444% \pkg{footmisc} package is not compatible with 4417% \subsection{Regular Footnotes}
4445% \pkg{ekdosis}. Therefore, it cannot be used to reformat short 4418% \label{sec:regular-footnotes}
4446% footnotes so as to combine them all into a single paragraph. This 4419%
4447% is why \pkg{ekdosis} provides a mechanism of its own to insert such 4420% Regular footnotes are inserted by the standard \cs{footnote}
4448% footnotes in a specific layer of the apparatus criticus. 4421% command. When the texts are arranged in parallel columns or on
4449% 4422% facing pages as described in \vref{sec:alignment-basic}, further
4450% \DescribeMacro{\SetFootnotes} \cs{SetFootnotes}\marg{csv list of 4423% options are available to specify how the notes should be printed on
4451% footnote settings} can be used either in the preamble or at any 4424% the pages.
4452% point of the document to cause a new ouput routine to reformat the 4425%
4453% notes into a single paragraph. This command accepts the following 4426% \danger Regular footnotes are printed above the block of critical
4454% list of |key-value| optional arguments:--- 4427% notes. The respective places of these blocks can be interchanged by
4455% \DescribeOption{layout}|layout|$=$\verb+default|paragraph+ 4428% just loading the \pkg{fnpos} package in the
4429% preamble.\footcite{fnpos}
4430%
4431% \danger \phts\label{ref:footmisc} The \pkg{footmisc}
4432% package\footcite{footmisc} is not compatible with
4433% \pkg{ekdosis}. More precisely, \pkg{footmisc} is incompatible with
4434% the way the \cs{footnote} command is defined inside the |alignment|
4435% environment. Therefore, \pkg{footmisc} can only be used on the
4436% condition that no regular \cs{footnote} be inserted in the
4437% |alignment| environment.
4438%
4439% \DescribeMacro{\SetFootnotes} \newfeature[v1.5]
4440% \cs{SetFootnotes}\marg{csv list of footnote settings} can be used
4441% either in the preamble or at any point of the document \emph{as long
4442% it is inserted outside the \env{alignment} environment}. This
4443% command accepts the following list of |key-value| optional
4444% arguments:---\\
4445% \DescribeOption{layout} \phts\label{ref:setfootnotes-layout}
4446% |layout|$=$\verb+default|column|page|merge+
4447% \hfill\tcboxverb{Default: not set}
4448% \begin{enumerate}
4449% \item |layout=default| or |layout=column| Either |default| or
4450% |column| can be used to have regular footnotes printed at the
4451% bottom of the column in which they are
4452% called. \textoiquote|column|\textciquote\ means
4453% \emph{column-wise}; this option is equivalent to
4454% \cs{footnotelayout}|{c}| in the syntax used by the \pkg{paracol}
4455% package.\footnote{See \cite[20]{paracol} for
4456% details.}\saveFN\fnpcol
4457% \item |layout=page| \textoiquote|page|\textciquote\ means
4458% \emph{page-wise}. Footnotes from all columns are gathered in a
4459% single spanning block at the bottom of all columns on the
4460% page. This option is equivalent to \cs{footnotelayout}|{p}| in the
4461% syntax used by the \pkg{paracol} package.\useFN\fnpcol
4462% \item |layout=merge| \emph{merge} means that all footnotes that are
4463% called on a given page, including notes that are called outside
4464% the \env{alignment} environment, are printed in a single spanning
4465% block at the bottom of the page. This option is equivalent to
4466% \cs{footnotelayout}|{m}| in the syntax used by the \pkg{paracol}
4467% package.\useFN\fnpcol
4468% \end{enumerate}
4469%
4470% \subsection{Footnotes Combined Into a Single Paragraph}
4471% \label{sec:footn-comb-into}
4472%
4473% As already said \vpageref[above]{ref:footmisc}, the \pkg{footmisc}
4474% package is not compatible with \pkg{ekdosis}. Therefore, it cannot
4475% be used to reformat short footnotes so as to combine them all into a
4476% single paragraph. This is why \pkg{ekdosis} provides a mechanism of
4477% its own to insert such footnotes in a specific layer of the
4478% apparatus criticus.
4479%
4480% \danger Unlike the three possible values that can be passed to
4481% |layout| just described, which apply only to regular footnotes
4482% inserted in the \env{alignment} environment, the following options
4483% apply to both the \env{alignment} and \env{ekdosis} environments.
4484%
4485% \DescribeMacro{\SetFootnotes} (\emph{Continued from above})\\
4486% \DescribeOption{layout}|layout=paragraph|
4456% \hfill\tcboxverb{Default: not set}\\ 4487% \hfill\tcboxverb{Default: not set}\\
4457% |layout=paragraph| instructs \pkg{ekdosis} to reformat the notes 4488% |layout=paragraph| comes in addition to the other three values
4458% into a single paragraph, while |layout=default| reverts to the 4489% \vpageref[just described][described]{ref:setfootnotes-layout}. This
4459% standard output routine.\\ 4490% option instructs \pkg{ekdosis} to reformat the notes into a single
4491% paragraph, while |layout=default| reverts to the standard output
4492% routine.\\
4460% \DescribeOption{type}|type|$=$\meta{type} 4493% \DescribeOption{type}|type|$=$\meta{type}
4461% \hfill\tcboxverb{Initially set as 'default'}\\ 4494% \hfill\tcboxverb{Initially set as 'default'}\\
4462% The keyword |type| is used here in the exact same meaning as 4495% The keyword |type| is used here in the exact same meaning as
@@ -4482,9 +4515,9 @@ argument of the
4482% mark superscripted. 4515% mark superscripted.
4483% 4516%
4484% \DescribeMacro{\footnote} \cs{footnote}\oarg{options}\marg{text} 4517% \DescribeMacro{\footnote} \cs{footnote}\oarg{options}\marg{text}
4485% When the mechanism described above is set in motion, the optional 4518% When the mechanism described in this section is set in motion, the
4486% argument of \cs{footnote} accepts the following list of optional 4519% \cs{footnote} command is redefined so as to accept the following
4487% arguments:---\\ 4520% list of optional arguments:---\\
4488% \DescribeOption{layout}|type|$=$\meta{type} 4521% \DescribeOption{layout}|type|$=$\meta{type}
4489% \hfill\tcboxverb{Default: as defined in \SetFoonotes}\\ 4522% \hfill\tcboxverb{Default: as defined in \SetFoonotes}\\
4490% |type| allows to specify any layer of critical notes in which the 4523% |type| allows to specify any layer of critical notes in which the
@@ -8480,7 +8513,7 @@ Sample text with a \textcolor{red}{word} in red.
8480% \end{macrocode} 8513% \end{macrocode}
8481% \paragraph{\textsf{ekdosis} Symbol} 8514% \paragraph{\textsf{ekdosis} Symbol}
8482% \begin{macro}{\eKd} 8515% \begin{macro}{\eKd}
8483% \changes{v1.5}{2023/06/24}{Prints \textsf{ekdosis} indentifying 8516% \changes{v1.5}{2023/06/29}{Prints \textsf{ekdosis} indentifying
8484% symbol} As of v1.5, \pkg{ekdosis} has its own identifying 8517% symbol} As of v1.5, \pkg{ekdosis} has its own identifying
8485% symbol. It is produced by \cs{eKd} and best printed with the Old 8518% symbol. It is produced by \cs{eKd} and best printed with the Old
8486% Standard Greek font. 8519% Standard Greek font.
@@ -8743,7 +8776,7 @@ Sample text with a \textcolor{red}{word} in red.
8743% \begin{macro}{\teidirectE} 8776% \begin{macro}{\teidirectE}
8744% \changes{v1.3}{2021/08/18}{direct insertion of elements in the 8777% \changes{v1.3}{2021/08/18}{direct insertion of elements in the
8745% \texttt{TEI xml} file} 8778% \texttt{TEI xml} file}
8746% \changes{v1.5}{2023/06/24}{direct insertion of empty elements in the 8779% \changes{v1.5}{2023/06/29}{direct insertion of empty elements in the
8747% \texttt{TEI xml} file} 8780% \texttt{TEI xml} file}
8748% \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} 8781% \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code}
8749% does nothing in \LaTeX. It is only used to insert elements in the 8782% does nothing in \LaTeX. It is only used to insert elements in the
@@ -8758,7 +8791,7 @@ Sample text with a \textcolor{red}{word} in red.
8758% \end{macro} 8791% \end{macro}
8759% \end{macro} 8792% \end{macro}
8760% \begin{macro}{\getTEIxmlid} 8793% \begin{macro}{\getTEIxmlid}
8761% \changes{v1.5}{2023/06/24}{returns \texttt{TEI xml:ids} from a 8794% \changes{v1.5}{2023/06/29}{returns \texttt{TEI xml:ids} from a
8762% csv-list of ids} This command returns from a csv-list of unique 8795% csv-list of ids} This command returns from a csv-list of unique
8763% identifiers declared in commands such as \cs{DeclareWitness} and the 8796% identifiers declared in commands such as \cs{DeclareWitness} and the
8764% like a space-separated list of their corresponding |xml:id|s, each 8797% like a space-separated list of their corresponding |xml:id|s, each
@@ -9234,7 +9267,7 @@ Sample text with a \textcolor{red}{word} in red.
9234\newlength{\ekd@app@localheight} 9267\newlength{\ekd@app@localheight}
9235% \end{macrocode} 9268% \end{macrocode}
9236% \begin{macro}{\localappheight} 9269% \begin{macro}{\localappheight}
9237% \changes{v1.5}{2023/06/24}{changes the height of the apparatus 9270% \changes{v1.5}{2023/06/29}{changes the height of the apparatus
9238% criticus} 9271% criticus}
9239% \cs{localappheight}\marg{dimen} can be used to change locally the 9272% \cs{localappheight}\marg{dimen} can be used to change locally the
9240% length of \cs{ekd@app@height} set by the |appheight| option of 9273% length of \cs{ekd@app@height} set by the |appheight| option of
@@ -9253,7 +9286,7 @@ Sample text with a \textcolor{red}{word} in red.
9253% \end{macrocode} 9286% \end{macrocode}
9254% \end{macro} 9287% \end{macro}
9255% \begin{macro}{\addtoappheight} 9288% \begin{macro}{\addtoappheight}
9256% \changes{v1.5}{2023/06/24}{increases or decreases the height of the 9289% \changes{v1.5}{2023/06/29}{increases or decreases the height of the
9257% apparatus criticus} 9290% apparatus criticus}
9258% As the name suggests, in contrast to \cs{localappheight}, 9291% As the name suggests, in contrast to \cs{localappheight},
9259% \cs{addtoappheight}\marg{dimen} is used to increase or decrease 9292% \cs{addtoappheight}\marg{dimen} is used to increase or decrease
@@ -9540,7 +9573,7 @@ Sample text with a \textcolor{red}{word} in red.
9540% The following commands are provided to set and control the maximum 9573% The following commands are provided to set and control the maximum
9541% number of lines printed on each page. 9574% number of lines printed on each page.
9542% \begin{macro}{\setmaxlines} 9575% \begin{macro}{\setmaxlines}
9543% \changes{v1.5}{2023/06/24}{limits the number of lines per page} 9576% \changes{v1.5}{2023/06/29}{limits the number of lines per page}
9544% \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer 9577% \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer
9545% $\geq 1$, can be used either in the preamble or at any point of the 9578% $\geq 1$, can be used either in the preamble or at any point of the
9546% document to set the maximum number of lines to be printed on each 9579% document to set the maximum number of lines to be printed on each
@@ -9551,7 +9584,7 @@ Sample text with a \textcolor{red}{word} in red.
9551% \end{macrocode} 9584% \end{macrocode}
9552% \end{macro} 9585% \end{macro}
9553% \begin{macro}{\localmaxlines} 9586% \begin{macro}{\localmaxlines}
9554% \changes{v1.5}{2023/06/24}{changes the maximum number of lines 9587% \changes{v1.5}{2023/06/29}{changes the maximum number of lines
9555% locally} 9588% locally}
9556% Once a maximum number of lines per page has been set, 9589% Once a maximum number of lines per page has been set,
9557% \cs{localmaxlines}\marg{n} can be used to adjust this number on a 9590% \cs{localmaxlines}\marg{n} can be used to adjust this number on a
@@ -9564,7 +9597,7 @@ Sample text with a \textcolor{red}{word} in red.
9564% \end{macrocode} 9597% \end{macrocode}
9565% \end{macro} 9598% \end{macro}
9566% \begin{macro}{\addtomaxlines} 9599% \begin{macro}{\addtomaxlines}
9567% \changes{v1.5}{2023/06/24}{adds or subtracts lines from a given page} 9600% \changes{v1.5}{2023/06/29}{adds or subtracts lines from a given page}
9568% Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as 9601% Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as
9569% argument the number of lines one wishes to add or substract from the 9602% argument the number of lines one wishes to add or substract from the
9570% number that has been set by \cs{setmaxlines}. As a result, \meta{n} 9603% number that has been set by \cs{setmaxlines}. As a result, \meta{n}
@@ -9577,7 +9610,7 @@ Sample text with a \textcolor{red}{word} in red.
9577% \end{macrocode} 9610% \end{macrocode}
9578% \end{macro} 9611% \end{macro}
9579% \begin{macro}{\nomaxlines} 9612% \begin{macro}{\nomaxlines}
9580% \changes{v1.5}{2023/06/24}{unsets \cs{setmaxlines}} 9613% \changes{v1.5}{2023/06/29}{unsets \cs{setmaxlines}}
9581% \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}. 9614% \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}.
9582% \begin{macrocode} 9615% \begin{macrocode}
9583\def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}} 9616\def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}}
@@ -9641,7 +9674,7 @@ Sample text with a \textcolor{red}{word} in red.
9641% \end{macrocode} 9674% \end{macrocode}
9642% \end{macro} 9675% \end{macro}
9643% \begin{macro}{\App} 9676% \begin{macro}{\App}
9644% \changes{v1.5}{2023/06/24}{To be used conjointly with 9677% \changes{v1.5}{2023/06/29}{To be used conjointly with
9645% \texttt{ekdosis.el}} 9678% \texttt{ekdosis.el}}
9646% In contrast to \cs{app}, \cs{App} takes two mandatory arguments and 9679% In contrast to \cs{app}, \cs{App} takes two mandatory arguments and
9647% accepts one optional argument like so: 9680% accepts one optional argument like so:
@@ -10425,12 +10458,20 @@ Sample text with a \textcolor{red}{word} in red.
10425% \begin{macrocode} 10458% \begin{macrocode}
10426\ekvdefinekeys{ekd@footnotes}{ 10459\ekvdefinekeys{ekd@footnotes}{
10427 choice layout = { 10460 choice layout = {
10428 default = \relax, 10461 default = \ekd@parafootnotesfalse
10429 paragraph = \ekd@parafootnotestrue 10462 \unless\ifekd@alignmentstarted
10463 \footnotelayout{c}\fi,
10464 paragraph = \ekd@parafootnotestrue,
10465 column = \unless\ifekd@alignmentstarted
10466 \footnotelayout{c}\fi,
10467 page = \unless\ifekd@alignmentstarted
10468 \footnotelayout{p}\fi,
10469 merge = \unless\ifekd@alignmentstarted
10470 \footnotelayout{p}\fi
10430 }, 10471 },
10431 initial layout = default,
10432 unknown-choice layout = \PackageError{ekdosis}{unknown 10472 unknown-choice layout = \PackageError{ekdosis}{unknown
10433 layout=#1}{`layout' must be either `default' or `paragraph'.}, 10473 layout=#1}{`layout' must be either `default', `paragraph',
10474 `column', `page' or `merge'.},
10434 store type = \ekdfn@type, 10475 store type = \ekdfn@type,
10435 initial type = default, 10476 initial type = default,
10436 code textfnmark = \protected\def\ekd@around@fnmark##1{#1}, 10477 code textfnmark = \protected\def\ekd@around@fnmark##1{#1},
@@ -10455,7 +10496,7 @@ Sample text with a \textcolor{red}{word} in red.
10455} 10496}
10456% \end{macrocode} 10497% \end{macrocode}
10457% \begin{macro}{\SetFootnotes} 10498% \begin{macro}{\SetFootnotes}
10458% \changes{v1.5}{2023/06/24}{footnotes combined into a single 10499% \changes{v1.5}{2023/06/29}{footnotes combined into a single
10459% paragraph} \cs{SetFootnotes}\marg{options} can be used in the 10500% paragraph} \cs{SetFootnotes}\marg{options} can be used in the
10460% preamble or at any point of the document. |layout=paragraph| 10501% preamble or at any point of the document. |layout=paragraph|
10461% instructs \pkg{ekdosis} to combine all footnotes into a single 10502% instructs \pkg{ekdosis} to combine all footnotes into a single
@@ -10686,7 +10727,7 @@ Sample text with a \textcolor{red}{word} in red.
10686% \end{macro} 10727% \end{macro}
10687% \paragraph{Lacunae} 10728% \paragraph{Lacunae}
10688% \begin{macro}{\ilabel} 10729% \begin{macro}{\ilabel}
10689% \changes{v1.5}{2023/06/24}{recalls and sets the ending label of 10730% \changes{v1.5}{2023/06/29}{recalls and sets the ending label of
10690% lemmas used to mark lacunae in witnesses} When \cs{lem} has been 10731% lemmas used to mark lacunae in witnesses} When \cs{lem} has been
10691% used with the optional argument |ilabel=<label>|, 10732% used with the optional argument |ilabel=<label>|,
10692% \cs{ilabel}\marg{label} must be used to mark the point where the 10733% \cs{ilabel}\marg{label} must be used to mark the point where the
@@ -10862,8 +10903,10 @@ Sample text with a \textcolor{red}{word} in red.
10862% described above. One may contrast these options with those accepted 10903% described above. One may contrast these options with those accepted
10863% by \cs{SetAlignment} as \enquote{local settings}. 10904% by \cs{SetAlignment} as \enquote{local settings}.
10864% \begin{macrocode} 10905% \begin{macrocode}
10906\newif\ifekd@alignmentstarted
10865\NewDocumentEnvironment{alignment}{O{}} 10907\NewDocumentEnvironment{alignment}{O{}}
10866{% 10908{%
10909 \ekd@alignmentstartedtrue
10867 \ekvset{ekd@align}{#1}% 10910 \ekvset{ekd@align}{#1}%
10868 \luadirect{ekdosis.mkenvdata( 10911 \luadirect{ekdosis.mkenvdata(
10869 \luastring{\texts@value}, 10912 \luastring{\texts@value},
@@ -10878,11 +10921,11 @@ Sample text with a \textcolor{red}{word} in red.
10878 \setrunninglinenumbers 10921 \setrunninglinenumbers
10879 \luadirect{tex.sprint(ekdosis.mkenv())} 10922 \luadirect{tex.sprint(ekdosis.mkenv())}
10880 \ifekd@paired 10923 \ifekd@paired
10881 \begin{paracol}[\lcols@num]{\tcols@num} 10924 \begin{paracol}[\lcols@num]{\tcols@num}
10882 \else 10925 \else
10883 \begin{paracol}[\lcols@num]*{\tcols@num} 10926 \begin{paracol}[\lcols@num]*{\tcols@num}
10884 \fi 10927 \fi
10885 } 10928 }
10886 {\if@pkg@breakable\flushpage\fi 10929 {\if@pkg@breakable\flushpage\fi
10887 \end{paracol} 10930 \end{paracol}
10888 \iftei@export\luadirect{ekdosis.export_coldata_totei()}\fi 10931 \iftei@export\luadirect{ekdosis.export_coldata_totei()}\fi
@@ -11019,7 +11062,7 @@ Sample text with a \textcolor{red}{word} in red.
11019% \end{macrocode} 11062% \end{macrocode}
11020% \end{macro} 11063% \end{macro}
11021% \begin{macro}{\ekdEOprint} 11064% \begin{macro}{\ekdEOprint}
11022% \changes{v1.5}{2023/06/24}{Sets headers and footers on 11065% \changes{v1.5}{2023/06/29}{Sets headers and footers on
11023% \enquote{paired} facing pages} 11066% \enquote{paired} facing pages}
11024% To set headers and footers on \enquote{paired} facing pages, 11067% To set headers and footers on \enquote{paired} facing pages,
11025% \cs{ekdEOprint} accepts two mandatory, self-evident arguments, like 11068% \cs{ekdEOprint} accepts two mandatory, self-evident arguments, like
@@ -11059,7 +11102,7 @@ Sample text with a \textcolor{red}{word} in red.
11059% counter to set the value of the page numbers. This counter should be 11102% counter to set the value of the page numbers. This counter should be
11060% incremented every two pages. 11103% incremented every two pages.
11061% \begin{counter}{pairedpage} 11104% \begin{counter}{pairedpage}
11062% \changes{v1.5}{2023/06/24}{A counter incremented every two pages} 11105% \changes{v1.5}{2023/06/29}{A counter incremented every two pages}
11063% |pairedpage| is first set as a global counter:--- 11106% |pairedpage| is first set as a global counter:---
11064% \begin{macrocode} 11107% \begin{macrocode}
11065\newcounter{pairedpage} 11108\newcounter{pairedpage}
@@ -11067,19 +11110,19 @@ Sample text with a \textcolor{red}{word} in red.
11067% \end{macrocode} 11110% \end{macrocode}
11068% \end{counter} 11111% \end{counter}
11069% \begin{macro}{\setpairedpagenum} 11112% \begin{macro}{\setpairedpagenum}
11070% \changes{v1.5}{2023/06/24}{sets the same page number on paired 11113% \changes{v1.5}{2023/06/29}{sets the same page number on paired
11071% pages} \cs{setpairedpagenum}\marg{number} is used just ahead of 11114% pages} \cs{setpairedpagenum}\marg{number} is used just ahead of
11072% the alignment environment to set the number of the first left-hand 11115% the alignment environment to set the number of the first left-hand
11073% paired page. 11116% paired page.
11074% \begin{macro}{\setpairedpage} 11117% \begin{macro}{\setpairedpage}
11075% \changes{v1.5}{2023/06/24}{sets the page number of the first paired 11118% \changes{v1.5}{2023/06/29}{sets the page number of the first paired
11076% page} \cs{setpairedpage} is an argument-less command meant to be 11119% page} \cs{setpairedpage} is an argument-less command meant to be
11077% issued in commands used to set headers or footers before 11120% issued in commands used to set headers or footers before
11078% \cs{thepage}. This command has the counter |pairedpage| 11121% \cs{thepage}. This command has the counter |pairedpage|
11079% incremented on right-hand pages only, and sets |page| $\leftarrow$ 11122% incremented on right-hand pages only, and sets |page| $\leftarrow$
11080% |pairedpage| on every page. 11123% |pairedpage| on every page.
11081% \begin{macro}{\resetpagenumber} 11124% \begin{macro}{\resetpagenumber}
11082% \changes{v1.5}{2023/06/24}{resets normal running page numbers} 11125% \changes{v1.5}{2023/06/29}{resets normal running page numbers}
11083% \cs{resetpagenumber} must be used right out of \enquote{mirrored} 11126% \cs{resetpagenumber} must be used right out of \enquote{mirrored}
11084% paired pages alignment environments. This argument-less command 11127% paired pages alignment environments. This argument-less command
11085% corrects any numbering error on the page following the edition 11128% corrects any numbering error on the page following the edition
diff --git a/ekdosis.el b/ekdosis.el
index ccc1853..7eb6dfa 100644
--- a/ekdosis.el
+++ b/ekdosis.el
@@ -243,7 +243,7 @@
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" "paragraph")) 246 '(("layout" ("default" "column" "page" "merge" "paragraph"))
247 ("type") 247 ("type")
248 ("textfnmark") 248 ("textfnmark")
249 ("appfnmark")) 249 ("appfnmark"))