Commits

Philipp Gesang  committed 6f3f1e9

expansion friendly cmd alternative

  • Participants
  • Parent commits 412610f

Comments (0)

Files changed (1)

File tex/context/third/transliterator/t-transliterator.mkiv

 
 \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%