From 46980fd5fc7cdded5ac372cb8a560e0b985e8ea9 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 31 May 2021 16:40:43 +0200 Subject: new option 'lineation=none' --- ekdosis.dtx | 12 ++++++++---- 1 file 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,} % to set lineation preferences. Its argument processes the |key=value| % options that follow:---\\ % \textbf{General Options}\\ -% \DescribeOption{lineation} |lineation|$=$\verb+page|document+ +% \DescribeOption{lineation} |lineation|$=$\verb+page|document|none+ % \hfill\tcboxverb{Default: document}\\ % |lineation=document| has the lines numbered continuously throughout % the document while |lineation=page| instructs \pkg{ekdosis} that the -% numbering should start afresh at the top of each page.\\ +% numbering should start afresh at the top of each page. |none| does +% the same as |page| but prevents the numbers from being printed in +% the margins while keeping them in use in the apparatus criticus.\\ % \DescribeOption{modulo} |modulo| \hfill\tcboxverb{Default: not set}\\ % |modulo| does not accept any value. When this option is set, every % fifth line is numbered.\\ @@ -8034,7 +8036,7 @@ Sample text with a \textcolor{red}{word} in red. {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2}, \luastringO{#1}))}}} % \end{macrocode} -% \paragraph{Lineation settings} +% \paragraph{Lineation Settings} % \begin{macro}{\outerlinenumbers} % \begin{macro}{\innerlinenumbers} % \pkg{ekdosis} does not use the \enquote{pagewise} numbering mode @@ -8081,7 +8083,9 @@ Sample text with a \textcolor{red}{word} in red. \newif\ifekd@elidednumbers \ekvdefinekeys{ekd@lineation}{ choice lineation = {page = \ekd@pagelineationtrue, - document = \ekd@pagelineationfalse}, + document = \ekd@pagelineationfalse, + none = \ekd@pagelineationtrue + \renewcommand\thelinenumber{}}, unknown-choice lineation = \PackageError{ekdosis}{unknown lineation=#1}{`lineation' must be either `page' or `document'.}, choice vlineation = {page = \ekd@pagevlineationtrue, -- cgit v1.2.3