From 2f2504db341106bd94e292cb78a05cf976a46590 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 1 Dec 2016 18:42:24 +0100 Subject: =?UTF-8?q?new=20rule:=20if=20the=20vowel=20of=20a=20prosthetic=20?= =?UTF-8?q?=CA=BEalif=20be=20=E1=B8=8Dammah,=20it=20must=20be=20thrown=20b?= =?UTF-8?q?ack=20upon=20the=20preceding=20tanw=C4=ABn=20in=20dmg=20mode;?= =?UTF-8?q?=20'llat=C4=AB/'lla=E1=B8=8F=C4=AB=20are=20now=20processed=20by?= =?UTF-8?q?=20these=20rules=20as=20well.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arabluatex.dtx | 17 ++++++++++++----- arabluatex_trans.lua | 21 ++++++++++++++------- 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). % \cap{'l-rUm-u}}. % \end{quote} % \label{ref:muhammaduni} -% However, the Arabic script does not shows the \arb[trans]{kasraT} -% which is taken by the nouns having \arb[trans]{tanwIn} although it -% is explicit in pronunciation and must appear in some transliteration -% standards. \package{arabluatex} takes care of that automatically:--- +% However, the Arabic script does not show the \arb[trans]{kasraT} or +% the \arb[trans]{.dammaT} which may be taken by the nouns having +% \arb[trans]{tanwIn} although it is explicit in pronunciation and +% must appear in some transliteration standards. \package{arabluatex} +% takes care of that automatically:--- % \begin{quote} % |mu.hammaduN| |'l-nabI| \arb[fullvoc]{mu.hammaduN 'l-nabI} -% \arb[trans]{\cap{m}u.hammaduN 'l-nabI}. +% \arb[trans]{\cap{m}u.hammaduN 'l-nabI}, |salAmuN| |ud_hulUA| +% \arb[fullvoc]{salAmuN ud_hulUA} \arb[trans]{salAmuN ud_hulUA}, +% |qa.sIdata-hu| |fI| |qatl-i| |\cap{'a}bI| |\cap{m}uslimiN| +% |'llatI| |yaqUlu| |fI-hA| \arb[fullvoc]{qa.sIdata-hu fI qatl-i +% \cap{'a}bI \cap{m}uslimiN 'llatI yaqUlu fI-hA} +% \arb[trans]{qa.sIdata-hu fI qatl-i \cap{'a}bI \cap{m}uslimiN +% 'llatI yaqUlu fI-hA}. % \end{quote} % % \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 = { {a="(T)%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="t\\arbup{ani}%3%4"}, {a="([^TA])%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1\\arbup{ani}%3%4"}, {a="%-?(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ini}%2%3"}, --- tanwīn + alif without hamza and kasra (ibn) - {a="%-?(uN)(%s)(i)", b="\\arbup{uni}%2'"}, - {a="%-?(aN)(_A)(%s)(i)", b="ạ\\arbup{ni}%3%'"}, - {a="%-?(aN)(Y)(%s)(i)", b="ạ\\arbup{ni}%3%'"}, - {a="(T)%-?(aN)(%s)(i)", b="t\\arbup{ani}%3%'"}, - {a="([^TA])%-?(aN)(%s)(i)", b="%1\\arbup{ani}%3%'"}, - {a="%-?(iN)(%s)(i)", b="\\arbup{ini}%2%'"}, + -- tanwīn preceding 'lla_dI/'llatI + {a="%-?(uN)(%s)('lla[%_]?[dt])", b="\\arbup{uni}%2%3"}, + {a="%-?(aN)(_A)(%s)('lla[%_]?[dt])", b="ạ\\arbup{ni}%3%4"}, + {a="%-?(aN)(Y)(%s)('lla[%_]?[dt])", b="ạ\\arbup{ni}%3%4"}, + {a="(T)%-?(aN)(%s)('lla[%_]?[dt])", b="t\\arbup{ani}%3%4"}, + {a="([^TA])%-?(aN)(%s)('lla[%_]?[dt])", b="%1\\arbup{ani}%3%4"}, + {a="%-?(iN)(%s)('lla[%_]?[dt])", b="\\arbup{ini}%2%3"}, + -- tanwīn + alif without hamza and kasra (ibn) or dhamma (uhrub) + {a="%-?(uN)(%s)([ui])", b="\\arbup{un%3}%2'"}, + {a="%-?(aN)(_A)(%s)([ui])", b="ạ\\arbup{n%4}%3%'"}, + {a="%-?(aN)(Y)(%s)([ui])", b="ạ\\arbup{n%4}%3%'"}, + {a="(T)%-?(aN)(%s)([ui])", b="t\\arbup{an%4}%3%'"}, + {a="([^TA])%-?(aN)(%s)([ui])", b="%1\\arbup{an%4}%3%'"}, + {a="%-?(iN)(%s)([ui])", b="\\arbup{in%3}%2%'"}, -- -- {a="uN", b="\\arbup{un}"}, (now included in the last line of this table) {a="%-?(\"?At)%-?([ui])N", b="\\arbup{%1%2n}"}, -- cgit v1.2.3