From 7926d252d9c297b077443293b1b33cae41d1fe60 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Sat, 10 Apr 2021 16:35:05 +0200
Subject: \ekd@note@star was long left behind

---
 ekdosis.dtx | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 53277e9..1983e56 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -8532,25 +8532,25 @@ Sample text with a \textcolor{red}{word} in red.
   \egroup%
 }
 \NewDocumentCommand{\ekd@note@star}{O{} m}{%
-  \if@pkg@parnotes
-    \bgroup%
-      \ekvset{ekd@note}{#1}%
-      \edef\note@contents{%
-        \ekvifdefinedNoVal{ekd@note}{pre}{}{%
-          \unexpanded\expandafter{\pre@value}}%
-        \unskip\noexpand\parnote{\unexpanded{#2}}%
-        \ekvifdefinedNoVal{ekd@note}{post}{}{%
-          \unexpanded\expandafter{\post@value}}%
-      }%
-      \append@app{\note@contents}%
-    \egroup%
-  \else
-    \ifekd@mapps%
+  \bgroup
+  \ekvset{ekd@note}{#1}%
+  \edef\note@contents{%
+    \ekvifdefinedNoVal{ekd@note}{pre}{}{%
+      \unexpanded\expandafter{\pre@value}}%
+    \if@pkg@parnotes
+      \unskip\noexpand\parnote{\unexpanded{#2}}%
+    \else
+      \unskip\noexpand\footnote{\unexpanded{#2}}%
+    \fi
+    \ekvifdefinedNoVal{ekd@note}{post}{}{%
+      \unexpanded\expandafter{\post@value}}%
+  }%
+  \ifekd@mapps
     \append@app[\ekdan@type]{\note@contents}%
-    \else%
+  \else
     \append@app{\note@contents}%
-    \fi%
-  \fi%
+  \fi
+  \egroup
 }
 \NewDocumentCommand{\note@app}{s O{} +m}{%
   \ifbool{al@rlmode}{%
-- 
cgit v1.2.3

