aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--arabluatex.dtx17
-rw-r--r--arabluatex_trans.lua21
2 files changed, 26 insertions, 12 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index f85c0c5..5788d62 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -1350,13 +1350,20 @@ vowels (see §~3).
1350% \cap{'l-rUm-u}}. 1350% \cap{'l-rUm-u}}.
1351% \end{quote} 1351% \end{quote}
1352% \label{ref:muhammaduni} 1352% \label{ref:muhammaduni}
1353% However, the Arabic script does not shows the \arb[trans]{kasraT} 1353% However, the Arabic script does not show the \arb[trans]{kasraT} or
1354% which is taken by the nouns having \arb[trans]{tanwIn} although it 1354% the \arb[trans]{.dammaT} which may be taken by the nouns having
1355% is explicit in pronunciation and must appear in some transliteration 1355% \arb[trans]{tanwIn} although it is explicit in pronunciation and
1356% standards. \package{arabluatex} takes care of that automatically:--- 1356% must appear in some transliteration standards. \package{arabluatex}
1357% takes care of that automatically:---
1357% \begin{quote} 1358% \begin{quote}
1358% |mu.hammaduN| |'l-nabI| \arb[fullvoc]{mu.hammaduN 'l-nabI} 1359% |mu.hammaduN| |'l-nabI| \arb[fullvoc]{mu.hammaduN 'l-nabI}
1359% \arb[trans]{\cap{m}u.hammaduN 'l-nabI}. 1360% \arb[trans]{\cap{m}u.hammaduN 'l-nabI}, |salAmuN| |ud_hulUA|
1361% \arb[fullvoc]{salAmuN ud_hulUA} \arb[trans]{salAmuN ud_hulUA},
1362% |qa.sIdata-hu| |fI| |qatl-i| |\cap{'a}bI| |\cap{m}uslimiN|
1363% |'llatI| |yaqUlu| |fI-hA| \arb[fullvoc]{qa.sIdata-hu fI qatl-i
1364% \cap{'a}bI \cap{m}uslimiN 'llatI yaqUlu fI-hA}
1365% \arb[trans]{qa.sIdata-hu fI qatl-i \cap{'a}bI \cap{m}uslimiN
1366% 'llatI yaqUlu fI-hA}.
1360% \end{quote} 1367% \end{quote}
1361% 1368%
1362% \subsection{Special orthographies} 1369% \subsection{Special orthographies}
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}"},