summaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2011-06-11 16:54:04 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2011-06-11 16:54:04 +0200
commitebebb1a66fa7500ca1644a868d8378bccaf281ca (patch)
tree74c348f4f2041ddbc4b67b451592f2ad947caab7 /tex
parent2fb5bf36355c1607a1c96c04d120e15015b4908d (diff)
downloadtransliterator-ebebb1a66fa7500ca1644a868d8378bccaf281ca.tar.gz
external mtx script interface
Diffstat (limited to 'tex')
-rw-r--r--tex/context/third/transliterator/trans_tables_sr.lua2
-rw-r--r--tex/context/third/transliterator/transliterator.lua3
2 files changed, 5 insertions, 0 deletions
diff --git a/tex/context/third/transliterator/trans_tables_sr.lua b/tex/context/third/transliterator/trans_tables_sr.lua
index f3b9218..3f18be5 100644
--- a/tex/context/third/transliterator/trans_tables_sr.lua
+++ b/tex/context/third/transliterator/trans_tables_sr.lua
@@ -3,6 +3,8 @@
-- Serbian --
--===========================================================================--
+-- Special thanks to Mojca Miklavec and Arthur Reutenauer for their
+-- assistance in creating these transliteration routines.
if not translit.done_serbian then
--------------------------------------------
diff --git a/tex/context/third/transliterator/transliterator.lua b/tex/context/third/transliterator/transliterator.lua
index f1d34ae..b64f888 100644
--- a/tex/context/third/transliterator/transliterator.lua
+++ b/tex/context/third/transliterator/transliterator.lua
@@ -265,5 +265,8 @@ function translit.transliterate (method, text)
end
end
+ if translit.__script then
+ return methods[method](text)
+ end
context ( methods[method](text) )
end