diff options
-rw-r--r-- | arabluatex.lua | 4 | ||||
-rw-r--r-- | arabluatex_voc.lua | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arabluatex.lua b/arabluatex.lua index c2487cb..a720ed8 100644 --- a/arabluatex.lua +++ b/arabluatex.lua | |||
@@ -672,10 +672,10 @@ function cap(str) | |||
672 | end) | 672 | end) |
673 | str = string.gsub(str, "(%s)(bn)", "%1{%2}") | 673 | str = string.gsub(str, "(%s)(bn)", "%1{%2}") |
674 | for i = 1,#lcuc do | 674 | for i = 1,#lcuc do |
675 | str = string.gsub(str, "^([%S]-%-)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") | 675 | str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") |
676 | end | 676 | end |
677 | for i = 1,#lcuc do | 677 | for i = 1,#lcuc do |
678 | str = string.gsub(str, "(%s)([%S]-%-)"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}") | 678 | str = string.gsub(str, "(%s)([%S]-%-[`']?)"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}") |
679 | end | 679 | end |
680 | for i = 1,#lcuc do | 680 | for i = 1,#lcuc do |
681 | str = string.gsub(str, "^([%S]-%-ʿ)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") | 681 | str = string.gsub(str, "^([%S]-%-ʿ)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") |
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index b4bde1a..8cf137e 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -76,6 +76,7 @@ lcuc = { | |||
76 | {a="t", b="T"}, | 76 | {a="t", b="T"}, |
77 | {a="ṯ", b="Ṯ"}, | 77 | {a="ṯ", b="Ṯ"}, |
78 | {a="ǧ", b="Ǧ"}, | 78 | {a="ǧ", b="Ǧ"}, |
79 | {a="j", b="J"}, | ||
79 | {a="ḥ", b="Ḥ"}, | 80 | {a="ḥ", b="Ḥ"}, |
80 | {a="ḫ", b="Ḫ"}, | 81 | {a="ḫ", b="Ḫ"}, |
81 | {a="d", b="D"}, | 82 | {a="d", b="D"}, |