From 1fa15ddbce63933461baf5bad2ce97a28ee2bd53 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Fri, 23 Feb 2024 18:58:44 +0100
Subject: process tei getsiglum through cmdtotei()

---
 ekdosis.dtx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index e4b2c60..d558e13 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -675,9 +675,10 @@ Alessi <alessi@robertalessi.net>
 \babelfont[greek]{rm}[Script=Greek,
                RawFeature={+ss06;onum}]
                {Old Standard}
-\newfontfamily{\junicode}{Junicode}[
+\newfontfamily{\junicode}{Junicode VF}[
+                Language=English,
                 Ligatures=TeX,
-                RawFeature={+hist;+dlig}]
+                RawFeature={dlig,ss08}]
 \newfontfamily\missaali{Missaali Regular}
 \babeltags{ancientgreek = greek}
 \def\sg#1{\textancientgreek{#1}}
@@ -12611,7 +12612,7 @@ local function cmdtotei(str)
 		     function(cmd, body)
 			body = string.sub(body, 2, -2)
 			teisiglum = ekdosis.getsiglum(body, "tei")
- 			printsiglum = ekdosis.getsiglum(body)
+			printsiglum = cmdtotei(ekdosis.getsiglum(body))
  			-- body = cmdtotei(body)
 			return string.format("<ref target=\"%s\">%s</ref>",
 					     teisiglum, printsiglum)
-- 
cgit v1.2.3

