aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx26
1 files changed, 21 insertions, 5 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 983ead7..ff1a81f 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -566,13 +566,29 @@ choice nosep={false,,true}, choice nolem={false,,true}][1]{%
566 }% 566 }%
567 \ifcommandkey{prewit}{ \commandkey{prewit} }{}% 567 \ifcommandkey{prewit}{ \commandkey{prewit} }{}%
568 \ifcommandkey{wit}{ \getsiglum{\commandkey{wit}}}{}% 568 \ifcommandkey{wit}{ \getsiglum{\commandkey{wit}}}{}%
569 \ifcommandkey{postwit}{ \commandkey{postwit}}{}% 569 \ifcommandkey{postwit}{ \commandkey{postwit}\unskip}{\unskip}%
570 }}% 570 }}%
571} 571}
572\NewDocumentCommand{\note}{s +m}{% 572\newkeycommand+[\|]{\ekd@note}[pre, post][1]{%
573 \IfBooleanTF{#1}{% 573 \append@app{\ifcommandkey{pre}{\commandkey{pre}}{}%
574 \if@pkg@parnotes\append@app{\parnote{#2}}% 574 #1%
575 \else\append@app{\footnote{#2}}\fi}{\append@app{#2}}% 575 \ifcommandkey{post}{\commandkey{post}}{}}%
576}
577\newkeycommand+[\|]{\ekd@note@star}[pre, post][1]{%
578 |\if@pkg@parnotes|%
579 \append@app{%
580 \ifcommandkey{pre}{\commandkey{pre}}{}%
581 |\parnote|{#1}%
582 \ifcommandkey{post}{\commandkey{post}}{}%
583 }%
584 |\else|%
585 \append@app{%
586 |\footnote|{#1}}
587 |\fi|%
588}
589\NewDocumentCommand{\note}{s O{} +m}{%
590 \IfBooleanTF{#1}{\ekd@note@star[#2]{#3}}
591 {\ekd@note[#2]{#3}}%
576} 592}
577\NewDocumentCommand{\apparatus}{}{\luadirect{tex.sprint(ekdosis.appout())}} 593\NewDocumentCommand{\apparatus}{}{\luadirect{tex.sprint(ekdosis.appout())}}
578\NewDocumentCommand{\test@apparatus}{}{% 594\NewDocumentCommand{\test@apparatus}{}{%