summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2011-08-28 15:33:12 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2011-08-28 15:33:12 +0200
commit1c91f585a6d21a0967a306ab5e186b9cfb5509c6 (patch)
treedcc7637dd7c6452cd2a4b1bd4b28b4acdaac000d
parent287b7ae51105b043c9714431bf642de7e34236b5 (diff)
parent2deaed21fc7da8fd14eb729818b90ffca0be2623 (diff)
downloadtransliterator-1c91f585a6d21a0967a306ab5e186b9cfb5509c6.tar.gz
merge
-rw-r--r--scripts/context/lua/mtx-transliterate.lua6
-rw-r--r--tex/context/third/transliterator/trans_tables_sr.lua1
2 files changed, 5 insertions, 2 deletions
diff --git a/scripts/context/lua/mtx-transliterate.lua b/scripts/context/lua/mtx-transliterate.lua
index 17150f3..a6e3968 100644
--- a/scripts/context/lua/mtx-transliterate.lua
+++ b/scripts/context/lua/mtx-transliterate.lua
@@ -45,7 +45,11 @@ local application = logs.application {
scripts.transliterate.input = ea("s")
scripts.transliterate.out = function (sin, sout)
- io.write(string.format("\n“%s” -> “%s”\n", sin, sout))
+ if ea("silent") then
+ io.write(sout)
+ else
+ io.write(string.format("\n“%s” -> “%s”\n", sin, sout))
+ end
end
if scripts.transliterate.input then
diff --git a/tex/context/third/transliterator/trans_tables_sr.lua b/tex/context/third/transliterator/trans_tables_sr.lua
index e1fa1ff..2b1bdee 100644
--- a/tex/context/third/transliterator/trans_tables_sr.lua
+++ b/tex/context/third/transliterator/trans_tables_sr.lua
@@ -156,7 +156,6 @@ if not translit.done_serbian then
end
end
- --local _p_hintchar = P"*" / ""
local _p_hintchar = P"*" / ""
local hintme = "dln"
local _p_tocy_hint, _p_tolt_hint