aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx17
1 files changed, 12 insertions, 5 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 293cc1c..bed668b 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -345,6 +345,8 @@ Running "make install" installs the files in the local TeX tree.
345\newbool{ekdstarted} 345\newbool{ekdstarted}
346\newbool{doapp} 346\newbool{doapp}
347\newbool{ekdstate} 347\newbool{ekdstate}
348\newif\ifinapp
349\newif\ifnonote
348\providebool{al@rlmode} 350\providebool{al@rlmode}
349\newcounter{ekd@lab} 351\newcounter{ekd@lab}
350\def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext} 352\def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext}
@@ -384,15 +386,17 @@ Running "make install" installs the files in the local TeX tree.
384 ekdosis.storeabspg(\luastring{\zref@extract{ekd:\theekd@lab}{abspage}}, 386 ekdosis.storeabspg(\luastring{\zref@extract{ekd:\theekd@lab}{abspage}},
385 "pg_ii")}% 387 "pg_ii")}%
386 \ifbool{ekdstate}{\add@apparatus}{}% 388 \ifbool{ekdstate}{\add@apparatus}{}%
387 #1} 389 #1}
388\NewDocumentCommand{\lem}{o +m}{% 390\NewDocumentCommand{\lem}{o +m}{\nonotetrue#2%
391 \nonotefalse\inapptrue%
389 \ifbool{al@rlmode}% 392 \ifbool{al@rlmode}%
390 {\IfNoValueTF{#1}% 393 {\IfNoValueTF{#1}%
391 {#2\obappend{\bgroup\setRL#2\egroup:}}% 394 {\obappend{\bgroup\setRL#2\egroup:}}%
392 {#2\obappend{\bgroup\setRL#2\egroup{} #1:}}}% 395 {\obappend{\bgroup\setRL#2\egroup{} #1:}}}%
393 {\IfNoValueTF{#1}{#2\obappend{#2:}}{#2\obappend{#2 #1:}}}% 396 {\IfNoValueTF{#1}{\obappend{#2:}}{\obappend{#2 #1:}}}%
394} 397}
395\NewDocumentCommand{\rdg}{o +m}{% 398\NewDocumentCommand{\rdg}{o +m}{%
399 \inapptrue%
396 \ifbool{al@rlmode}% 400 \ifbool{al@rlmode}%
397 {\IfNoValueTF{#1} 401 {\IfNoValueTF{#1}
398 {\append{\bgroup\setRL#2\egroup}} 402 {\append{\bgroup\setRL#2\egroup}}
@@ -400,9 +404,12 @@ Running "make install" installs the files in the local TeX tree.
400 {\IfNoValueTF{#1}{\append{#2}}{\append{#2 #1}}}% 404 {\IfNoValueTF{#1}{\append{#2}}{\append{#2 #1}}}%
401} 405}
402\NewDocumentCommand{\note}{s +m}{% 406\NewDocumentCommand{\note}{s +m}{%
407 \ifnonote\else%
408 \ifinapp%
403 \IfBooleanTF{#1}{% 409 \IfBooleanTF{#1}{%
404 \if@pkg@parnotes\append{\parnote{#2}}% 410 \if@pkg@parnotes\append{\parnote{#2}}%
405 \else\append{\footnote{#2}}\fi}{\append{#2}}% 411 \else\append{\footnote{#2}}\fi}{\append{#2}}%
412 \else\ #2 \fi\fi%
406} 413}
407\NewDocumentCommand{\apparatus}{}{\luadirect{tex.sprint(appout())}} 414\NewDocumentCommand{\apparatus}{}{\luadirect{tex.sprint(appout())}}
408\NewDocumentCommand{\testapparatus}{}{% 415\NewDocumentCommand{\testapparatus}{}{%