aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx113
1 files changed, 59 insertions, 54 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index a1acf5b..ff37d86 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -186,7 +186,7 @@ along with this program. If not, see
186\DeclareWitness{M}{M}{\emph{Marcianus Gr.} 269}[ 186\DeclareWitness{M}{M}{\emph{Marcianus Gr.} 269}[
187 settlement=Venice, 187 settlement=Venice,
188 institution=Marciana Library, 188 institution=Marciana Library,
189 msName=\emph{Marcianus Gr.}, 189 msName=Marcianus Gr.,
190 idno=269, 190 idno=269,
191 origDate=s. X] 191 origDate=s. X]
192\DeclareHand{M1}{M}{M\textsuperscript{1}}[Emendatio scribae ipsius] 192\DeclareHand{M1}{M}{M\textsuperscript{1}}[Emendatio scribae ipsius]
@@ -196,7 +196,7 @@ along with this program. If not, see
196\DeclareWitness{pjB}{B}{Manuscript B Call No 456} 196\DeclareWitness{pjB}{B}{Manuscript B Call No 456}
197% Caesar's Gallic War: 197% Caesar's Gallic War:
198\DeclareWitness{cA}{A}{\emph{Bongarsianus} 81}[ 198\DeclareWitness{cA}{A}{\emph{Bongarsianus} 81}[
199 msName=\emph{Bongarsianus}, 199 msName=Bongarsianus,
200 settlement=Amsterdam, 200 settlement=Amsterdam,
201 idno=81, 201 idno=81,
202 institution=University Library, 202 institution=University Library,
@@ -963,7 +963,7 @@ along with this program. If not, see
963\DeclareWitness{M}{M}{\emph{Marcianus Gr.} 269}[ 963\DeclareWitness{M}{M}{\emph{Marcianus Gr.} 269}[
964 settlement=Venice, 964 settlement=Venice,
965 institution=Marciana Library, 965 institution=Marciana Library,
966 msName=\emph{Marcianus Gr.}, 966 msName=Marcianus Gr.,
967 idno=269, 967 idno=269,
968 origDate=s. X] 968 origDate=s. X]
969\end{minted} 969\end{minted}
@@ -1562,13 +1562,14 @@ yesterday.
1562%</example> 1562%</example>
1563% \fi 1563% \fi
1564% 1564%
1565% \DescribeEnv{edition*}\DescribeEnv{translation*} Furthermore, 1565% \DescribeEnv{edition*}\DescribeEnv{translation*}
1566% so-called \enquote{starred} versions of these environments can be 1566% \label{ref:starred-envs} Furthermore, so-called \enquote{starred}
1567% used at any point to synchronize texts, that is to print them in 1567% versions of these environments can be used at any point to
1568% such a way that the tops of all paragraphs are vertically 1568% synchronize texts, that is to print them in such a way that the tops
1569% aligned. To that effect, it must be noted that merely applying this 1569% of all paragraphs are vertically aligned. To that effect, it must be
1570% command on a single environment\---for instance the leftmost 1570% noted that merely applying this command on a single
1571% one\---will have all other associated paragraphs printed aligned. 1571% environment\---for instance the leftmost one\---will have all other
1572% associated paragraphs printed aligned.
1572% 1573%
1573% \danger While the whole edition text and the whole translation can 1574% \danger While the whole edition text and the whole translation can
1574% be inserted in a single \env{edition}/\env{translation} environment 1575% be inserted in a single \env{edition}/\env{translation} environment
@@ -1628,7 +1629,7 @@ yesterday.
1628% \fi 1629% \fi
1629% 1630%
1630% \resetlinenumber 1631% \resetlinenumber
1631% \EkdosisFormatDivision{2}{}{.} 1632% \FormatDiv{2}{}{.}
1632% \begin{alignment}[flush,lcols=2, 1633% \begin{alignment}[flush,lcols=2,
1633% texts=edition[xml:lang="la"]; 1634% texts=edition[xml:lang="la"];
1634% translation[xml:lang="en"]] 1635% translation[xml:lang="en"]]
@@ -1723,7 +1724,8 @@ yesterday.
1723% \subsection{Alignment of Several Texts} 1724% \subsection{Alignment of Several Texts}
1724% \label{sec:multiple-alignment} 1725% \label{sec:multiple-alignment}
1725% As described above \vpageref{ref:alignment-syntax}, the 1726% As described above \vpageref{ref:alignment-syntax}, the
1726% \env{alignment} environment may receive an optional argument in which 1727% \env{alignment} environment may receive an optional argument in
1728% which
1727% the following \enquote{name$=$value} arguments are accepted:---\\ 1729% the following \enquote{name$=$value} arguments are accepted:---\\
1728% \DescribeOption{tcols} 1730% \DescribeOption{tcols}
1729% |tcols|$=$\meta{number}\hfill\tcboxverb{Default: 2}\\ 1731% |tcols|$=$\meta{number}\hfill\tcboxverb{Default: 2}\\
@@ -1745,8 +1747,11 @@ yesterday.
1745% Depending on the total number of columns that has been specified 1747% Depending on the total number of columns that has been specified
1746% with |tcols| above, |texts| is then used to define the names of the 1748% with |tcols| above, |texts| is then used to define the names of the
1747% environments that shall receive edition texts, translations, 1749% environments that shall receive edition texts, translations,
1748% \emph{\&c.} Some very important points need to be emphasized in this 1750% \emph{\&c.} Furthermore, as described \vpageref{ref:starred-envs},
1749% respect:--- 1751% \pkg{ekdosis} also defines \enquote{starred} versions of these
1752% environments to be used to synchronize columns so that corresponding
1753% paragraphs are printed vertically aligned. Some very important
1754% points need to be emphasized in this respect:---
1750% \begin{enumerate} 1755% \begin{enumerate}
1751% \item Only unaccented letters of the alphabet (whatever the case) 1756% \item Only unaccented letters of the alphabet (whatever the case)
1752% are allowed to compose the names of \LaTeX{} environments. 1757% are allowed to compose the names of \LaTeX{} environments.
@@ -1862,17 +1867,17 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
1862%</example> 1867%</example>
1863% \fi 1868% \fi
1864% 1869%
1865% \DescribeMacro{\SetEkdosisAlignment} 1870% \DescribeMacro{\SetAlignment}
1866% \cs{SetEkdosisAlignment}\marg{alignment settings}\\ 1871% \cs{SetAlignment}\marg{alignment settings}\\
1867% If the same alignment settings are to be shared by several 1872% If the same alignment settings are to be shared by several
1868% \env{alignment} environments, common settings can be collected in 1873% \env{alignment} environments, common settings can be collected in
1869% the argument of \cs{SetEkdosisEnvironment}, like 1874% the argument of \cs{SetAlignment}, like
1870% so:---\\ 1875% so:---\\
1871% \iffalse 1876% \iffalse
1872%<*example> 1877%<*example>
1873% \fi 1878% \fi
1874\begin{minted}[linenos=false]{latex} 1879\begin{minted}[linenos=false]{latex}
1875\SetEkdosisAlignment{ 1880\SetAlignment{
1876 tcols=3, 1881 tcols=3,
1877 lcols=1, 1882 lcols=1,
1878 texts=latin[xml:lang="la"]; 1883 texts=latin[xml:lang="la"];
@@ -1889,7 +1894,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
1889%</example> 1894%</example>
1890% \fi 1895% \fi
1891% 1896%
1892% \cs{SetEkdosisAlignment} can be used either in the preamble or at 1897% \cs{SetAlignment} can be used either in the preamble or at
1893% any point of the document to set or to modify alignment settings. 1898% any point of the document to set or to modify alignment settings.
1894% 1899%
1895% \subsubsection{Appending Hooks to Environments} 1900% \subsubsection{Appending Hooks to Environments}
@@ -1900,7 +1905,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
1900% provided by the \pkg{etoolbox} package\footnote{This package is 1905% provided by the \pkg{etoolbox} package\footnote{This package is
1901% loaded by \pkg{ekdosis}.} to further adjust languages, hyphenation 1906% loaded by \pkg{ekdosis}.} to further adjust languages, hyphenation
1902% rules, and/or fonts to be applied in each environment. To return to 1907% rules, and/or fonts to be applied in each environment. To return to
1903% the example provided above, once \cs{SetEkdosisAlignment} has been 1908% the example provided above, once \cs{SetAlignment} has been
1904% used, the languages can be set as follows:--- 1909% used, the languages can be set as follows:---
1905% 1910%
1906% \iffalse 1911% \iffalse
@@ -1924,8 +1929,8 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
1924% the apparatus criticus (e.g. sources, testimonia, variant readings 1929% the apparatus criticus (e.g. sources, testimonia, variant readings
1925% \emph{\&c.}) 1930% \emph{\&c.})
1926% 1931%
1927% \DescribeMacro{\SetEkdosisHooks} 1932% \DescribeMacro{\SetHooks}
1928% \cs{SetEkdosisHooks}\marg{csv list of hooks} can be used either in 1933% \cs{SetHooks}\marg{csv list of hooks} can be used either in
1929% the preamble or at any point of the document. The list of accepted 1934% the preamble or at any point of the document. The list of accepted
1930% hooks at the time of writing follows:---\\ 1935% hooks at the time of writing follows:---\\
1931% \DescribeOption{appfontsize} |appfontsize|$=$\meta{command} 1936% \DescribeOption{appfontsize} |appfontsize|$=$\meta{command}
@@ -2043,7 +2048,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
2043%<*example> 2048%<*example>
2044% \fi 2049% \fi
2045\begin{minted}[linenos=false]{latex} 2050\begin{minted}[linenos=false]{latex}
2046\SetEkdosisHooks{ 2051\SetHooks{
2047 refnumstyle=\normalfont 2052 refnumstyle=\normalfont
2048} 2053}
2049\SetApparatus{ 2054\SetApparatus{
@@ -2081,8 +2086,8 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
2081% internally. If any additional layer of notes be declared in the 2086% internally. If any additional layer of notes be declared in the
2082% preamble, this |default| layer must be included in the list of 2087% preamble, this |default| layer must be included in the list of
2083% declared layers.\\ 2088% declared layers.\\
2084% \DescribeMacro{\EkdosisDefaultApparatus}\label{ref:ekd-default-app} 2089% \DescribeMacro{\SetDefaultApparatus}\label{ref:ekd-default-app}
2085% \cs{EkdosisDefaultApparatus}\marg{name} can be used at any point of 2090% \cs{SetDefaultApparatus}\marg{name} can be used at any point of
2086% the document to change the default name that is used by 2091% the document to change the default name that is used by
2087% \pkg{ekdosis}. 2092% \pkg{ekdosis}.
2088% 2093%
@@ -2145,7 +2150,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
2145%<*example> 2150%<*example>
2146% \fi 2151% \fi
2147\begin{minted}[linenos=false]{latex} 2152\begin{minted}[linenos=false]{latex}
2148\SetEkdosisHooks{ 2153\SetHooks{
2149 refnumstyle=\normalfont 2154 refnumstyle=\normalfont
2150} 2155}
2151\DeclareApparatus{testium}[ 2156\DeclareApparatus{testium}[
@@ -2170,7 +2175,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
2170% \textooquote|default|\textcoquote\ layer. As a result, any note 2175% \textooquote|default|\textcoquote\ layer. As a result, any note
2171% inserted within the argument of \cs{app}|{}| as described 2176% inserted within the argument of \cs{app}|{}| as described
2172% \vpageref{ref:app-cmd} will go into that layer of the apparatus, 2177% \vpageref{ref:app-cmd} will go into that layer of the apparatus,
2173% unless \cs{EkdosisDefaultApparatus} has been used to set another 2178% unless \cs{SetDefaultApparatus} has been used to set another
2174% name for the default layer (see above 2179% name for the default layer (see above
2175% \vpageref{ref:ekd-default-app}). 2180% \vpageref{ref:ekd-default-app}).
2176% 2181%
@@ -2205,13 +2210,13 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
2205% \fi 2210% \fi
2206% 2211%
2207% If one wishes to refer to |rec1| as the default layer, then 2212% If one wishes to refer to |rec1| as the default layer, then
2208% \cs{EkdosisDefaultApparatus} must be used, like so:--- 2213% \cs{SetDefaultApparatus} must be used, like so:---
2209% 2214%
2210% \iffalse 2215% \iffalse
2211%<*example> 2216%<*example>
2212% \fi 2217% \fi
2213\begin{minted}[linenos=false]{latex} 2218\begin{minted}[linenos=false]{latex}
2214\EkdosisDefaultApparatus{rec1} 2219\SetDefaultApparatus{rec1}
2215\DeclareApparatus{rec1} % new layer set as default 2220\DeclareApparatus{rec1} % new layer set as default
2216\DeclareApparatus{rec2} % additional layer below the default one 2221\DeclareApparatus{rec2} % additional layer below the default one
2217\end{minted} 2222\end{minted}
@@ -3008,9 +3013,9 @@ subtype="arabtex">'inna 'abI kAna mina
3008% contents at the hierarchic level that is specified as value. 3013% contents at the hierarchic level that is specified as value.
3009% 3014%
3010% \paragraph{Formatting the Titles} 3015% \paragraph{Formatting the Titles}
3011% \DescribeMacro{\EkdosisFormatDivision} By design, \pkg{ekdosis} does 3016% \DescribeMacro{\FormatDiv} By design, \pkg{ekdosis} does
3012% not format the titles. Instead, depending on what is needed for the 3017% not format the titles. Instead, depending on what is needed for the
3013% edition text, \cs{EkdosisFormatDivision}\marg{n}\marg{code 3018% edition text, \cs{FormatDiv}\marg{n}\marg{code
3014% before}\marg{code after} is provided to lay out the titles of any 3019% before}\marg{code after} is provided to lay out the titles of any
3015% hierarchic depth of division. This command takes three mandatory 3020% hierarchic depth of division. This command takes three mandatory
3016% arguments as follows: \meta{n}, which is the number referring to the 3021% arguments as follows: \meta{n}, which is the number referring to the
@@ -3023,7 +3028,7 @@ subtype="arabtex">'inna 'abI kAna mina
3023%<*example> 3028%<*example>
3024% \fi 3029% \fi
3025\begin{minted}[linenos=false]{latex} 3030\begin{minted}[linenos=false]{latex}
3026\EkdosisFormatDivision{1}{\begin{center}\Large}{\end{center}} 3031\FormatDiv{1}{\begin{center}\Large}{\end{center}}
3027\end{minted} 3032\end{minted}
3028% \iffalse 3033% \iffalse
3029%</example> 3034%</example>
@@ -3038,9 +3043,9 @@ subtype="arabtex">'inna 'abI kAna mina
3038% \fi 3043% \fi
3039\begin{minted}[linenos=false]{latex} 3044\begin{minted}[linenos=false]{latex}
3040% Preamble: 3045% Preamble:
3041\EkdosisFormatDivision{1}{\begin{center}\Large}{\end{center}} 3046\FormatDiv{1}{\begin{center}\Large}{\end{center}}
3042\EkdosisFormatDivision{2}{\begin{center}\large}{\end{center}} 3047\FormatDiv{2}{\begin{center}\large}{\end{center}}
3043\EkdosisFormatDivision{3}{\bfseries}{.} 3048\FormatDiv{3}{\bfseries}{.}
3044 3049
3045% Document: 3050% Document:
3046\begin{ekdosis} 3051\begin{ekdosis}
@@ -3073,9 +3078,9 @@ subtype="arabtex">'inna 'abI kAna mina
3073% \medskip 3078% \medskip
3074% 3079%
3075% \resetlinenumber 3080% \resetlinenumber
3076% \EkdosisFormatDivision{1}{\begin{center}\Large}{\end{center}} 3081% \FormatDiv{1}{\begin{center}\Large}{\end{center}}
3077% \EkdosisFormatDivision{2}{\begin{center}\large}{\end{center}} 3082% \FormatDiv{2}{\begin{center}\large}{\end{center}}
3078% \EkdosisFormatDivision{3}{\bfseries}{.} 3083% \FormatDiv{3}{\bfseries}{.}
3079% \begin{alignment}[flush, 3084% \begin{alignment}[flush,
3080% tcols=1, 3085% tcols=1,
3081% texts=hippocrates[xml:lang="grc"], 3086% texts=hippocrates[xml:lang="grc"],
@@ -3686,7 +3691,7 @@ subtype="arabtex">'inna 'abI kAna mina
3686% \label{sec:caesar-gw-6-1-13} 3691% \label{sec:caesar-gw-6-1-13}
3687% \subsection{\texttt{.tex} Source File} 3692% \subsection{\texttt{.tex} Source File}
3688% \label{sec:caesar-gw-tex} 3693% \label{sec:caesar-gw-tex}
3689% \inputminted[linenos=false]{latex}{samples/Caesar_BG-6-13-1.tex} 3694% \inputminted[linenos=true]{latex}{samples/Caesar_BG-6-13-1.tex}
3690% \subsection{\texttt{TEI xml} Output} 3695% \subsection{\texttt{TEI xml} Output}
3691% \label{sec:caesar-gw-tei} 3696% \label{sec:caesar-gw-tei}
3692% \inputminted[linenos=false]{xml}{samples/Caesar_BG-6-13-1-tei.xml} 3697% \inputminted[linenos=false]{xml}{samples/Caesar_BG-6-13-1-tei.xml}
@@ -3836,7 +3841,7 @@ subtype="arabtex">'inna 'abI kAna mina
3836 \luadirect{ekdosis.closestream()} 3841 \luadirect{ekdosis.closestream()}
3837} 3842}
3838% \end{macrocode} 3843% \end{macrocode}
3839% \begin{macro}{\SetEkdosisHooks} \cs{SetEkdosisHooks} is used to set 3844% \begin{macro}{\SetHooks} \cs{SetHooks} is used to set
3840% hooks meant to be shared by all declared apparatuses, such as the 3845% hooks meant to be shared by all declared apparatuses, such as the
3841% font size, the format of numerals, \emph{\&c.} This command can be 3846% font size, the format of numerals, \emph{\&c.} This command can be
3842% used in the preamble or at any point of the document. 3847% used in the preamble or at any point of the document.
@@ -3849,7 +3854,7 @@ subtype="arabtex">'inna 'abI kAna mina
3849 initial refnumstyle = \bfseries, 3854 initial refnumstyle = \bfseries,
3850 initial postrefnum = ~ 3855 initial postrefnum = ~
3851} 3856}
3852\NewDocumentCommand{\SetEkdosisHooks}{m}{\ekvset{ekd@hooks}{#1}} 3857\NewDocumentCommand{\SetHooks}{m}{\ekvset{ekd@hooks}{#1}}
3853% \end{macrocode} 3858% \end{macrocode}
3854% \end{macro} 3859% \end{macro}
3855% Build and process the list of witnesses and hands:--- 3860% Build and process the list of witnesses and hands:---
@@ -4438,16 +4443,16 @@ subtype="arabtex">'inna 'abI kAna mina
4438% \begin{macrocode} 4443% \begin{macrocode}
4439\renewcommand\linenumberfont{\normalfont\footnotesize} 4444\renewcommand\linenumberfont{\normalfont\footnotesize}
4440% \end{macrocode} 4445% \end{macrocode}
4441% \begin{macro}{\EkdosisDefaultApparatus} 4446% \begin{macro}{\SetDefaultApparatus}
4442% By default, \pkg{ekdosis} defines one layer of critical notes which 4447% By default, \pkg{ekdosis} defines one layer of critical notes which
4443% is called |default|. This name can be changed at any point of the 4448% is called |default|. This name can be changed at any point of the
4444% document with \cs{EkdosisDefaultApparatus}\marg{name}. 4449% document with \cs{SetDefaultApparatus}\marg{name}.
4445% \begin{macrocode} 4450% \begin{macrocode}
4446\ekvdefinekeys{appnote}{ 4451\ekvdefinekeys{appnote}{
4447 store type = \ekdan@type, 4452 store type = \ekdan@type,
4448 initial type = default 4453 initial type = default
4449 } 4454 }
4450\NewDocumentCommand{\EkdosisDefaultApparatus}{m}{% 4455\NewDocumentCommand{\SetDefaultApparatus}{m}{%
4451 \ekvset{appnote}{type=#1}} 4456 \ekvset{appnote}{type=#1}}
4452% \end{macrocode} 4457% \end{macrocode}
4453% \end{macro} 4458% \end{macro}
@@ -5060,12 +5065,12 @@ subtype="arabtex">'inna 'abI kAna mina
5060 default segmentation = auto 5065 default segmentation = auto
5061} 5066}
5062% \end{macrocode} 5067% \end{macrocode}
5063% \begin{macro}{\SetEkdosisAlignment} 5068% \begin{macro}{\SetAlignment}
5064% \cs{SetEkdosisAlignment}\marg{settings} can be used either in the 5069% \cs{SetAlignment}\marg{settings} can be used either in the
5065% preamble or at any point of the document to set or modify the 5070% preamble or at any point of the document to set or modify the
5066% keys-value settings just defined above. 5071% keys-value settings just defined above.
5067% \begin{macrocode} 5072% \begin{macrocode}
5068\NewDocumentCommand{\SetEkdosisAlignment}{m}{ 5073\NewDocumentCommand{\SetAlignment}{m}{
5069 \ekvset{ekd@align}{#1} 5074 \ekvset{ekd@align}{#1}
5070} 5075}
5071% \end{macrocode} 5076% \end{macrocode}
@@ -5111,10 +5116,10 @@ subtype="arabtex">'inna 'abI kAna mina
5111% right-hand pages. To that effect, it provides by default two new 5116% right-hand pages. To that effect, it provides by default two new
5112% environments, \env{edition} and \env{translation}, to be used to 5117% environments, \env{edition} and \env{translation}, to be used to
5113% typeset both texts. (Either whole texts or texts entered by 5118% typeset both texts. (Either whole texts or texts entered by
5114% paragraphs alternately.) The optional argument of \env{aligment} 5119% paragraphs alternately.) The optional argument of \env{alignment}
5115% accepts the exact same key-value options as \cs{SetEkdosisAlignment} 5120% accepts the exact same key-value options as \cs{SetAlignment}
5116% described above. One may contrast these options with those accepted 5121% described above. One may contrast these options with those accepted
5117% by \cs{SetEkdosisAlignment} as \enquote{local settings}. 5122% by \cs{SetAlignment} as \enquote{local settings}.
5118% \begin{macrocode} 5123% \begin{macrocode}
5119\NewDocumentEnvironment{alignment}{O{}} 5124\NewDocumentEnvironment{alignment}{O{}}
5120{% 5125{%
@@ -5197,14 +5202,14 @@ subtype="arabtex">'inna 'abI kAna mina
5197 initial depth = 1 5202 initial depth = 1
5198} 5203}
5199% \end{macrocode} 5204% \end{macrocode}
5200% \begin{macro}{\EkdosisFormatDivision} 5205% \begin{macro}{\FormatDiv}
5201% \cs{EkdosisFormatDivision}\marg{n}\marg{code before}\marg{code 5206% \cs{FormatDiv}\marg{n}\marg{code before}\marg{code
5202% after} is used to lay out the heading of the title. It takes three 5207% after} is used to lay out the heading of the title. It takes three
5203% mandatory arguments: \emph{n}, namely the number referring to the 5208% mandatory arguments: \emph{n}, namely the number referring to the
5204% particular depth of the division, and then some \LaTeX{} formatting 5209% particular depth of the division, and then some \LaTeX{} formatting
5205% commands to go before and after the heading itself:--- 5210% commands to go before and after the heading itself:---
5206% \begin{macrocode} 5211% \begin{macrocode}
5207\NewDocumentCommand{\EkdosisFormatDivision}{m m m}{ 5212\NewDocumentCommand{\FormatDiv}{m m m}{
5208 \luadirect{ekdosis.fmtdiv(\luastring{#1}, 5213 \luadirect{ekdosis.fmtdiv(\luastring{#1},
5209 \luastringN{#2}, 5214 \luastringN{#2},
5210 \luastringN{#3})} 5215 \luastringN{#3})}
@@ -5212,7 +5217,7 @@ subtype="arabtex">'inna 'abI kAna mina
5212% \end{macrocode} 5217% \end{macrocode}
5213% \end{macro} 5218% \end{macro}
5214% \cs{ekd@getfmtdiv} gets the formatting commands that have been 5219% \cs{ekd@getfmtdiv} gets the formatting commands that have been
5215% stored by \cs{EkdosisFormatDivision}. 5220% stored by \cs{FormatDiv}.
5216% \begin{macrocode} 5221% \begin{macrocode}
5217\NewDocumentCommand{\ekd@getfmtdiv}{m m}{% 5222\NewDocumentCommand{\ekd@getfmtdiv}{m m}{%
5218 \luadirect{tex.sprint(ekdosis.getfmtdiv(\luastringO{#1}, 5223 \luadirect{tex.sprint(ekdosis.getfmtdiv(\luastringO{#1},