aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-02-26 20:20:58 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-02-26 20:20:58 +0100
commit054bc0eec1ba3d89ac9f0e50d3c1fd2c7daa29d2 (patch)
tree96d54e379220c8062ac0136855ce18d0d5626b02
parent901e64d4e549f603cdc6e8cc642f1a4e5680251a (diff)
downloadarabluatex-054bc0eec1ba3d89ac9f0e50d3c1fd2c7daa29d2.tar.gz
implementation of fullvoc tables
-rw-r--r--arabluatex_fullvoc.lua29
-rw-r--r--arabluatex_voc.lua1
2 files changed, 16 insertions, 14 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua
index 42063ec..9a24d0a 100644
--- a/arabluatex_fullvoc.lua
+++ b/arabluatex_fullvoc.lua
@@ -109,8 +109,8 @@ hamzafv = {
109-- this is new 109-- this is new
110trigraphsfv = { -- trigraphs or more 110trigraphsfv = { -- trigraphs or more
111 -- 'llatI / 'llad_I 111 -- 'llatI / 'llad_I
112 {a="^'ll(a)([%_]?[dt])", b="الّ%1%2"}, 112 {a="^'ll(a)([%_]?[dt])", b="ّ%1%2"},
113 {a="(%s)'ll(a)([%_]?[dt])", b="%1الّ%2%3"}, 113 {a="(%s)'ll(a)([%_]?[dt])", b="%1ّ%2%3"},
114 -- al- + lām 114 -- al- + lām
115 {a="^(a)l%-(l)", b="ا%1ل%2%2"}, 115 {a="^(a)l%-(l)", b="ا%1ل%2%2"},
116 {a="(%s)(a)l%-(l)", b="%1ا%2ل%3%3"}, 116 {a="(%s)(a)l%-(l)", b="%1ا%2ل%3%3"},
@@ -121,29 +121,29 @@ trigraphsfv = { -- trigraphs or more
121 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="ا%1ل%2"}, 121 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="ا%1ل%2"},
122 {a="(%s)(a)([%_%^%.]?[tdrzsn])%-", b="%1ا%2ل%3"}, 122 {a="(%s)(a)([%_%^%.]?[tdrzsn])%-", b="%1ا%2ل%3"},
123 -- al- + initial unstable hamza 123 -- al- + initial unstable hamza
124 {a="^(a)l%-([uai])", b="ا%1لا%2"}, 124 {a="^(a)l%-([uai])", b="ا%1لٱ%2"},
125 {a="(%s)(a)l%-([uai])", b="%1ا%2لا%3"}, 125 {a="(%s)(a)l%-([uai])", b="%1ا%2لٱ%3"},
126 -- li- + art. + initial unstable hamza is a special orthography 126 -- li- + art. + initial unstable hamza is a special orthography
127 {a="l(i)%-l%-([uai])", b="ل%1لا%2"}, 127 {a="l(i)%-l%-([uai])", b="ل%1لٱ%2"},
128 -- al- + lunar consonant (i.e. what remains) 128 -- al- + lunar consonant (i.e. what remains)
129 {a="^(a)l%-", b="ا%1ل"}, 129 {a="^(a)l%-", b="ا%1لْ"},
130 {a="(%s)(a)l%-", b="%1ا%2ل"}, 130 {a="(%s)(a)l%-", b="%1ا%2لْ"},
131 -- art. with waṣla + lām 131 -- art. with waṣla + lām
132 {a="'l%-(l)", b="ال%1%1"}, 132 {a="'l%-(l)", b="%1%1"},
133 -- art. with waṣla + solar consonant 133 -- art. with waṣla + solar consonant
134 {a="'l%-([%_%^%.]?[tdrzsn])", b="ال%1%1"}, 134 {a="'l%-([%_%^%.]?[tdrzsn])", b="%1%1"},
135 -- li- + art. + lām 135 -- li- + art. + lām
136 {a="l(i)%-l%-(l)", b="ل%1ل%2%2"}, 136 {a="l(i)%-l%-(l)", b="ل%1ل%2%2"},
137 -- assim. art. with waṣla + solar consonant 137 -- assim. art. with waṣla + solar consonant
138 {a="'([%_%^%.]?[tdrzsn])%-", b="ال%1"}, 138 {a="'([%_%^%.]?[tdrzsn])%-", b="%1"},
139 -- li- + art. + solar consonant is a special orthography 139 -- li- + art. + solar consonant is a special orthography
140 {a="l(i)%-l%-([%_%^%.]?[tdrzsn])", b="ل%1ل%2%2"}, 140 {a="l(i)%-l%-([%_%^%.]?[tdrzsn])", b="ل%1ل%2%2"},
141 -- li- + assim. art. + solar consonant is a special orthography 141 -- li- + assim. art. + solar consonant is a special orthography
142 {a="l(i)%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="ل%1ل%3%3"}, 142 {a="l(i)%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="ل%1ل%3%3"},
143 -- art. with waṣla + initial unstable hamza 143 -- art. with waṣla + initial unstable hamza
144 {a="'l%-([uai])", b="الا%1"}, 144 {a="'l%-([uai])", b="ٱ%1"},
145 -- art. with waṣla + lunar consonant (i.e. what remains) 145 -- art. with waṣla + lunar consonant (i.e. what remains)
146 {a="'l%-", b="ال"} 146 {a="'l%-", b="ْ"}
147} 147}
148 148
149tanwin = { 149tanwin = {
@@ -157,8 +157,9 @@ tanwin = {
157 157
158-- this is new 158-- this is new
159digraphsfv = { 159digraphsfv = {
160 {a="^([uai])", b="ا%1"}, -- initial alif without hamza 160 {a="(%-)([uai])", b="%1ٱ"}, -- hyphen + initial alif without hamza
161 {a="(%s)([uai])", b="%1ا%2"}, -- initial alif without hamza 161 {a="^([uai])", b="ٱ"}, -- initial alif without hamza
162 {a="(%s)([uai])", b="%1ٱ"}, -- initial alif without hamza
162 {a="%-%-", b="ـ"}, 163 {a="%-%-", b="ـ"},
163 {a="bb", b="بّ"}, 164 {a="bb", b="بّ"},
164 {a="BB", b="ـّ"}, 165 {a="BB", b="ـّ"},
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 00cdd1e..9208eed 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -154,6 +154,7 @@ tanwin = {
154} 154}
155 155
156digraphs = { 156digraphs = {
157 {a="(%-)([uai])", b="%1ا%2"}, -- hyphen + initial alif without hamza
157 {a="^([uai])", b="ا%1"}, -- initial alif without hamza 158 {a="^([uai])", b="ا%1"}, -- initial alif without hamza
158 {a="(%s)([uai])", b="%1ا%2"}, -- initial alif without hamza 159 {a="(%s)([uai])", b="%1ا%2"}, -- initial alif without hamza
159 {a="%-%-", b="ـ"}, 160 {a="%-%-", b="ـ"},