aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_trans.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-05-18 20:20:46 +0200
committerRobert Alessi <alessi@robertalessi.net>2016-05-18 20:20:46 +0200
commitf84ee7e82d37dac9180f352f29c68bac5c0c742a (patch)
treeb7d60a5de4b77c3f0679b8fb2fdf441c38a97dcf /arabluatex_trans.lua
parent9de240830b64aa93f0d2b66382a48c754afbd639 (diff)
downloadarabluatex-f84ee7e82d37dac9180f352f29c68bac5c0c742a.tar.gz
first implementation of \arbup viz. superscript tanwīn in |dmg| mode
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r--arabluatex_trans.lua33
1 files changed, 17 insertions, 16 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index c96a9da..fbea94b 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -127,23 +127,24 @@ hamzatrdmg = {
127} 127}
128 128
129tanwintrdmg = { 129tanwintrdmg = {
130 {a="uNU", b="un"}, 130 {a="uNU", b="\\arbup{un}"},
131 {a="aNU", b="an"}, 131 {a="aNU", b="\\arbup{an}"},
132 {a="iNU", b="in"}, 132 {a="iNU", b="\\arbup{in}"},
133 {a="iNI", b="i\\arbup{n}"},
133 -- tanwīn preceding ʾalif conjunctionis 134 -- tanwīn preceding ʾalif conjunctionis
134 {a="(uN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="uni%2%3"}, 135 {a="(uN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{uni}%2%3"},
135 {a="(aN)(_A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ạni%3%4"}, 136 {a="(aN)(_A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ạ\\arbup{ni}%3%4"},
136 {a="(aN)(Y)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ạni%3%4"}, 137 {a="(aN)(Y)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ạ\\arbup{ni}%3%4"},
137 {a="(T)(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="tani%3%4"}, 138 {a="(T)(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="t\\arbup{ani}%3%4"},
138 {a="([^TA])(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1ani%3%4"}, 139 {a="([^TA])(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1\\arbup{ani}%3%4"},
139 {a="(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="ini%2%3"}, 140 {a="(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ini}%2%3"},
140 -- 141 --
141 {a="uN", b="un"}, 142 {a="uN", b="\\arbup{un}"},
142 {a="(aN)(_A)", b="ạn"}, 143 {a="(aN)(_A)", b="ạ\\arbup{n}"},
143 {a="(aN)(Y)", b="ạn"}, 144 {a="(aN)(Y)", b="ạ\\arbup{n}"},
144 {a="(T)(\"?aN)", b="tan"}, 145 {a="(T)(\"?aN)", b="t\\arbup{an}"},
145 {a="([^TA])(\"?aN)", b="%1an"}, 146 {a="([^TA])(\"?aN)", b="%1\\arbup{an}"},
146 {a="iN", b="in"} 147 {a="iN", b="\\arbup{in}"}
147} 148}
148 149
149trigraphstrdmg = { -- trigraphs or more 150trigraphstrdmg = { -- trigraphs or more
@@ -198,7 +199,7 @@ trigraphstrdmg = { -- trigraphs or more
198 {a="(_a)U", b="A"}, 199 {a="(_a)U", b="A"},
199 {a="(_a)I", b="A"}, 200 {a="(_a)I", b="A"},
200 -- assimilations 201 -- assimilations
201 {a="(n)(%s)([rlmnwy])", b="%3%2%3"} 202 {a="(n)(})(%s)([rlmnwy])", b="%4%2%3%4"}
202} 203}
203 204
204trigraphstrdmgeasy = { -- see the differences below under 'easy' tag 205trigraphstrdmgeasy = { -- see the differences below under 'easy' tag