aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx80
1 files changed, 56 insertions, 24 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index df443ab..858f1a3 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -387,42 +387,74 @@ Running "make install" installs the files in the local TeX tree.
387 "pg_ii")}% 387 "pg_ii")}%
388 \ifbool{ekdstate}{\add@apparatus}{}% 388 \ifbool{ekdstate}{\add@apparatus}{}%
389 #1} 389 #1}
390\newkeycommand+[\|]{\lem}[wit,alt,post,pre][1]{% 390\newkeycommand+[\|]{\lem}[wit, alt, pre, post, prewit, postwit][1]{%
391 #1% 391 #1%
392 |\ifbool{al@rlmode}|% 392 |\ifbool{al@rlmode}|%
393 {|\obappend|{% 393 {|\obappend|{%
394 \bgroup% 394 \bgroup%
395 |\setRL|\ifcommandkey{alt}{\commandkey{alt}% 395 |\setRL|%
396 \ifcommandkey{alt}{%
397 \ifcommandkey{post}{ \commandkey{post} }{}%
398 \commandkey{alt}%
396 \ifcommandkey{pre}{ \commandkey{pre} }{}% 399 \ifcommandkey{pre}{ \commandkey{pre} }{}%
397 }{#1% 400 }{%
401 \ifcommandkey{post}{ \commandkey{post} }{}%
402 #1%
398 \ifcommandkey{pre}{ \commandkey{pre} }{}% 403 \ifcommandkey{pre}{ \commandkey{pre} }{}%
399 }% 404 }%
400 \egroup{}% 405 \egroup{}%
401 \ifcommandkey{wit}{ \commandkey{wit}}{}:}}% 406 \ifcommandkey{prewit}{ \commandkey{prewit} }{}%
402 {|\obappend|{\ifcommandkey{alt}{\commandkey{alt}% 407 \ifcommandkey{wit}{ \commandkey{wit}}{}%
408 \ifcommandkey{postwit}{ \commandkey{postwit}}{}:%
409 }}%
410 {|\obappend|{%
411 \ifcommandkey{alt}{%
412 \ifcommandkey{pre}{ \commandkey{pre} }{}%
413 \commandkey{alt}%
403 \ifcommandkey{post}{ \commandkey{post} }{}% 414 \ifcommandkey{post}{ \commandkey{post} }{}%
404 }{#1% 415 }{%
416 \ifcommandkey{pre}{ \commandkey{pre} }{}%
417 #1%
405 \ifcommandkey{post}{ \commandkey{post} }{}% 418 \ifcommandkey{post}{ \commandkey{post} }{}%
406 }% 419 }%
407 \ifcommandkey{wit}{ \commandkey{wit}}{}:}}% 420 \ifcommandkey{prewit}{ \commandkey{prewit} }{}%
421 \ifcommandkey{wit}{ \commandkey{wit}}{}%
422 \ifcommandkey{postwit}{ \commandkey{postwit}}{}:%
423 }}%
408} 424}
409 % \NewDocumentCommand{\lem}{o +m}{\nonotetrue#2% 425\newkeycommand+[\|]{\rdg}[wit, alt, pre, post, prewit, postwit][1]{%
410 % \nonotefalse\bgroup\inappfalse% 426 |\ifbool{al@rlmode}|%
411 % \ifbool{al@rlmode}% 427 {|\append|{%
412 % {\IfNoValueTF{#1}% 428 \bgroup%
413 % {\obappend{\bgroup\setRL#2\egroup:}}% 429 |\setRL|%
414 % {\obappend{\bgroup\setRL#2\egroup{} #1:}}}% 430 \ifcommandkey{alt}{%
415 % {\IfNoValueTF{#1}{\obappend{#2:}}{\obappend{#2 #1:}}}% 431 \ifcommandkey{post}{ \commandkey{post} }{}%
416 % \egroup% 432 \commandkey{alt}%
417 % } 433 \ifcommandkey{pre}{ \commandkey{pre} }{}%
418\NewDocumentCommand{\rdg}{o +m}{% 434 }{%
419 \bgroup% 435 \ifcommandkey{post}{ \commandkey{post} }{}%
420 \ifbool{al@rlmode}% 436 #1%
421 {\IfNoValueTF{#1} 437 \ifcommandkey{pre}{ \commandkey{pre} }{}%
422 {\append{\bgroup\setRL#2\egroup}} 438 }%
423 {\append{\bgroup\setRL#2\egroup{} #1}}} 439 \egroup{}%
424 {\IfNoValueTF{#1}{\append{#2}}{\append{#2 #1}}}% 440 \ifcommandkey{prewit}{ \commandkey{prewit} }{}%
425 \egroup% 441 \ifcommandkey{wit}{ \commandkey{wit}}{}%
442 \ifcommandkey{postwit}{ \commandkey{postwit}}{}%
443 }}%
444 {|\append|{%
445 \ifcommandkey{alt}{%
446 \ifcommandkey{pre}{ \commandkey{pre} }{}%
447 \commandkey{alt}%
448 \ifcommandkey{post}{ \commandkey{post} }{}%
449 }{%
450 \ifcommandkey{pre}{ \commandkey{pre} }{}%
451 #1%
452 \ifcommandkey{post}{ \commandkey{post} }{}%
453 }%
454 \ifcommandkey{prewit}{ \commandkey{prewit} }{}%
455 \ifcommandkey{wit}{ \commandkey{wit}}{}%
456 \ifcommandkey{postwit}{ \commandkey{postwit}}{}%
457 }}%
426} 458}
427\NewDocumentCommand{\note}{s +m}{% 459\NewDocumentCommand{\note}{s +m}{%
428 \IfBooleanTF{#1}{% 460 \IfBooleanTF{#1}{%