diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-11-13 16:36:25 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-11-13 16:36:25 +0100 |
commit | 55bafcd5eba8427fd04bcde4d1af8291beea26f5 (patch) | |
tree | 56e1193010969d518beef8b3ae4c9a4e65606905 | |
parent | 1fc3c0dc8a312b55ef77372d47542af30f3f4ae8 (diff) | |
download | ekdosis-55bafcd5eba8427fd04bcde4d1af8291beea26f5.tar.gz |
misplaced conditionals
-rw-r--r-- | ekdosis.dtx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 8dca80f..709d042 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -387,22 +387,24 @@ Running "make install" installs the files in the local TeX tree. | |||
387 | ekdosis.storeabspg(\luastring{\zref@extract{ekd:\theekd@lab}{abspage}}, | 387 | ekdosis.storeabspg(\luastring{\zref@extract{ekd:\theekd@lab}{abspage}}, |
388 | "pg_ii")}% | 388 | "pg_ii")}% |
389 | \ifbool{ekdstate}{\add@apparatus}{}% | 389 | \ifbool{ekdstate}{\add@apparatus}{}% |
390 | #1} | 390 | \bgroup\inapptrue#1\egroup} |
391 | \NewDocumentCommand{\lem}{o +m}{\nonotetrue#2% | 391 | \NewDocumentCommand{\lem}{o +m}{\nonotetrue#2% |
392 | \nonotefalse\inapptrue% | 392 | \nonotefalse\bgroup\inappfalse% |
393 | \ifbool{al@rlmode}% | 393 | \ifbool{al@rlmode}% |
394 | {\IfNoValueTF{#1}% | 394 | {\IfNoValueTF{#1}% |
395 | {\obappend{\bgroup\setRL#2\egroup:}}% | 395 | {\obappend{\bgroup\setRL#2\egroup:}}% |
396 | {\obappend{\bgroup\setRL#2\egroup{} #1:}}}% | 396 | {\obappend{\bgroup\setRL#2\egroup{} #1:}}}% |
397 | {\IfNoValueTF{#1}{\obappend{#2:}}{\obappend{#2 #1:}}}% | 397 | {\IfNoValueTF{#1}{\obappend{#2:}}{\obappend{#2 #1:}}}% |
398 | \egroup% | ||
398 | } | 399 | } |
399 | \NewDocumentCommand{\rdg}{o +m}{% | 400 | \NewDocumentCommand{\rdg}{o +m}{% |
400 | \inapptrue% | 401 | \bgroup\inappfalse% |
401 | \ifbool{al@rlmode}% | 402 | \ifbool{al@rlmode}% |
402 | {\IfNoValueTF{#1} | 403 | {\IfNoValueTF{#1} |
403 | {\append{\bgroup\setRL#2\egroup}} | 404 | {\append{\bgroup\setRL#2\egroup}} |
404 | {\append{\bgroup\setRL#2\egroup{} #1}}} | 405 | {\append{\bgroup\setRL#2\egroup{} #1}}} |
405 | {\IfNoValueTF{#1}{\append{#2}}{\append{#2 #1}}}% | 406 | {\IfNoValueTF{#1}{\append{#2}}{\append{#2 #1}}}% |
407 | \egroup% | ||
406 | } | 408 | } |
407 | \NewDocumentCommand{\note}{s +m}{% | 409 | \NewDocumentCommand{\note}{s +m}{% |
408 | \ifnonote\else% | 410 | \ifnonote\else% |