From 07ec135217f9cf9c2cf4117ec5a6d65b8e1a4236 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Wed, 30 Nov 2016 17:32:18 +0100
Subject: new option \SetArbDflt* for applying the assimilation rules for these
 are not applied by default anymore

---
 arabluatex.dtx | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

(limited to 'arabluatex.dtx')

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
 %   \arb[trans]{sukUn} that is generated, while the starred version
 %   \cs{SetArbEasy*} takes it away. Default complex rules can be set
 %   back at any point of the document with \cs{SetArbDflt}.
+% \begin{macro}{\SetArbDflt*}
+%   \changes{v1.6}{2016/11/30}{This starred version applies the
+%   assimilation rules (\arb[trans]{al-'id.gAm}) in addition to what
+%   \cs{SetArbDflt} already does.} As of v1.6, \package{arabluatex}
+%   does not applies any more the assimilation rules that are laid on
+%   \vref{ref:assimilation}; a new starred version \cs{SetArbDflt*} is
+%   now available to the user should he wish to apply them.
 %    \begin{macrocode}
 \def\al@arb@rules{dflt}
 \NewDocumentCommand{\SetArbEasy}{s}{%
   \IfBooleanTF{#1}
   {\def\al@arb@rules{easynosukun}}
   {\def\al@arb@rules{easy}}}
-\NewDocumentCommand{\SetArbDflt}{}{\def\al@arb@rules{dflt}}
+\NewDocumentCommand{\SetArbDflt}{s}{%
+  \IfBooleanTF{#1}
+  {\def\al@arb@rules{idgham}}
+  {\def\al@arb@rules{dflt}}}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
 % \end{macro}
+% \end{macro}
 % \begin{macro}{\SetTranslitFont}
 %   \changes{v1.4}{2016/07/05}{For selecting a specific font for
 %   transliterated texts} By default, the font that is used for
-- 
cgit v1.2.3

