aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.lua4
-rw-r--r--arabluatex_trans.lua5
2 files changed, 7 insertions, 2 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index eeef54b..c71fe10 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -512,8 +512,8 @@ local function transarabica(str)
512 for i = 1,#singletrarabica do 512 for i = 1,#singletrarabica do
513 inside = string.gsub(inside, singletrarabica[i].a, singletrarabica[i].b) 513 inside = string.gsub(inside, singletrarabica[i].a, singletrarabica[i].b)
514 end 514 end
515 for i = 1,#longvtrloc do 515 for i = 1,#longvtrarabica do
516 inside = string.gsub(inside, longvtrloc[i].a, longvtrloc[i].b) 516 inside = string.gsub(inside, longvtrarabica[i].a, longvtrarabica[i].b)
517 end 517 end
518 for i = 1,#shortvtrloc do 518 for i = 1,#shortvtrloc do
519 inside = string.gsub(inside, shortvtrloc[i].a, shortvtrloc[i].b) 519 inside = string.gsub(inside, shortvtrloc[i].a, shortvtrloc[i].b)
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 7820cd1..4463b6c 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -825,3 +825,8 @@ singletrarabica = {
825 {a="B", b=""} 825 {a="B", b=""}
826} 826}
827 827
828longvtrarabica = {
829 {a="[AY]", b="ā"},
830 {a="U", b="ū"},
831 {a="I", b="ī"}
832}