aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-03-06 08:16:15 +0100
committerRobert Alessi <alessi@robertalessi.net>2021-03-06 08:16:15 +0100
commit04f4af2def2c0dd166f769a58745a3e5a7890f98 (patch)
tree721c984a82a478655f80d418aa2d72c4eb05f220
parent56976e1c6d03ba7b76074b4a358231e7a81b3d29 (diff)
downloadekdosis-04f4af2def2c0dd166f769a58745a3e5a7890f98.tar.gz
poetry: added continuousvnum
-rw-r--r--ekdosis.dtx23
1 files changed, 15 insertions, 8 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 7ba163f..6f85753 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -3467,6 +3467,10 @@ argument of the
3467% element (ll.~5--7). Otherwise, the \texttt{TEI} output would not be 3467% element (ll.~5--7). Otherwise, the \texttt{TEI} output would not be
3468% valid. 3468% valid.
3469% 3469%
3470% \section{Poetry}
3471% \label{sec:poetry}
3472%
3473%
3470% \section{Lineation Settings} 3474% \section{Lineation Settings}
3471% \label{sec:lineation} 3475% \label{sec:lineation}
3472% \danger \pkg{ekdosis} uses \pkg{lineno} internally for line 3476% \danger \pkg{ekdosis} uses \pkg{lineno} internally for line
@@ -4246,13 +4250,13 @@ subtype="arabtex">'inna 'abI kAna mina
4246% \newfeature[v1.2]\\ 4250% \newfeature[v1.2]\\
4247% One way to avoid this inconvenience is to use \cs{ekdpb} instead of 4251% One way to avoid this inconvenience is to use \cs{ekdpb} instead of
4248% the standard \cs{pagebreak} command provided by \LaTeX\ to insert 4252% the standard \cs{pagebreak} command provided by \LaTeX\ to insert
4249% conditional page breaks. \cs{ekdpb} takes as mandatory argument an 4253% conditional page breaks. \cs{ekdpb} takes as mandatory argument the
4250% integer that represents the line number where the page break should 4254% line number, as it is printed in the margin, where the page break
4251% take place. An optional argument allows to further specify the page 4255% should take place. An optional argument allows to further specify
4252% number where the page break should occur. The value that is expected 4256% the page number where the page break should occur. The value that is
4253% is the page number as it is printed\===e.g.\ an Arabic, Roman or 4257% expected is the page number as it is printed\===e.g.\ an Arabic,
4254% alphanumeric number. If the specified conditions are not met, then 4258% Roman or alphanumeric number. If the specified conditions are not
4255% the page break is not triggered. 4259% met, then the page break is not triggered.
4256% 4260%
4257% \paragraph{Using \texttt{maxentries}} 4261% \paragraph{Using \texttt{maxentries}}
4258% Another way\---should the edition text fall into the vicious circle 4262% Another way\---should the edition text fall into the vicious circle
@@ -6855,6 +6859,7 @@ Sample text with a \textcolor{red}{word} in red.
6855 code vmodulonum = \if@pkg@verse\poemlines{#1}\fi, 6859 code vmodulonum = \if@pkg@verse\poemlines{#1}\fi,
6856 initial vmodulonum = 1, 6860 initial vmodulonum = 1,
6857 noval vmodulo = \if@pkg@verse\poemlines{5}\fi, 6861 noval vmodulo = \if@pkg@verse\poemlines{5}\fi,
6862 bool continuousvnum = \if@continuous@vnum,
6858 choice numbers = {elided = \ekd@elidednumberstrue, 6863 choice numbers = {elided = \ekd@elidednumberstrue,
6859 full = \ekd@elidednumbersfalse}, 6864 full = \ekd@elidednumbersfalse},
6860 unknown-choice numbers = \PackageError{ekdosis}{unknown 6865 unknown-choice numbers = \PackageError{ekdosis}{unknown
@@ -7868,6 +7873,7 @@ Sample text with a \textcolor{red}{word} in red.
7868\verselinenumfont{\normalfont\footnotesize} 7873\verselinenumfont{\normalfont\footnotesize}
7869\setcounter{poemline}{1} 7874\setcounter{poemline}{1}
7870\NewDocumentEnvironment{ekdverse}{O{\linewidth}}{% 7875\NewDocumentEnvironment{ekdverse}{O{\linewidth}}{%
7876 \if@continuous@vnum\setverselinenums{\thelinenumber}{0}\fi
7871 \nolinenumbers 7877 \nolinenumbers
7872 \let\linelabel\label 7878 \let\linelabel\label
7873 \stepcounter{verse@envctr}% 7879 \stepcounter{verse@envctr}%
@@ -7892,7 +7898,8 @@ Sample text with a \textcolor{red}{word} in red.
7892 \addtolength{\leftmargin}{\vindent}}% 7898 \addtolength{\leftmargin}{\vindent}}%
7893 \item[]% 7899 \item[]%
7894} 7900}
7895{\endlist} 7901{\endlist
7902\if@continuous@vnum\resetlinenumber[\thepoemline]\fi}
7896\else 7903\else
7897\newlength{\ekdverseindentlength} 7904\newlength{\ekdverseindentlength}
7898\setlength{\ekdverseindentlength}{\parindent} 7905\setlength{\ekdverseindentlength}{\parindent}