aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-11-30 17:32:18 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-12-01 10:44:10 +0100
commit07ec135217f9cf9c2cf4117ec5a6d65b8e1a4236 (patch)
tree506d8553ff6e77964f9341f2898f59be185d5c9f /arabluatex.dtx
parentce7f9bd4560092f3dfcd1716443bbbfafe1dae6c (diff)
downloadarabluatex-07ec135217f9cf9c2cf4117ec5a6d65b8e1a4236.tar.gz
new option \SetArbDflt* for applying the assimilation rules for these are not applied by default anymore
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx13
1 files changed, 12 insertions, 1 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 0c5d2a1..4bd9057 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -2751,17 +2751,28 @@ wa-ya.sIru ta.hta 'l-jild-i
2751% \arb[trans]{sukUn} that is generated, while the starred version 2751% \arb[trans]{sukUn} that is generated, while the starred version
2752% \cs{SetArbEasy*} takes it away. Default complex rules can be set 2752% \cs{SetArbEasy*} takes it away. Default complex rules can be set
2753% back at any point of the document with \cs{SetArbDflt}. 2753% back at any point of the document with \cs{SetArbDflt}.
2754% \begin{macro}{\SetArbDflt*}
2755% \changes{v1.6}{2016/11/30}{This starred version applies the
2756% assimilation rules (\arb[trans]{al-'id.gAm}) in addition to what
2757% \cs{SetArbDflt} already does.} As of v1.6, \package{arabluatex}
2758% does not applies any more the assimilation rules that are laid on
2759% \vref{ref:assimilation}; a new starred version \cs{SetArbDflt*} is
2760% now available to the user should he wish to apply them.
2754% \begin{macrocode} 2761% \begin{macrocode}
2755\def\al@arb@rules{dflt} 2762\def\al@arb@rules{dflt}
2756\NewDocumentCommand{\SetArbEasy}{s}{% 2763\NewDocumentCommand{\SetArbEasy}{s}{%
2757 \IfBooleanTF{#1} 2764 \IfBooleanTF{#1}
2758 {\def\al@arb@rules{easynosukun}} 2765 {\def\al@arb@rules{easynosukun}}
2759 {\def\al@arb@rules{easy}}} 2766 {\def\al@arb@rules{easy}}}
2760\NewDocumentCommand{\SetArbDflt}{}{\def\al@arb@rules{dflt}} 2767\NewDocumentCommand{\SetArbDflt}{s}{%
2768 \IfBooleanTF{#1}
2769 {\def\al@arb@rules{idgham}}
2770 {\def\al@arb@rules{dflt}}}
2761% \end{macrocode} 2771% \end{macrocode}
2762% \end{macro} 2772% \end{macro}
2763% \end{macro} 2773% \end{macro}
2764% \end{macro} 2774% \end{macro}
2775% \end{macro}
2765% \begin{macro}{\SetTranslitFont} 2776% \begin{macro}{\SetTranslitFont}
2766% \changes{v1.4}{2016/07/05}{For selecting a specific font for 2777% \changes{v1.4}{2016/07/05}{For selecting a specific font for
2767% transliterated texts} By default, the font that is used for 2778% transliterated texts} By default, the font that is used for