From 6fb1fbb8c61436430a9a83a0e2232a263387f951 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Wed, 3 Feb 2021 09:39:51 +0100
Subject: made \note aware of multiple-layer apparatus criticus

---
 ekdosis.dtx | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 7741dab..1cd7d1b 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -7304,7 +7304,11 @@ Sample text with a \textcolor{red}{word} in red.
     \ekvifdefinedNoVal{ekd@note}{post}{}{%
       \unexpanded\expandafter{\post@value}}%
   }%
+  \ifekd@mapps%
+  \append@app[\ekdan@type]{\note@contents}%
+  \else%
   \append@app{\note@contents}%
+  \fi%
   \egroup%
 }
 \NewDocumentCommand{\ekd@note@star}{O{} m}{%
@@ -7321,7 +7325,11 @@ Sample text with a \textcolor{red}{word} in red.
       \append@app{\note@contents}%
     \egroup%
   \else
-    \append@app{\unskip\footnote{#2}}%
+    \ifekd@mapps%
+    \append@app[\ekdan@type]{\note@contents}%
+    \else%
+    \append@app{\note@contents}%
+    \fi%
   \fi%
 }
 \NewDocumentCommand{\note@app}{s O{} +m}{%
-- 
cgit v1.2.3

