aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx16
1 files changed, 13 insertions, 3 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index ede20ef..c01189a 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -394,12 +394,20 @@ idno={}, msName={}][3]{%
394\newif\ifekd@isinapp 394\newif\ifekd@isinapp
395\providebool{al@rlmode} 395\providebool{al@rlmode}
396\newcounter{ekd@lab} 396\newcounter{ekd@lab}
397\def\unconditional@appin#1{%
398 \luadirect{ekdosis.appin(
399 \luastring{<\zref@extract{ekd:\theekd@lab}{abspage}>},
400 "no")}%
401 \luadirect{ekdosis.appin(\luastringN{#1}, "no")}%
402 \luadirect{ekdosis.appin(
403 \luastring{</\zref@extract{ekd:\theekd@lab}{abspage}>},
404 "yes")}%
405}
397\def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext} 406\def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext}
398\def\add@@apparatus{% 407\def\add@@apparatus{%
399 % \blfootnote{\apparatus}% 408 % \blfootnote{\apparatus}%
400 \if@pkg@parnotes\parnotes\else\fi% 409 \if@pkg@parnotes\parnotes\else\fi%
401 \keyparbox[b!]{}{% 410 \keyparbox[b!]{}{%
402 \rule{5cm}{0.5pt}\\
403 \if@pkg@parnotes% 411 \if@pkg@parnotes%
404 \if@parnotesroman% 412 \if@parnotesroman%
405 \renewcommand*{\theparnotemark}{\roman{parnotemark}}\else\fi% 413 \renewcommand*{\theparnotemark}{\roman{parnotemark}}\else\fi%
@@ -407,10 +415,11 @@ idno={}, msName={}][3]{%
407 \footnotesize\apparatus% 415 \footnotesize\apparatus%
408 \if@pkg@parnotes\parnotes\parnotereset\else\fi% 416 \if@pkg@parnotes\parnotes\parnotereset\else\fi%
409 }% 417 }%
418 \unconditional@appin{\rule{5cm}{0.5pt}\newline}
410} 419}
411\def\add@apparatus{% 420\def\add@apparatus{%
412 \notbool{ekd@started}{\add@@apparatus% 421 \notbool{ekd@started}{\add@@apparatus%
413 \setbool{ekd@started}{true}} 422 \global\setbool{ekd@started}{true}}
414 {\test@apparatus% 423 {\test@apparatus%
415 \ifbool{do@app}{\add@@apparatus}{}}% 424 \ifbool{do@app}{\add@@apparatus}{}}%
416} 425}
@@ -532,7 +541,8 @@ choice nolem={false,,true}][1]{%
532} 541}
533\NewDocumentEnvironment{ekdosis}{+b}{% 542\NewDocumentEnvironment{ekdosis}{+b}{%
534 \begin{linenumbers} 543 \begin{linenumbers}
535 \EkdosisStart% 544 \ifbool{ekd@started}{}%
545 {\EkdosisStart\add@apparatus}%
536 \EkdosisOn#1}{% 546 \EkdosisOn#1}{%
537 \EkdosisOff 547 \EkdosisOff
538 \end{linenumbers}% 548 \end{linenumbers}%