diff options
author | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2011-10-02 00:16:41 +0200 |
---|---|---|
committer | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2011-10-02 00:16:41 +0200 |
commit | 14a18e805846b87458d33bd14ced44f9fc3748c7 (patch) | |
tree | ff4a5a49643dcdcb979809957b7759f30e258c18 /tex/context | |
parent | 1c91f585a6d21a0967a306ab5e186b9cfb5509c6 (diff) | |
download | transliterator-14a18e805846b87458d33bd14ced44f9fc3748c7.tar.gz |
expansion friendly cmd alternative
Diffstat (limited to 'tex/context')
-rw-r--r-- | tex/context/third/transliterator/t-transliterator.mkiv | 9 |
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% |