aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_voc.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2020-11-11 09:54:05 +0100
committerRobert Alessi <alessi@robertalessi.net>2020-11-11 09:54:05 +0100
commit3a507ecec035a656d16be9f7d0bb413eb0f9e8f2 (patch)
tree93a36f5481e81f44e2d93e880940f101e734d679 /arabluatex_voc.lua
parent979c54ddc6b64d582f676b18518a119aca327b5e (diff)
downloadarabluatex-3a507ecec035a656d16be9f7d0bb413eb0f9e8f2.tar.gz
check the renderer used for the Arabic font. (Thanks to M. Krueger and U. Fischer for telling me how do do this.)
Diffstat (limited to 'arabluatex_voc.lua')
-rw-r--r--arabluatex_voc.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 4ec0fe3..7301540 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -873,6 +873,19 @@ shortv = {
873 {a="i", b="ِ"} 873 {a="i", b="ِ"}
874} 874}
875 875
876punctuationhb = {
877 {a="%(%(", b="﴿"},
878 {a="%)%)", b="﴾"},
879 {a="%.", b="."},
880 -- replaced with the next two rules to make the Arabic comma work
881 -- after \abraces{}
882-- {a="([^0-9])%,", b="%1،"},
883 {a="%,", b="،"},
884 {a="([%d])%،", b="%1,"},
885 {a="%?", b="؟"},
886 {a="%;", b="؛"},
887}
888
876punctuation = { 889punctuation = {
877 {a="%(%(", b="﴿"}, 890 {a="%(%(", b="﴿"},
878 {a="%)%)", b="﴾"}, 891 {a="%)%)", b="﴾"},