From 815cc320b97cf63a7a06711d6a1a81ab3d1bccbd Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 31 Mar 2016 12:15:14 +0200 Subject: minor update of the documentation (csquotes) --- arabluatex.dtx | 58 +++++++++++++++++++++++++++++++++++++++++++++++++--------- makefile | 2 +- 2 files changed, 50 insertions(+), 10 deletions(-) diff --git a/arabluatex.dtx b/arabluatex.dtx index cecee31..2f6b393 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx @@ -27,7 +27,7 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\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] % % %<*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... % % \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 +% +% \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 +% +% \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 diff --git a/makefile b/makefile index eb9a794..1db2b7e 100644 --- a/makefile +++ b/makefile @@ -20,7 +20,7 @@ local: clean sty package: clean all pandoc README.tex -o README.md mkdir arabluatex - cp *.lua *.ins *.dtx *.bib *.md arabluatex/ + cp *.lua *.ins *.dtx *.bib *.md *.pdf arabluatex/ mkdir -p tex/lualatex/arabluatex/ cp *.lua *.sty tex/lualatex/arabluatex/ mkdir -p doc/lualatex/arabluatex/ -- cgit v1.2.3