aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx26
1 files changed, 18 insertions, 8 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index f4204bc..1efb600 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -2344,7 +2344,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
2344\newif\iftei@export 2344\newif\iftei@export
2345\ekvdefinekeys{ekdosis}{ 2345\ekvdefinekeys{ekdosis}{
2346 choice layout = {float = {\@pkg@floattrue}, 2346 choice layout = {float = {\@pkg@floattrue},
2347 footins = {\@pkg@footinstrue}}, 2347 footins = {\@pkg@floatfalse\@pkg@footinstrue}},
2348 initial layout = float, 2348 initial layout = float,
2349 unknown-choice layout = \PackageError{ekdosis}{unknown 2349 unknown-choice layout = \PackageError{ekdosis}{unknown
2350 layout=#1}{`layout' must be either `float' or `footins'.}, 2350 layout=#1}{`layout' must be either `float' or `footins'.},
@@ -2818,11 +2818,12 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
2818% \end{macro} 2818% \end{macro}
2819% \end{macro} 2819% \end{macro}
2820% \begin{macro}{\SetDefaultRule} 2820% \begin{macro}{\SetDefaultRule}
2821% By default, \pkg{ekdosis} draws separating rules the definition of 2821% By default, \pkg{ekdosis} draws separating rules the definition of
2822% which is |\rule{0.4\columnwidth}{0.4pt}|. This can be changed in the 2822% which is |\rule{0.4\columnwid|\allowbreak|th}{0.4pt}|. This can be
2823% preamble or at any point of the document with 2823% changed in the preamble or at any point of the document with
2824% \cs{SetDefaultRule}\marg{\allowbreak{}rule definition}. Leaving this 2824% \cs{SetDefaultRule}\marg{\allowbreak{}rule definition}. Leaving
2825% argument empty as in \cs{SetDefaultRule}|{}| removes the rule. 2825% this argument empty as in \cs{SetDefaultRule}|{}| removes the
2826% rule.
2826% \begin{macrocode} 2827% \begin{macrocode}
2827\NewDocumentCommand{\SetDefaultRule}{m}{% 2828\NewDocumentCommand{\SetDefaultRule}{m}{%
2828 \def\@tempa{#1} 2829 \def\@tempa{#1}
@@ -3454,7 +3455,9 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3454} 3455}
3455% \end{macrocode} 3456% \end{macrocode}
3456% \paragraph{Lineation settings} 3457% \paragraph{Lineation settings}
3457% 3458% The keys to be used for lineation settings follow. A conditional is
3459% defined beforehand so that \pkg{ekdosis} may know whether the
3460% numbering should start afresh at the top of each page.
3458% \begin{macrocode} 3461% \begin{macrocode}
3459\newif\ifekd@pagelineation 3462\newif\ifekd@pagelineation
3460\NewDocumentCommand{\ekdatbegshihook}{}{% 3463\NewDocumentCommand{\ekdatbegshihook}{}{%
@@ -3469,11 +3472,18 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3469 code modulonum = \chardef\c@linenumbermodulo#1\relax, 3472 code modulonum = \chardef\c@linenumbermodulo#1\relax,
3470 noval modulo = \modulolinenumbers 3473 noval modulo = \modulolinenumbers
3471} 3474}
3475% \end{macrocode}
3476% \begin{macro}{\SetLineation}
3477% Then \cs{SetLineation}\marg{options} can be used in the preamble or
3478% at any point of the document to set lineation preferences. Its
3479% argument processes the |key-value| options that are defined just
3480% above.
3481% \begin{macrocode}
3472\NewDocumentCommand{\SetLineation}{m}{ 3482\NewDocumentCommand{\SetLineation}{m}{
3473 \ekvset{ekd@lineation}{#1} 3483 \ekvset{ekd@lineation}{#1}
3474} 3484}
3475% \end{macrocode} 3485% \end{macrocode}
3476% 3486% \end{macro}
3477% Start and stop |ekdosis|: 3487% Start and stop |ekdosis|:
3478% \begin{macrocode} 3488% \begin{macrocode}
3479\NewDocumentCommand{\EkdosisOn}{}{% 3489\NewDocumentCommand{\EkdosisOn}{}{%