diff options
-rw-r--r-- | scripts/context/lua/mtx-transliterate.lua | 6 | ||||
-rw-r--r-- | tex/context/third/transliterator/trans_tables_sr.lua | 1 |
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 |