summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx45
1 files changed, 34 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx b/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx
index ff52e804274..3829b48356e 100644
--- a/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx
+++ b/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx
@@ -27,7 +27,7 @@
%<package-info>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package-info>\ProvidesPackage{arabluatex}
%<*package-info>
- [2016/09/14 v1.4.3 This is ArabTeX for LuaLaTeX]
+ [2016/09/28 v1.4.4 This is ArabTeX for LuaLaTeX]
%</package-info>
%
%<*driver>
@@ -145,7 +145,7 @@
\defaultfontfeatures{RawFeature={+liga}}
\setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps},
RawFeature={+mark;+ccmp;+ss05;+ss06}]
-\usepackage{arabluatex}[2016/09/14]
+\usepackage{arabluatex}[2016/09/28]
\usepackage{varioref}
\usepackage{hypdoc}
\hypersetup{unicode=true, colorlinks, allcolors=blue,
@@ -198,7 +198,7 @@
%</driver>
% \fi
%
-% \CheckSum{376}
+% \CheckSum{379}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -510,12 +510,16 @@
% \item In |fullvoc| mode, the \arb[trans]{sukUn} is expressed.
% \end{compactitem}
%
-% \DescribeMacro{\SetArbEasy} \DescribeMacro{\SetArbDflt} Such
+% \DescribeMacro{\SetArbEasy} \NEWfeature{v1.4.4}
+% \DescribeMacro{\SetArbEasy*} \DescribeMacro{\SetArbDflt} Such
% refinements may be discarded by the command \cs{SetArbEasy}, either
% globally in the preamble or locally at any point of the
-% document. Default \enquote*{classic} rules may be set back at any
-% point of the document with the command \cs{SetArbDflt}. Examples
-% follow:---
+% document. The difference between \cs{SetArbEasy} and its
+% \enquote*{starred} version \cs{SetArbEasy*} is that the former keeps
+% the \arb[trans]{sukUn} that is generated by the |fullvoc| mode,
+% while the latter further takes it away. Default \enquote*{classic}
+% rules may be set back at any point of the document with the command
+% \cs{SetArbDflt}. Examples follow:---
% \begin{compactenum}[(a)]
% \item \cs{SetArbDflt}:
% \begin{compactenum}[i.]
@@ -535,6 +539,15 @@
% \item |trans| \arb[trans]{wa-mAta istisqA'aN qabla 'an yutimma
% kitAba-hu fI nujUm-i 'l-samA'-i}\SetArbDflt
% \end{compactenum}
+% \item \cs{SetArbEasy*}:
+% \begin{compactenum}[i.]\SetArbEasy*
+% \item |voc| \arb[voc]{wa-mAta istisqA'aN qabla 'an yutimma
+% kitAba-hu fI nujUm-i 'l-samA'-i}
+% \item |fullvoc| \arb[fullvoc]{wa-mAta istisqA'aN qabla 'an yutimma
+% kitAba-hu fI nujUm-i 'l-samA'-i}
+% \item |trans| \arb[trans]{wa-mAta istisqA'aN qabla 'an yutimma
+% kitAba-hu fI nujUm-i 'l-samA'-i}\SetArbDflt
+% \end{compactenum}
% \end{compactenum}
%
% \iffalse
@@ -2383,7 +2396,7 @@ wa-ya.sIru ta.hta 'l-jild-i
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{arabluatex}%
-[2016/09/14 v1.4.3 ArabTeX-like interface for LuaLaTeX]
+[2016/09/28 v1.4.4 ArabTeX-like interface for LuaLaTeX]
\RequirePackage{ifluatex}
% \end{macrocode}
% \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning
@@ -2494,20 +2507,31 @@ wa-ya.sIru ta.hta 'l-jild-i
% \begin{macro}{\SetArbEasy}
% \changes{v1.2}{2016/05/09}{New \cs{SetArbEasy}/\cs{SetArbDflt} for
% \enquote*{modern} or \enquote*{classic} Arabic styles.}
+% \begin{macro}{\SetArbEasy*}
+% \changes{v1.4.4}{2016/09/28}{this starred version discards the
+% \arb[trans]{sukUn} in addition to what is already discarded by
+% \cs{SetArbEasy}.}
% \begin{macro}{\SetArbDflt}
% By default, \package{arabluatex} applies complex rules to generate
% euphonic \arb[trans]{ta^sdId}, \arb[trans]{'alif mamdUdaT} and
% \arb[trans]{sukUn} depending on the modes which are selected,
% either |voc|, |fullvoc| or |trans|. Such refinements can be
% discarded with \cs{SetArbEasy}, either globally in the preamble or
-% at any point of the document. Default complex rules can be set
+% at any point of the document. Note that \cs{SetArbEasy} keeps the
+% \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{macrocode}
\def\al@arb@rules{dflt}
-\NewDocumentCommand{\SetArbEasy}{}{\def\al@arb@rules{easy}}
+\NewDocumentCommand{\SetArbEasy}{s}{%
+ \IfBooleanTF{#1}
+ {\def\al@arb@rules{easynosukun}}
+ {\def\al@arb@rules{easy}}}
\NewDocumentCommand{\SetArbDflt}{}{\def\al@arb@rules{dflt}}
% \end{macrocode}
% \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
@@ -2519,7 +2543,6 @@ wa-ya.sIru ta.hta 'l-jild-i
\NewDocumentCommand{\SetTranslitFont}{m}{\def\al@trans@font{#1}}
% \end{macrocode}
% \end{macro}
-% \end{macro}
% \begin{macro}{\SetTranslitStyle} By default any transliterated
% Arabic text is printed in italics. This can be changed either
% globally in the preamble or at any point of the document: