aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_trans.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-12-01 18:42:24 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-12-01 18:42:24 +0100
commit2f2504db341106bd94e292cb78a05cf976a46590 (patch)
tree12ee56838c1f962968ef715279321f1ef3c5444d /arabluatex_trans.lua
parent5db636f4d15cdd2e07e273d0b1819f35c8ae1dd5 (diff)
downloadarabluatex-2f2504db341106bd94e292cb78a05cf976a46590.tar.gz
new rule: if the vowel of a prosthetic ʾalif be ḍammah, it must be thrown back upon the preceding tanwīn in dmg mode; 'llatī/'llaḏī are now processed by these rules as well.
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r--arabluatex_trans.lua21
1 files changed, 14 insertions, 7 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 981810f..a91ae0e 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -138,13 +138,20 @@ tanwintrdmg = {
138 {a="(T)%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="t\\arbup{ani}%3%4"}, 138 {a="(T)%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="t\\arbup{ani}%3%4"},
139 {a="([^TA])%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1\\arbup{ani}%3%4"}, 139 {a="([^TA])%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1\\arbup{ani}%3%4"},
140 {a="%-?(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ini}%2%3"}, 140 {a="%-?(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ini}%2%3"},
141-- tanwīn + alif without hamza and kasra (ibn) 141 -- tanwīn preceding 'lla_dI/'llatI
142 {a="%-?(uN)(%s)(i)", b="\\arbup{uni}%2'"}, 142 {a="%-?(uN)(%s)('lla[%_]?[dt])", b="\\arbup{uni}%2%3"},
143 {a="%-?(aN)(_A)(%s)(i)", b="ạ\\arbup{ni}%3%'"}, 143 {a="%-?(aN)(_A)(%s)('lla[%_]?[dt])", b="ạ\\arbup{ni}%3%4"},
144 {a="%-?(aN)(Y)(%s)(i)", b="ạ\\arbup{ni}%3%'"}, 144 {a="%-?(aN)(Y)(%s)('lla[%_]?[dt])", b="ạ\\arbup{ni}%3%4"},
145 {a="(T)%-?(aN)(%s)(i)", b="t\\arbup{ani}%3%'"}, 145 {a="(T)%-?(aN)(%s)('lla[%_]?[dt])", b="t\\arbup{ani}%3%4"},
146 {a="([^TA])%-?(aN)(%s)(i)", b="%1\\arbup{ani}%3%'"}, 146 {a="([^TA])%-?(aN)(%s)('lla[%_]?[dt])", b="%1\\arbup{ani}%3%4"},
147 {a="%-?(iN)(%s)(i)", b="\\arbup{ini}%2%'"}, 147 {a="%-?(iN)(%s)('lla[%_]?[dt])", b="\\arbup{ini}%2%3"},
148 -- tanwīn + alif without hamza and kasra (ibn) or dhamma (uhrub)
149 {a="%-?(uN)(%s)([ui])", b="\\arbup{un%3}%2'"},
150 {a="%-?(aN)(_A)(%s)([ui])", b="ạ\\arbup{n%4}%3%'"},
151 {a="%-?(aN)(Y)(%s)([ui])", b="ạ\\arbup{n%4}%3%'"},
152 {a="(T)%-?(aN)(%s)([ui])", b="t\\arbup{an%4}%3%'"},
153 {a="([^TA])%-?(aN)(%s)([ui])", b="%1\\arbup{an%4}%3%'"},
154 {a="%-?(iN)(%s)([ui])", b="\\arbup{in%3}%2%'"},
148 -- 155 --
149-- {a="uN", b="\\arbup{un}"}, (now included in the last line of this table) 156-- {a="uN", b="\\arbup{un}"}, (now included in the last line of this table)
150 {a="%-?(\"?At)%-?([ui])N", b="\\arbup{%1%2n}"}, 157 {a="%-?(\"?At)%-?([ui])N", b="\\arbup{%1%2n}"},