From 218be66e86b5cf8f8e84640006fdfc7ed4c8bcc4 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Tue, 29 Oct 2019 13:01:21 +0100 Subject: let \note be \note@ekd in 'ekdosis' environment only --- ekdosis.dtx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]{% {\ekd@note[#2]{\unexpanded{#3}}}% }% } -\NewDocumentCommand{\note}{s O{} +m}{% +\NewDocumentCommand{\note@ekd}{s O{} +m}{% \ifekd@isinapp% \ifekd@isinlem% \note@noapp[#2]{#3}% @@ -1022,6 +1022,7 @@ idno={}, msName={}, origDate={}][3]{% \ekd@statefalse% } \NewDocumentEnvironment{ekdosis}{+b}{% + \let\note\note@ekd \begin{linenumbers} \EkdosisStart \EkdosisOn#1}{% -- cgit v1.2.3