From 0a986331de7585e5440d1890894bd8977d77179d Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sat, 16 Jun 2018 17:39:24 +0200 Subject: added hard-coded short vowels in voc, novoc and trans rules --- arabluatex_trans.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'arabluatex_trans.lua') diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index f1407be..0adb69e 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua @@ -379,14 +379,14 @@ digraphstrdmg = { -- ʾiʿrāb hyphen (begin) {a="(%-)(\"?[UI]na)(%p*%s)", b="\\arbup{%2}%3"}, {a="(%-)(\"?[UI]na)(%p*)$", b="\\arbup{%2}%3"}, - {a="(%-)(\"?At[ui])(%p*%s)", b="\\arbup{%2}%3"}, - {a="(%-)(\"?At[ui])(%p*)$", b="\\arbup{%2}%3"}, + {a="(%-)(\"?At%.?[ui])(%p*%s)", b="\\arbup{%2}%3"}, + {a="(%-)(\"?At%.?[ui])(%p*)$", b="\\arbup{%2}%3"}, {a="(%-)(\"?Ani)(%p*%s)", b="\\arbup{%2}%3"}, {a="(%-)(\"?Ani)(%p*)$", b="\\arbup{%2}%3"}, - {a="(%-)(\"?ayni)(%p*%s)", b="\\arbup{%2}%3"}, - {a="(%-)(\"?ayni)(%p*)$", b="\\arbup{%2}%3"}, - {a="(%-)(\"?[uai])(%p*%s)", b="\\arbup{%2}%3"}, - {a="(%-)(\"?[uai])(%p*)$", b="\\arbup{%2}%3"}, + {a="(%-)(\"?%.?ayni)(%p*%s)", b="\\arbup{%2}%3"}, + {a="(%-)(\"?%.?ayni)(%p*)$", b="\\arbup{%2}%3"}, + {a="(%-)(\"?%.?[uai])(%p*%s)", b="\\arbup{%2}%3"}, + {a="(%-)(\"?%.?[uai])(%p*)$", b="\\arbup{%2}%3"}, -- ʾiʿrāb hyphen (end) shorten long vowels preceding ʾalif -- conjunctionis—without forgetting 'lla_dI {a="(U)(A)", b="U"}, -- cgit v1.2.3