aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx67
1 files changed, 47 insertions, 20 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 4bd9057..f85c0c5 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -191,8 +191,11 @@
191\CodelineIndex 191\CodelineIndex
192\begin{document} 192\begin{document}
193 \DocInput{arabluatex.dtx} 193 \DocInput{arabluatex.dtx}
194 \printbibliography[heading=bibintoc]
195 \phantomsection
194 \addcontentsline{toc}{section}{Change History} 196 \addcontentsline{toc}{section}{Change History}
195 \PrintChanges 197 \PrintChanges
198 \phantomsection
196 \addcontentsline{toc}{section}{Index} 199 \addcontentsline{toc}{section}{Index}
197 \PrintIndex 200 \PrintIndex
198\end{document} 201\end{document}
@@ -506,21 +509,24 @@
506% \end{quote} 509% \end{quote}
507% \item The euphonic \arb[trans]{ta^sdId} is generated (see 510% \item The euphonic \arb[trans]{ta^sdId} is generated (see
508% \vpageref{ref:euphonic-tashdid}). 511% \vpageref{ref:euphonic-tashdid}).
509% \item Assimilation rules laid on \vref{ref:assimilation} are
510% applied.
511% \item In |fullvoc| mode, the \arb[trans]{sukUn} is expressed. 512% \item In |fullvoc| mode, the \arb[trans]{sukUn} is expressed.
512% \end{compactitem} 513% \end{compactitem}
513% 514%
514% \DescribeMacro{\SetArbEasy} \NEWfeature{v1.4.4} 515% \DescribeMacro{\SetArbEasy} \NEWfeature{v1.4.4}
515% \DescribeMacro{\SetArbEasy*} \DescribeMacro{\SetArbDflt} Such 516% \DescribeMacro{\SetArbEasy*} \DescribeMacro{\SetArbDflt} Such
516% refinements may be discarded by the command \cs{SetArbEasy}, either 517% refinements as \enquote*{classic} \arb[trans]{maddaT} may be
517% globally in the preamble or locally at any point of the 518% discarded by the command \cs{SetArb\allowbreak{}Easy}, either globally in the
518% document. The difference between \cs{SetArbEasy} and its 519% preamble or locally at any point of the document. The difference
519% \enquote*{starred} version \cs{SetArbEasy*} is that the former keeps 520% between \cs{SetArbEasy} and its \enquote*{starred} version
520% the \arb[trans]{sukUn} that is generated by the |fullvoc| mode, 521% \cs{SetArbEasy*} is that the former keeps the \arb[trans]{sukUn}
521% while the latter further takes it away. Default \enquote*{classic} 522% that is generated by the |fullvoc| mode, while the latter further
522% rules may be set back at any point of the document with the command 523% takes it away. Default \enquote*{classic} rules may be set back at
523% \cs{SetArbDflt}. Examples follow:--- 524% any point of the document with the command
525% \cs{SetArbDflt}. \NEWfeature{v1.6}
526% \DescribeMacro{\SetArbDflt*}Assimilation rules laid on
527% \vref{ref:assimilation} may also be applied by the
528% \enquote*{starred} version of this command \cs{SetArbDflt*} either
529% in the preamble or at any point of the document. Examples follow:---
524% \begin{compactenum}[(a)] 530% \begin{compactenum}[(a)]
525% \item \cs{SetArbDflt}: 531% \item \cs{SetArbDflt}:
526% \begin{compactenum}[i.] 532% \begin{compactenum}[i.]
@@ -531,6 +537,15 @@
531% \item |trans| \arb[trans]{wa-mAta istisqA'aN qabla 'an yutimma 537% \item |trans| \arb[trans]{wa-mAta istisqA'aN qabla 'an yutimma
532% kitAba-hu fI nujUm-i 'l-samA'-i} 538% kitAba-hu fI nujUm-i 'l-samA'-i}
533% \end{compactenum} 539% \end{compactenum}
540% \item \cs{SetArbDflt*}:
541% \begin{compactenum}[i.]\SetArbDflt*
542% \item |voc| \arb[voc]{wa-mAta istisqA'aN qabla 'an yutimma
543% kitAba-hu fI nujUm-i 'l-samA'-i}
544% \item |fullvoc| \arb[fullvoc]{wa-mAta istisqA'aN qabla 'an yutimma
545% kitAba-hu fI nujUm-i 'l-samA'-i}
546% \item |trans| \arb[trans]{wa-mAta istisqA'aN qabla 'an yutimma
547% kitAba-hu fI nujUm-i 'l-samA'-i}\SetArbDflt
548% \end{compactenum}
534% \item \cs{SetArbEasy}: 549% \item \cs{SetArbEasy}:
535% \begin{compactenum}[i.]\SetArbEasy 550% \begin{compactenum}[i.]\SetArbEasy
536% \item |voc| \arb[voc]{wa-mAta istisqA'aN qabla 'an yutimma 551% \item |voc| \arb[voc]{wa-mAta istisqA'aN qabla 'an yutimma
@@ -1153,7 +1168,7 @@ vowels (see §~3).
1153% \arb[novoc]{l}, \arb[novoc]{m}, \arb[novoc]{w}, \arb[novoc]{y} 1168% \arb[novoc]{l}, \arb[novoc]{m}, \arb[novoc]{w}, \arb[novoc]{y}
1154% after \arb[voc]{n} with \arb[trans]{jazmaT}, and also after the 1169% after \arb[voc]{n} with \arb[trans]{jazmaT}, and also after the
1155% \arb[trans]{tanwIn}:--- 1170% \arb[trans]{tanwIn}:---
1156% \begin{quote} 1171% \begin{quote}\SetArbDflt*
1157% Note the absence of \arb[trans]{sukUn} above the passed over 1172% Note the absence of \arb[trans]{sukUn} above the passed over
1158% \arb[novoc]{n} in the following examples, each of which is 1173% \arb[novoc]{n} in the following examples, each of which is
1159% accompanied by a consistent transliteration: |min rabbi-hi| 1174% accompanied by a consistent transliteration: |min rabbi-hi|
@@ -1162,8 +1177,22 @@ vowels (see §~3).
1162% |'an| |yaqtula| \arb[fullvoc]{'an yaqtula} \arb[trans]{'an yaqtula}. 1177% |'an| |yaqtula| \arb[fullvoc]{'an yaqtula} \arb[trans]{'an yaqtula}.
1163% 1178%
1164% With \arb[trans]{tanwIn}: |kitAbuN| |mubInuN| \arb[voc]{kitAbuN 1179% With \arb[trans]{tanwIn}: |kitAbuN| |mubInuN| \arb[voc]{kitAbuN
1165% mubInuN} \arb[trans]{kitAbuN mubInuN}. 1180% mubInuN} \arb[trans]{kitAbuN mubInuN}.\SetArbDflt
1166% \end{quote} 1181% \end{quote}
1182% \iffalse
1183%<*example>
1184% \fi
1185\begin{arabluacode}[text only]
1186 \textsc{Rem.} This particular feature must be put into operation by
1187 the command \cs{SetArbDflt*} explicitly. See above
1188 \vref{sec:classic-modern-typesetting} for further details. Other
1189 kinds of assimilations, including the various cases of
1190 \arb[trans]{'id.gAm}, will be included in \package{arabluatex}
1191 gradually.
1192\end{arabluacode}
1193% \iffalse
1194%</example>
1195% \fi
1167% \item With the letter \arb[voc]{t} after the dentals 1196% \item With the letter \arb[voc]{t} after the dentals
1168% \arb[novoc]{_t}, \arb[novoc]{d}, \arb[novoc]{_d}, \arb[novoc]{.d}, 1197% \arb[novoc]{_t}, \arb[novoc]{d}, \arb[novoc]{_d}, \arb[novoc]{.d},
1169% \arb[novoc]{.t}, \arb[novoc]{.z} in certain parts of the verb: 1198% \arb[novoc]{.t}, \arb[novoc]{.z} in certain parts of the verb:
@@ -1540,7 +1569,7 @@ vowels (see §~3).
1540% \end{quote} 1569% \end{quote}
1541% 1570%
1542% \subsubsection{\texorpdfstring{Quoting the 1571% \subsubsection{\texorpdfstring{Quoting the
1543% \arb[trans]{hamzaT}}{Quoting the hamza}} 1572% \arb[trans]{hamzaT}}{Quoting the hamzah}}
1544% \label{sec:quoting-hamza} 1573% \label{sec:quoting-hamza}
1545% As said above in \vref{ref:hamza}, the \arb[trans]{hamzaT} is always 1574% As said above in \vref{ref:hamza}, the \arb[trans]{hamzaT} is always
1546% written \meta{\texttt{'}}, its carrier being determined by contextual 1575% written \meta{\texttt{'}}, its carrier being determined by contextual
@@ -2753,11 +2782,11 @@ wa-ya.sIru ta.hta 'l-jild-i
2753% back at any point of the document with \cs{SetArbDflt}. 2782% back at any point of the document with \cs{SetArbDflt}.
2754% \begin{macro}{\SetArbDflt*} 2783% \begin{macro}{\SetArbDflt*}
2755% \changes{v1.6}{2016/11/30}{This starred version applies the 2784% \changes{v1.6}{2016/11/30}{This starred version applies the
2756% assimilation rules (\arb[trans]{al-'id.gAm}) in addition to what 2785% assimilation rules in addition to what \cs{SetArbDflt} already
2757% \cs{SetArbDflt} already does.} As of v1.6, \package{arabluatex} 2786% does.} As of v1.6, \package{arabluatex} does not applies any more
2758% does not applies any more the assimilation rules that are laid on 2787% the assimilation rules that are laid on \vref{ref:assimilation}; a
2759% \vref{ref:assimilation}; a new starred version \cs{SetArbDflt*} is 2788% new starred version \cs{SetArbDflt*} is now available to the user
2760% now available to the user should he wish to apply them. 2789% should he wish to apply them.
2761% \begin{macrocode} 2790% \begin{macrocode}
2762\def\al@arb@rules{dflt} 2791\def\al@arb@rules{dflt}
2763\NewDocumentCommand{\SetArbEasy}{s}{% 2792\NewDocumentCommand{\SetArbEasy}{s}{%
@@ -3128,7 +3157,5 @@ wa-ya.sIru ta.hta 'l-jild-i
3128%</patch> 3157%</patch>
3129% \fi 3158% \fi
3130% 3159%
3131% \printbibliography[heading=bibintoc]
3132%
3133% \Finale 3160% \Finale
3134\endinput 3161\endinput