aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-03-30 19:17:53 +0200
committerRobert Alessi <alessi@robertalessi.net>2016-03-30 19:17:53 +0200
commit87c50c0a79a759db9a51cc6366d1dfd64e606a30 (patch)
treee72b4ac16b901d64d40ef08b078e43ab3676503b
parent38ef23859a090c27bcfa49dea74d092c0fecb8e8 (diff)
downloadarabluatex-87c50c0a79a759db9a51cc6366d1dfd64e606a30.tar.gz
wrong ʾalif mamdūda + hamza + u in voc and fullvoc
-rw-r--r--arabluatex.dtx20
-rw-r--r--arabluatex_fullvoc.lua2
-rw-r--r--arabluatex_voc.lua2
3 files changed, 14 insertions, 10 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 716415b..52ae732 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -591,7 +591,7 @@ consonants, though three of them are also used as vowels
591% \caption*{\Cref*{tab:arabtex-short-vowels}: Standard Arab\TeX\ (short vowels)} 591% \caption*{\Cref*{tab:arabtex-short-vowels}: Standard Arab\TeX\ (short vowels)}
592% \end{longtable} 592% \end{longtable}
593% 593%
594% Whether Arabic texts are vocalized or not is essentially a matter of 594% Whether Arabic texts be vocalized or not is essentially a matter of
595% personal choice. So one may use |voc| mode and decide not to write 595% personal choice. So one may use |voc| mode and decide not to write
596% vowels except at some particular places for disambiguation purposes, 596% vowels except at some particular places for disambiguation purposes,
597% or use |novoc| mode, not write vowels---as |novoc| normally does not 597% or use |novoc| mode, not write vowels---as |novoc| normally does not
@@ -644,7 +644,7 @@ consonants, though three of them are also used as vowels
644% |qAla| \arb[voc]{qAla} \arb[trans]{qAla}, |bI`a| \arb[voc]{bI`a} 644% |qAla| \arb[voc]{qAla} \arb[trans]{qAla}, |bI`a| \arb[voc]{bI`a}
645% \arb[trans]{bI`a}, |.tUruN| \arb[voc]{.tUruN} \arb[trans]{.tUruN}, 645% \arb[trans]{bI`a}, |.tUruN| \arb[voc]{.tUruN} \arb[trans]{.tUruN},
646% |.tInuN| \arb[voc]{.tInuN} \arb[trans]{.tInuN}, |murU'aTuN| 646% |.tInuN| \arb[voc]{.tInuN} \arb[trans]{.tInuN}, |murU'aTuN|
647% \arb[trans]{murU'aTuN} \arb[voc]{murU'aTuN} 647% \arb[voc]{murU'aTuN} \arb[trans]{murU'aTuN}.
648% \end{quote} 648% \end{quote}
649% 649%
650% \paragraph{\arb[trans]{'alif maq.sUraT}} It is written \meta{\_A} or 650% \paragraph{\arb[trans]{'alif maq.sUraT}} It is written \meta{\_A} or
@@ -688,7 +688,7 @@ consonants, though three of them are also used as vowels
688% \arb[voc]{BawT} or \arb[voc]{B_aUT} instead of \arb[voc]{BAT}: see 688% \arb[voc]{BawT} or \arb[voc]{B_aUT} instead of \arb[voc]{BAT}: see
689% \textcite[i. 12 A]{Wright}. \package{arabluatex} preserves this 689% \textcite[i. 12 A]{Wright}. \package{arabluatex} preserves this
690% particular writing; the same applies to words ending in 690% particular writing; the same applies to words ending in
691% \arb[voc]{BayT} for \arb[voc]{BAT}. long vowels \meta{U, I} shall 691% \arb[voc]{BayT} for \arb[voc]{BAT}\,. Long vowels \meta{U, I} shall
692% receive no \arb[trans]{sukUn} after a \arb[trans]{'alif ma.h_dUfaT} 692% receive no \arb[trans]{sukUn} after a \arb[trans]{'alif ma.h_dUfaT}
693% and are discarded in |trans| mode: 693% and are discarded in |trans| mode:
694% \begin{quote} 694% \begin{quote}
@@ -817,7 +817,7 @@ consonants, though three of them are also used as vowels
817% \arb[voc]{al-^say'u} \arb[trans]{al-^say'u}, |'a^syA'u| 817% \arb[voc]{al-^say'u} \arb[trans]{al-^say'u}, |'a^syA'u|
818% \arb[voc]{'a^syA'u} \arb[trans]{'a^syA'u}, |'a^syA'a| 818% \arb[voc]{'a^syA'u} \arb[trans]{'a^syA'u}, |'a^syA'a|
819% \arb[voc]{'a^syA'a} \arb[trans]{'a^syA'a}, |.zim'aN| \arb[voc]{.zim'aN} 819% \arb[voc]{'a^syA'a} \arb[trans]{'a^syA'a}, |.zim'aN| \arb[voc]{.zim'aN}
820% \arb[trans]{.zim'aN} 820% \arb[trans]{.zim'aN}.
821% \end{quote} 821% \end{quote}
822% 822%
823% \paragraph{\arb[trans]{maddaT}} \label{ref:madda}At the beginning of 823% \paragraph{\arb[trans]{maddaT}} \label{ref:madda}At the beginning of
@@ -868,7 +868,7 @@ consonants, though three of them are also used as vowels
868% |`allaqa| \arb[voc]{`allaqa} \arb[trans]{`allaqa}, |mAdduN| 868% |`allaqa| \arb[voc]{`allaqa} \arb[trans]{`allaqa}, |mAdduN|
869% \arb[voc]{mAdduN} \arb[trans]{mAdduN}, |'ammara| 869% \arb[voc]{mAdduN} \arb[trans]{mAdduN}, |'ammara|
870% \arb[voc]{'ammara} \arb[trans]{ammara}, |murruN| \arb[voc]{murruN} 870% \arb[voc]{'ammara} \arb[trans]{ammara}, |murruN| \arb[voc]{murruN}
871% \arb[trans]{murruN} 871% \arb[trans]{murruN}.
872% \end{quote} 872% \end{quote}
873% 873%
874% \subparagraph{The euphonic \arb[trans]{ta^sdId}} 874% \subparagraph{The euphonic \arb[trans]{ta^sdId}}
@@ -1047,11 +1047,11 @@ consonants, though three of them are also used as vowels
1047% \end{quote} 1047% \end{quote}
1048% 1048%
1049% \subparagraph{\arb[trans]{'alifu 'l-wa.sli} preceded by a consonant 1049% \subparagraph{\arb[trans]{'alifu 'l-wa.sli} preceded by a consonant
1050% with \arb[trans]{sukUn}} 1050% with \arb[trans]{sukUn}} The vowel which the consonant takes is
1051% The vowel which the consonant takes, either its original vowel, or 1051% either its original vowel, or that which belongs to the connective
1052% that which belongs to the connective \arb[trans]{'alif} or the 1052% \arb[trans]{'alif} or the \arb[trans]{kasraT}; in most of the
1053% \arb[trans]{kasraT}; in most of the cases \parencite[i. 22 1053% cases \parencite[i. 22 A--C]{Wright}, it is encoded explicitly, like
1054% A--C]{Wright}, it is encoded explicitly, like so:--- 1054% so:---
1055% \begin{quote} 1055% \begin{quote}
1056% |'antumu| |'l-kA_dibUna| \arb[fullvoc]{'antumu 'l-kA_dibUna} 1056% |'antumu| |'l-kA_dibUna| \arb[fullvoc]{'antumu 'l-kA_dibUna}
1057% \arb[trans]{'antumu 'l-kA_dibUna}, |ra'aytumu| |'l-rajula| 1057% \arb[trans]{'antumu 'l-kA_dibUna}, |ra'aytumu| |'l-rajula|
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua
index 317d607..b157653 100644
--- a/arabluatex_fullvoc.lua
+++ b/arabluatex_fullvoc.lua
@@ -49,6 +49,8 @@ hamzafv = {
49 -- madda (historic writing below) 49 -- madda (historic writing below)
50 {a="'a'([^uaiUAI])", b="آ%1"}, 50 {a="'a'([^uaiUAI])", b="آ%1"},
51 {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, 51 {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"},
52 {a="(A)(')(uN?)$", b="aآء%3"},
53 {a="(A)(')(uN?)(%W)", b="aآء%3%4"},
52 {a="(A)(')(iN?)$", b="aآء%3"}, 54 {a="(A)(')(iN?)$", b="aآء%3"},
53 {a="(A)(')(iN?)(%W)", b="aآء%3%4"}, 55 {a="(A)(')(iN?)(%W)", b="aآء%3%4"},
54 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda 56 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 4983ad0..5989898 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -81,6 +81,8 @@ hamza = {
81 -- madda (historic writing below) 81 -- madda (historic writing below)
82 {a="'a'([^uaiUAI])", b="آ%1"}, 82 {a="'a'([^uaiUAI])", b="آ%1"},
83 {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"}, 83 {a="'a?A([%_%^%.]?[%`%'btjghdrzsfqklmnywAY])", b="آ%1"},
84 {a="(A)(')(uN?)$", b="aآء%3"},
85 {a="(A)(')(uN?)(%W)", b="aآء%3%4"},
84 {a="(A)(')(iN?)$", b="aآء%3"}, 86 {a="(A)(')(iN?)$", b="aآء%3"},
85 {a="(A)(')(iN?)(%W)", b="aآء%3%4"}, 87 {a="(A)(')(iN?)(%W)", b="aآء%3%4"},
86 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda 88 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda