diff options
-rw-r--r-- | arabluatex_fullvoc.lua | 4 | ||||
-rw-r--r-- | arabluatex_voc.lua | 42 |
2 files changed, 43 insertions, 3 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index cd7ed0f..e0ffbce 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -45,6 +45,8 @@ hamzafv = { | |||
45 | {a="''([Uu])", b="ؤؤ%1"}, | 45 | {a="''([Uu])", b="ؤؤ%1"}, |
46 | {a="''([Aa])", b="أأ%1"}, | 46 | {a="''([Aa])", b="أأ%1"}, |
47 | {a="''([Ii])", b="ئئ%1"}, | 47 | {a="''([Ii])", b="ئئ%1"}, |
48 | -- inseparable adverbial particle 'a- + 'a | ||
49 | {a="\'(a)%-\'(a)", b="أ%1اأ%2"}, | ||
48 | -- initial long u and i (for a, see below) | 50 | -- initial long u and i (for a, see below) |
49 | {a="%'%_U", b="أU"}, | 51 | {a="%'%_U", b="أU"}, |
50 | {a="%'%_I", b="إI"}, | 52 | {a="%'%_I", b="إI"}, |
@@ -141,6 +143,8 @@ hamzafveasy = { -- differences marked below with 'easy' | |||
141 | {a="''([Uu])", b="ؤؤ%1"}, | 143 | {a="''([Uu])", b="ؤؤ%1"}, |
142 | {a="''([Aa])", b="أأ%1"}, | 144 | {a="''([Aa])", b="أأ%1"}, |
143 | {a="''([Ii])", b="ئئ%1"}, | 145 | {a="''([Ii])", b="ئئ%1"}, |
146 | -- inseparable adverbial particle 'a- + 'a | ||
147 | {a="\'(a)%-\'(a)", b="أ%1اأ%2"}, | ||
144 | -- initial long u and i (for a, see below) | 148 | -- initial long u and i (for a, see below) |
145 | {a="%'%_U", b="أU"}, | 149 | {a="%'%_U", b="أU"}, |
146 | {a="%'%_I", b="إI"}, | 150 | {a="%'%_I", b="إI"}, |
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index 1a64109..b295254 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -72,12 +72,44 @@ raw = { | |||
72 | } | 72 | } |
73 | 73 | ||
74 | buckwalter = { | 74 | buckwalter = { |
75 | -- {a="\'", b="|\"\'"}, | 75 | -- trigraphs |
76 | {a="^Aal", b="al-"}, | ||
77 | {a="(%W)Aal", b="%1al-"}, | ||
78 | {a="([%-%s])Al", b="%1\'l-"}, | ||
79 | -- {a="([uai])Al", b="%1-\'l-"}, | ||
80 | {a="(al%-[%a])(%~)", b="%1"}, | ||
81 | {a="(\'l%-[%a])(%~)", b="%1"}, | ||
82 | -- šadda | ||
83 | {a="([%a])(%~)", b="%1%1"}, | ||
84 | -- digraphs begin | ||
85 | {a="aA", b="A"}, | ||
86 | {a="uw", b="U"}, | ||
87 | {a="iy", b="I"}, | ||
88 | -- digraphs end | ||
89 | -- hamza begin | ||
76 | {a="%>", b="a\"\'"}, | 90 | {a="%>", b="a\"\'"}, |
77 | {a="%&", b="w\"\'"}, | 91 | {a="%&", b="w\"\'"}, |
78 | {a="%<", b="i\"\'"}, | 92 | {a="%<", b="i\"\'"}, |
79 | {a="%}", b="y\"\'"}, | 93 | {a="%]", b="y\"\'"}, |
80 | {a="p", b="T"} | 94 | -- hamza end |
95 | {a="v", b="_t"}, | ||
96 | {a="H", b=".h"}, | ||
97 | {a="%*", b="_d"}, | ||
98 | {a="%$", b="^s"}, | ||
99 | {a="S", b=".s"}, | ||
100 | {a="D", b=".d"}, | ||
101 | {a="T", b=".t"}, | ||
102 | {a="Z", b=".z"}, | ||
103 | {a="E", b="`"}, | ||
104 | {a="g", b=".g"}, | ||
105 | {a="p", b="T"}, | ||
106 | {a="N", b="uN"}, | ||
107 | {a="F", b="aN"}, | ||
108 | {a="K", b="iN"}, | ||
109 | {a="o", b="\""}, | ||
110 | -- hard-coded connective alif | ||
111 | {a="%[", b="ٱ"}, | ||
112 | -- {a="%_", b="--"}, | ||
81 | } | 113 | } |
82 | 114 | ||
83 | hamza = { | 115 | hamza = { |
@@ -94,6 +126,8 @@ hamza = { | |||
94 | {a="''([Uu])", b="ؤؤ%1"}, | 126 | {a="''([Uu])", b="ؤؤ%1"}, |
95 | {a="''([Aa])", b="أأ%1"}, | 127 | {a="''([Aa])", b="أأ%1"}, |
96 | {a="''([Ii])", b="ئئ%1"}, | 128 | {a="''([Ii])", b="ئئ%1"}, |
129 | -- inseparable adverbial particle 'a- + 'a | ||
130 | {a="\'(a)%-\'(a)", b="أ%1اأ%2"}, | ||
97 | -- initial long u and i (for a, see below) | 131 | -- initial long u and i (for a, see below) |
98 | {a="%'%_U", b="أU"}, | 132 | {a="%'%_U", b="أU"}, |
99 | {a="%'%_I", b="إI"}, | 133 | {a="%'%_I", b="إI"}, |
@@ -181,6 +215,8 @@ hamzaeasy = { -- differences marked below with 'easy' | |||
181 | {a="''([Uu])", b="ؤؤ%1"}, | 215 | {a="''([Uu])", b="ؤؤ%1"}, |
182 | {a="''([Aa])", b="أأ%1"}, | 216 | {a="''([Aa])", b="أأ%1"}, |
183 | {a="''([Ii])", b="ئئ%1"}, | 217 | {a="''([Ii])", b="ئئ%1"}, |
218 | -- inseparable adverbial particle 'a- + 'a | ||
219 | {a="\'(a)%-\'(a)", b="أ%1اأ%2"}, | ||
184 | -- initial long u and i (for a, see below) | 220 | -- initial long u and i (for a, see below) |
185 | {a="%'%_U", b="أU"}, | 221 | {a="%'%_U", b="أU"}, |
186 | {a="%'%_I", b="إI"}, | 222 | {a="%'%_I", b="إI"}, |