aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx7
1 files changed, 5 insertions, 2 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index a1bbe10..c2e8e42 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -7670,6 +7670,7 @@ Sample text with a \textcolor{red}{word} in red.
7670\newif\ifekd@state 7670\newif\ifekd@state
7671\newif\ifekd@isinapp 7671\newif\ifekd@isinapp
7672\newif\ifekd@isinlem 7672\newif\ifekd@isinlem
7673\newif\ifekd@appinapp
7673% \end{macrocode} 7674% \end{macrocode}
7674% The next boolean is shared with \pkg{arabluatex}. \cs{LRnum} is used 7675% The next boolean is shared with \pkg{arabluatex}. \cs{LRnum} is used
7675% internally to ensure that numerals referring to line spans are 7676% internally to ensure that numerals referring to line spans are
@@ -8100,6 +8101,7 @@ Sample text with a \textcolor{red}{word} in red.
8100 \leavevmode 8101 \leavevmode
8101 \begingroup 8102 \begingroup
8102 \ekvset{appnote}{#1}% 8103 \ekvset{appnote}{#1}%
8104 \ifekd@isinapp\ekd@appinapptrue\fi
8103 \ekd@isinapptrue% 8105 \ekd@isinapptrue%
8104 \stepcounter{ekd@lab}% 8106 \stepcounter{ekd@lab}%
8105 \zlabel{ekd:\theekd@lab}% 8107 \zlabel{ekd:\theekd@lab}%
@@ -8108,6 +8110,7 @@ Sample text with a \textcolor{red}{word} in red.
8108 \ifekd@state\add@apparatus\fi% 8110 \ifekd@state\add@apparatus\fi%
8109 \luadirect{tex.sprint(ekdosis.removesp(\luastringN{#2}))}% 8111 \luadirect{tex.sprint(ekdosis.removesp(\luastringN{#2}))}%
8110 \ekd@isinappfalse% 8112 \ekd@isinappfalse%
8113 \ekd@appinappfalse
8111 \endgroup} 8114 \endgroup}
8112% \end{macrocode} 8115% \end{macrocode}
8113% \end{macro} 8116% \end{macro}
@@ -8206,7 +8209,7 @@ Sample text with a \textcolor{red}{word} in red.
8206 {\getrefnumber{\luadirect{tex.sprint(ekdosis.getprevlnlab())}-e}} 8209 {\getrefnumber{\luadirect{tex.sprint(ekdosis.getprevlnlab())}-e}}
8207 = 8210 =
8208 0 8211 0
8209 \ifekd@isinlem 8212 \ifekd@appinapp
8210 \LRnum{\getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}}% 8213 \LRnum{\getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}}%
8211 \unexpanded\expandafter{\ekd@postrefnum}% issue the no 8214 \unexpanded\expandafter{\ekd@postrefnum}% issue the no
8212 \fi 8215 \fi
@@ -8235,7 +8238,7 @@ Sample text with a \textcolor{red}{word} in red.
8235 {\getrefnumber{\luadirect{tex.sprint(ekdosis.getprevlnlab())}-e}} 8238 {\getrefnumber{\luadirect{tex.sprint(ekdosis.getprevlnlab())}-e}}
8236 = 8239 =
8237 0 8240 0
8238 \ifekd@isinlem 8241 \ifekd@appinapp
8239 \LRnum{\getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}}% 8242 \LRnum{\getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}}%
8240 \unexpanded\expandafter{\ekd@postrefnum}% issue the no 8243 \unexpanded\expandafter{\ekd@postrefnum}% issue the no
8241 \fi 8244 \fi