summaryrefslogtreecommitdiff
path: root/tex/context
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context')
-rw-r--r--tex/context/third/transliterator/t-transliterator.mkiv9
1 files changed, 9 insertions, 0 deletions
diff --git a/tex/context/third/transliterator/t-transliterator.mkiv b/tex/context/third/transliterator/t-transliterator.mkiv
index 1f73c43..ed9fda7 100644
--- a/tex/context/third/transliterator/t-transliterator.mkiv
+++ b/tex/context/third/transliterator/t-transliterator.mkiv
@@ -140,6 +140,15 @@
\unexpanded\def\transliterate{\dosingleempty\dotransliterate}
+\def\expandabletransliterate[#1]#2{%
+ %\bgroup
+ %\setuptransliterate[#1]%
+ %\language[\transliterateparameter{hyphenate}]%
+ \ctxlua{thirddata.translit.transliterate("\transliterateparameter{mode}","#2")}%
+ %\egroup%
+}
+
+
\unexpanded\def\starttransliterate{%
\bgroup%
\dosingleempty\dostarttransliterate%