aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-05-31 16:40:43 +0200
committerRobert Alessi <alessi@robertalessi.net>2021-05-31 16:40:43 +0200
commit46980fd5fc7cdded5ac372cb8a560e0b985e8ea9 (patch)
tree3610768d1a56c3a9c196afc19a7df673c15380e3
parent795d032a7eddb2de49a43cf3e770a71a3c3491ef (diff)
downloadekdosis-46980fd5fc7cdded5ac372cb8a560e0b985e8ea9.tar.gz
new option 'lineation=none'
-rw-r--r--ekdosis.dtx12
1 files changed, 8 insertions, 4 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 6384763..91b6b94 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -4468,11 +4468,13 @@ substantiall fewell,}
4468% to set lineation preferences. Its argument processes the |key=value| 4468% to set lineation preferences. Its argument processes the |key=value|
4469% options that follow:---\\ 4469% options that follow:---\\
4470% \textbf{General Options}\\ 4470% \textbf{General Options}\\
4471% \DescribeOption{lineation} |lineation|$=$\verb+page|document+ 4471% \DescribeOption{lineation} |lineation|$=$\verb+page|document|none+
4472% \hfill\tcboxverb{Default: document}\\ 4472% \hfill\tcboxverb{Default: document}\\
4473% |lineation=document| has the lines numbered continuously throughout 4473% |lineation=document| has the lines numbered continuously throughout
4474% the document while |lineation=page| instructs \pkg{ekdosis} that the 4474% the document while |lineation=page| instructs \pkg{ekdosis} that the
4475% numbering should start afresh at the top of each page.\\ 4475% numbering should start afresh at the top of each page. |none| does
4476% the same as |page| but prevents the numbers from being printed in
4477% the margins while keeping them in use in the apparatus criticus.\\
4476% \DescribeOption{modulo} |modulo| \hfill\tcboxverb{Default: not set}\\ 4478% \DescribeOption{modulo} |modulo| \hfill\tcboxverb{Default: not set}\\
4477% |modulo| does not accept any value. When this option is set, every 4479% |modulo| does not accept any value. When this option is set, every
4478% fifth line is numbered.\\ 4480% fifth line is numbered.\\
@@ -8034,7 +8036,7 @@ Sample text with a \textcolor{red}{word} in red.
8034 {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2}, 8036 {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2},
8035 \luastringO{#1}))}}} 8037 \luastringO{#1}))}}}
8036% \end{macrocode} 8038% \end{macrocode}
8037% \paragraph{Lineation settings} 8039% \paragraph{Lineation Settings}
8038% \begin{macro}{\outerlinenumbers} 8040% \begin{macro}{\outerlinenumbers}
8039% \begin{macro}{\innerlinenumbers} 8041% \begin{macro}{\innerlinenumbers}
8040% \pkg{ekdosis} does not use the \enquote{pagewise} numbering mode 8042% \pkg{ekdosis} does not use the \enquote{pagewise} numbering mode
@@ -8081,7 +8083,9 @@ Sample text with a \textcolor{red}{word} in red.
8081\newif\ifekd@elidednumbers 8083\newif\ifekd@elidednumbers
8082\ekvdefinekeys{ekd@lineation}{ 8084\ekvdefinekeys{ekd@lineation}{
8083 choice lineation = {page = \ekd@pagelineationtrue, 8085 choice lineation = {page = \ekd@pagelineationtrue,
8084 document = \ekd@pagelineationfalse}, 8086 document = \ekd@pagelineationfalse,
8087 none = \ekd@pagelineationtrue
8088 \renewcommand\thelinenumber{}},
8085 unknown-choice lineation = \PackageError{ekdosis}{unknown 8089 unknown-choice lineation = \PackageError{ekdosis}{unknown
8086 lineation=#1}{`lineation' must be either `page' or `document'.}, 8090 lineation=#1}{`lineation' must be either `page' or `document'.},
8087 choice vlineation = {page = \ekd@pagevlineationtrue, 8091 choice vlineation = {page = \ekd@pagevlineationtrue,