From 3a507ecec035a656d16be9f7d0bb413eb0f9e8f2 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 11 Nov 2020 09:54:05 +0100 Subject: check the renderer used for the Arabic font. (Thanks to M. Krueger and U. Fischer for telling me how do do this.) --- arabluatex_voc.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'arabluatex_voc.lua') 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 = { {a="i", b="ِ"} } +punctuationhb = { + {a="%(%(", b="﴿"}, + {a="%)%)", b="﴾"}, + {a="%.", b="."}, + -- replaced with the next two rules to make the Arabic comma work + -- after \abraces{} +-- {a="([^0-9])%,", b="%1،"}, + {a="%,", b="،"}, + {a="([%d])%،", b="%1,"}, + {a="%?", b="؟"}, + {a="%;", b="؛"}, +} + punctuation = { {a="%(%(", b="﴿"}, {a="%)%)", b="﴾"}, -- cgit v1.2.3