summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 10e4ad8..3188256 100644
--- a/scripts/context/lua/mtx-transliterate.lua
+++ b/scripts/context/lua/mtx-transliterate.lua
@@ -43,7 +43,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 3f18be5..0371b75 100644
--- a/tex/context/third/transliterator/trans_tables_sr.lua
+++ b/tex/context/third/transliterator/trans_tables_sr.lua
@@ -153,7 +153,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