diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-02-26 20:20:58 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-02-26 20:20:58 +0100 |
commit | 054bc0eec1ba3d89ac9f0e50d3c1fd2c7daa29d2 (patch) | |
tree | 96d54e379220c8062ac0136855ce18d0d5626b02 /arabluatex_fullvoc.lua | |
parent | 901e64d4e549f603cdc6e8cc642f1a4e5680251a (diff) | |
download | arabluatex-054bc0eec1ba3d89ac9f0e50d3c1fd2c7daa29d2.tar.gz |
implementation of fullvoc tables
Diffstat (limited to 'arabluatex_fullvoc.lua')
-rw-r--r-- | arabluatex_fullvoc.lua | 29 |
1 files changed, 15 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 |
110 | trigraphsfv = { -- trigraphs or more | 110 | trigraphsfv = { -- 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 | ||
149 | tanwin = { | 149 | tanwin = { |
@@ -157,8 +157,9 @@ tanwin = { | |||
157 | 157 | ||
158 | -- this is new | 158 | -- this is new |
159 | digraphsfv = { | 159 | digraphsfv = { |
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="ـّ"}, |