From 815cc320b97cf63a7a06711d6a1a81ab3d1bccbd Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Thu, 31 Mar 2016 12:15:14 +0200
Subject: minor update of the documentation (csquotes)

---
 arabluatex.dtx | 58 +++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 49 insertions(+), 9 deletions(-)

(limited to 'arabluatex.dtx')

diff --git a/arabluatex.dtx b/arabluatex.dtx
index cecee31..2f6b393 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -27,7 +27,7 @@
 %<package-info>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<package-info>\ProvidesPackage{arabluatex}
 %<*package-info>
-    [2016/03/29 v1.0 This is ArabTeX for LuaLaTeX]
+    [2016/03/31 v1.0.1 This is ArabTeX for LuaLaTeX]
 %</package-info>
 %
 %<*driver>
@@ -40,7 +40,7 @@
 \setmainfont{Libertinus Serif}
 \setsansfont{Libertinus Sans}
 \setmonofont[Scale=.9]{Libertinus Mono}
-\usepackage{arabluatex}[2016/03/29]
+\usepackage{arabluatex}[2016/03/31]
 \usepackage{polyglossia}
 \setdefaultlanguage{english}
 \setotherlanguage{arabic}
@@ -116,6 +116,7 @@
 %
 %
 % \changes{1.0}{2016/03/29}{Initial release}
+% \changes{1.0.1}{2016/03/31}{Minor update of the documentation}
 %
 % \DoNotIndex{\newcommand,\newenvironment,\renewcommand}
 % \DoNotIndex{\~,\AtBeginDocument,\bgroup,\csname}
@@ -1683,8 +1684,8 @@ al-muqAtilIna.}, wa-kAnat 'ummI min `u.zamA'i buyUti
 % \fi
 \begin{arabluacode}
 \begin{arab}
-wa-'at_A _dU 'l-qarnayni 'ummaTaN 'llatI hiya fI
-\LR{\textcolor{red}{\arb[fullvoc]{((ma.gribi 'l-^samsi))}}}
+_tumma "intalaqa _dU 'l-qarnayni 'il_A 'ummaTiN 'u_hr_A fI
+\LR{\textcolor{red}{\arb[fullvoc]{((ma.tli`i 'l-^samsi))}}}
 wa-lA binA'a la-hum yu'amminu-hum mina 'l-^samsi.
 \end{arab}
 \end{arabluacode}
@@ -1754,14 +1755,53 @@ qAla barzawayhi bnu 'azhara, ra'su 'a.tibbA'i fArisa...
 %</example>
 % \fi
 %
-% \paragraph{\package{reledmac}} The two-arguments command
-% \cs{edtext}\marg{lemma}\marg{commands} is supported inside
-% \cs{begin}|{arab}| \ldots\ \cs{end}|{arab}|. As an example, one may
-% get \package{arabluatex} and \package{reledmac} to work together
-% like so:---
+% \subsection{\package{csquotes}}
+% \label{sec:csquotes}
+% The recommended way of inserting quotation marks in running Arabic
+% text is to use \package{csquotes}. With the help of the
+% \cs{DeclareQuoteStyle} command, one can define an Arabic style, like
+% so:---
+% \iffalse
+%<*example>
+% \fi
+\begin{arabluaverbatim}
+\usepackage{csquotes}
+\DeclareQuoteStyle{arabic}
+{\rmfamily\textquotedblright}{\rmfamily\textquotedblleft}
+{\rmfamily\textquoteright}{\rmfamily\textquoteleft}
+\end{arabluaverbatim}
+% \iffalse
+%</example>
+% \fi
+% Then, use this newly defined style with \cs{setquotestyle}, like so:---
 % \iffalse
 %<*example>
 % \fi
+\begin{arabluacode}
+\setquotestyle{arabic}
+\begin{arab}
+  fa-qAla la-hu ju.hA: \enquote{.garIbuN 'amru-ka yA .sadIqI
+    'a-tu.saddiqu 'l-.himAra wa-tuka_d_dibu-nI?}
+\end{arab}
+\setquotestyle{english}
+\end{arabluacode}
+% \iffalse
+%</example>
+% \fi
+% \begin{quoting}
+%   \textsc{Rem.} Do not forget to set back the quoting style to its
+%   initial state once the Arabic environment is closed. See the last
+%   line in the code above.
+% \end{quoting}
+% 
+% \subsection{\package{reledmac}}
+% \label{sec:reledmac}
+% The two-arguments command \cs{edtext}\marg{lemma}\marg{commands} is
+% supported inside \cs{begin}|{arab}| \ldots\ \cs{end}|{arab}|. As an
+% example, one may get \package{arabluatex} and \package{reledmac} to
+% work together like so:--- \iffalse
+%<*example>
+% \fi
 \begin{arabluaverbatim}
 \beginnumbering
 \pstart
-- 
cgit v1.2.3

