diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-06-16 17:39:24 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-06-16 17:39:24 +0200 |
commit | 0a986331de7585e5440d1890894bd8977d77179d (patch) | |
tree | d40a71a6b129be9f095821cec3d24cbe50e8dce6 | |
parent | b482fab8aa1280e9d5828f941c992f40c9a59fbd (diff) | |
download | arabluatex-0a986331de7585e5440d1890894bd8977d77179d.tar.gz |
added hard-coded short vowels in voc, novoc and trans rules
-rw-r--r-- | arabluatex_novoc.lua | 6 | ||||
-rw-r--r-- | arabluatex_trans.lua | 12 | ||||
-rw-r--r-- | arabluatex_voc.lua | 6 |
3 files changed, 12 insertions, 12 deletions
diff --git a/arabluatex_novoc.lua b/arabluatex_novoc.lua index e1e40cc..c2ee6f6 100644 --- a/arabluatex_novoc.lua +++ b/arabluatex_novoc.lua | |||
@@ -148,9 +148,9 @@ shortvnv = { | |||
148 | {a="\"u", b="ُ"}, | 148 | {a="\"u", b="ُ"}, |
149 | {a="\"a", b="َ"}, | 149 | {a="\"a", b="َ"}, |
150 | {a="\"i", b="ِ"}, | 150 | {a="\"i", b="ِ"}, |
151 | {a="%.u", b="ُ"}, | 151 | {a="%-?%.u", b="ُ"}, |
152 | {a="%.a", b="َ"}, | 152 | {a="%-?%.a", b="َ"}, |
153 | {a="%.i", b="ِ"}, | 153 | {a="%-?%.i", b="ِ"}, |
154 | {a="u", b=""}, | 154 | {a="u", b=""}, |
155 | {a="a", b=""}, | 155 | {a="a", b=""}, |
156 | {a="i", b=""} | 156 | {a="i", b=""} |
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index f1407be..0adb69e 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -379,14 +379,14 @@ digraphstrdmg = { | |||
379 | -- ʾiʿrāb hyphen (begin) | 379 | -- ʾiʿrāb hyphen (begin) |
380 | {a="(%-)(\"?[UI]na)(%p*%s)", b="\\arbup{%2}%3"}, | 380 | {a="(%-)(\"?[UI]na)(%p*%s)", b="\\arbup{%2}%3"}, |
381 | {a="(%-)(\"?[UI]na)(%p*)$", b="\\arbup{%2}%3"}, | 381 | {a="(%-)(\"?[UI]na)(%p*)$", b="\\arbup{%2}%3"}, |
382 | {a="(%-)(\"?At[ui])(%p*%s)", b="\\arbup{%2}%3"}, | 382 | {a="(%-)(\"?At%.?[ui])(%p*%s)", b="\\arbup{%2}%3"}, |
383 | {a="(%-)(\"?At[ui])(%p*)$", b="\\arbup{%2}%3"}, | 383 | {a="(%-)(\"?At%.?[ui])(%p*)$", b="\\arbup{%2}%3"}, |
384 | {a="(%-)(\"?Ani)(%p*%s)", b="\\arbup{%2}%3"}, | 384 | {a="(%-)(\"?Ani)(%p*%s)", b="\\arbup{%2}%3"}, |
385 | {a="(%-)(\"?Ani)(%p*)$", b="\\arbup{%2}%3"}, | 385 | {a="(%-)(\"?Ani)(%p*)$", b="\\arbup{%2}%3"}, |
386 | {a="(%-)(\"?ayni)(%p*%s)", b="\\arbup{%2}%3"}, | 386 | {a="(%-)(\"?%.?ayni)(%p*%s)", b="\\arbup{%2}%3"}, |
387 | {a="(%-)(\"?ayni)(%p*)$", b="\\arbup{%2}%3"}, | 387 | {a="(%-)(\"?%.?ayni)(%p*)$", b="\\arbup{%2}%3"}, |
388 | {a="(%-)(\"?[uai])(%p*%s)", b="\\arbup{%2}%3"}, | 388 | {a="(%-)(\"?%.?[uai])(%p*%s)", b="\\arbup{%2}%3"}, |
389 | {a="(%-)(\"?[uai])(%p*)$", b="\\arbup{%2}%3"}, | 389 | {a="(%-)(\"?%.?[uai])(%p*)$", b="\\arbup{%2}%3"}, |
390 | -- ʾiʿrāb hyphen (end) shorten long vowels preceding ʾalif | 390 | -- ʾiʿrāb hyphen (end) shorten long vowels preceding ʾalif |
391 | -- conjunctionis—without forgetting 'lla_dI | 391 | -- conjunctionis—without forgetting 'lla_dI |
392 | {a="(U)(A)", b="U"}, | 392 | {a="(U)(A)", b="U"}, |
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index fdb9eaa..3155f91 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -837,9 +837,9 @@ shortv = { | |||
837 | {a="\"u", b=""}, | 837 | {a="\"u", b=""}, |
838 | {a="\"a", b=""}, | 838 | {a="\"a", b=""}, |
839 | {a="\"i", b=""}, | 839 | {a="\"i", b=""}, |
840 | {a="%.u", b="ُ"}, | 840 | {a="%-?%.u", b="ُ"}, |
841 | {a="%.a", b="َ"}, | 841 | {a="%-?%.a", b="َ"}, |
842 | {a="%.i", b="ِ"}, | 842 | {a="%-?%.i", b="ِ"}, |
843 | {a="u", b="ُ"}, | 843 | {a="u", b="ُ"}, |
844 | {a="a", b="َ"}, | 844 | {a="a", b="َ"}, |
845 | {a="i", b="ِ"} | 845 | {a="i", b="ِ"} |