aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2024-02-23 18:58:44 +0100
committerRobert Alessi <alessi@robertalessi.net>2024-02-23 18:58:44 +0100
commit1fa15ddbce63933461baf5bad2ce97a28ee2bd53 (patch)
tree40578f5f6d7bc056269fdcc5e770457b4561c33f
parent31985d07faaf7a32f87945c882403b8c3cf53b7c (diff)
downloadekdosis-1fa15ddbce63933461baf5bad2ce97a28ee2bd53.tar.gz
process tei getsiglum through cmdtotei()
-rw-r--r--ekdosis.dtx7
1 files changed, 4 insertions, 3 deletions
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>
675\babelfont[greek]{rm}[Script=Greek, 675\babelfont[greek]{rm}[Script=Greek,
676 RawFeature={+ss06;onum}] 676 RawFeature={+ss06;onum}]
677 {Old Standard} 677 {Old Standard}
678\newfontfamily{\junicode}{Junicode}[ 678\newfontfamily{\junicode}{Junicode VF}[
679 Language=English,
679 Ligatures=TeX, 680 Ligatures=TeX,
680 RawFeature={+hist;+dlig}] 681 RawFeature={dlig,ss08}]
681\newfontfamily\missaali{Missaali Regular} 682\newfontfamily\missaali{Missaali Regular}
682\babeltags{ancientgreek = greek} 683\babeltags{ancientgreek = greek}
683\def\sg#1{\textancientgreek{#1}} 684\def\sg#1{\textancientgreek{#1}}
@@ -12611,7 +12612,7 @@ local function cmdtotei(str)
12611 function(cmd, body) 12612 function(cmd, body)
12612 body = string.sub(body, 2, -2) 12613 body = string.sub(body, 2, -2)
12613 teisiglum = ekdosis.getsiglum(body, "tei") 12614 teisiglum = ekdosis.getsiglum(body, "tei")
12614 printsiglum = ekdosis.getsiglum(body) 12615 printsiglum = cmdtotei(ekdosis.getsiglum(body))
12615 -- body = cmdtotei(body) 12616 -- body = cmdtotei(body)
12616 return string.format("<ref target=\"%s\">%s</ref>", 12617 return string.format("<ref target=\"%s\">%s</ref>",
12617 teisiglum, printsiglum) 12618 teisiglum, printsiglum)