diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-10-29 13:01:21 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-10-29 13:01:21 +0100 |
commit | 218be66e86b5cf8f8e84640006fdfc7ed4c8bcc4 (patch) | |
tree | 580e8bfc44ceb3afabedf2cdb3f43dbb74e52fba | |
parent | 959b7789787a6848434f2c4fe61ca932571b569d (diff) | |
download | ekdosis-218be66e86b5cf8f8e84640006fdfc7ed4c8bcc4.tar.gz |
let \note be \note@ekd in 'ekdosis' environment only
-rw-r--r-- | ekdosis.dtx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 5e9dedd..1867d72 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -995,7 +995,7 @@ idno={}, msName={}, origDate={}][3]{% | |||
995 | {\ekd@note[#2]{\unexpanded{#3}}}% | 995 | {\ekd@note[#2]{\unexpanded{#3}}}% |
996 | }% | 996 | }% |
997 | } | 997 | } |
998 | \NewDocumentCommand{\note}{s O{} +m}{% | 998 | \NewDocumentCommand{\note@ekd}{s O{} +m}{% |
999 | \ifekd@isinapp% | 999 | \ifekd@isinapp% |
1000 | \ifekd@isinlem% | 1000 | \ifekd@isinlem% |
1001 | \note@noapp[#2]{#3}% | 1001 | \note@noapp[#2]{#3}% |
@@ -1022,6 +1022,7 @@ idno={}, msName={}, origDate={}][3]{% | |||
1022 | \ekd@statefalse% | 1022 | \ekd@statefalse% |
1023 | } | 1023 | } |
1024 | \NewDocumentEnvironment{ekdosis}{+b}{% | 1024 | \NewDocumentEnvironment{ekdosis}{+b}{% |
1025 | \let\note\note@ekd | ||
1025 | \begin{linenumbers} | 1026 | \begin{linenumbers} |
1026 | \EkdosisStart | 1027 | \EkdosisStart |
1027 | \EkdosisOn#1}{% | 1028 | \EkdosisOn#1}{% |