diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-03-04 20:19:39 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-03-04 20:19:39 +0100 |
commit | 80a1abe75f85faa204866af06047888dba32a7cc (patch) | |
tree | 2f256251dbf6dac0df5f7edc08425d9dac0557ec /arabluatex_voc.lua | |
parent | c14faed02c1789d4bc8d4a0af460c69fd6c863ad (diff) | |
download | arabluatex-80a1abe75f85faa204866af06047888dba32a7cc.tar.gz |
implementation of basic Arabic punctuation
Diffstat (limited to 'arabluatex_voc.lua')
-rw-r--r-- | arabluatex_voc.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index 06d266f..f9f251c 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -287,6 +287,19 @@ shortv = { | |||
287 | {a="i", b="ِ"} | 287 | {a="i", b="ِ"} |
288 | } | 288 | } |
289 | 289 | ||
290 | punctuation = { | ||
291 | {a="%(%(", b="﴿"}, | ||
292 | {a="%)%)", b="﴾"}, | ||
293 | {a="%(", b="+@("}, | ||
294 | {a="%)", b="-@("}, | ||
295 | {a="%+%@%(", b=")"}, | ||
296 | {a="%-%@%(", b="("}, | ||
297 | {a="%.", b="۔"}, | ||
298 | {a="%,", b="،"}, | ||
299 | {a="%?", b="؟"}, | ||
300 | {a="%;", b="؛"}, | ||
301 | } | ||
302 | |||
290 | null = { | 303 | null = { |
291 | {a="%|", b=""}, | 304 | {a="%|", b=""}, |
292 | {a="([^0-9])(%-)([^0-9])", b="%1%3"} | 305 | {a="([^0-9])(%-)([^0-9])", b="%1%3"} |