aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2017-10-24 12:49:53 +0200
committerRobert Alessi <alessi@robertalessi.net>2017-10-24 12:49:53 +0200
commit042bd26db0f11705e7d308f7a82c20d63233dada (patch)
treeec42b4ed52fddc5eb8ea12cc1472317e217eb92e
parent917f9a9e01ad6af90a35ae6a31d25296a5659223 (diff)
downloadarabluatex-042bd26db0f11705e7d308f7a82c20d63233dada.tar.gz
a few additional remarks in the documentation; updated to v1.9.2v1.9.2
-rw-r--r--arabluatex.dtx52
-rw-r--r--samples/al-Jahiz.tex2
2 files changed, 39 insertions, 15 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 24e7e1f..5e4cf33 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -27,7 +27,7 @@
27%<package-info>\NeedsTeXFormat{LaTeX2e}[1999/12/01] 27%<package-info>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
28%<package-info>\ProvidesPackage{arabluatex} 28%<package-info>\ProvidesPackage{arabluatex}
29%<*package-info> 29%<*package-info>
30 [2017/07/28 v1.9.1 An ArabTeX-like interface for LuaLaTeX] 30 [2017/10/24 v1.9.2 An ArabTeX-like interface for LuaLaTeX]
31%</package-info> 31%</package-info>
32% 32%
33%<*driver> 33%<*driver>
@@ -155,7 +155,7 @@
155\defaultfontfeatures{RawFeature={+liga}} 155\defaultfontfeatures{RawFeature={+liga}}
156\setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps}, 156\setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps},
157 RawFeature={+mark;+ccmp;+ss05;+ss06}] 157 RawFeature={+mark;+ccmp;+ss05;+ss06}]
158\usepackage{arabluatex}[2017/07/28] 158\usepackage{arabluatex}[2017/10/24]
159\usepackage[nopar]{quran} 159\usepackage[nopar]{quran}
160\usepackage{varioref} 160\usepackage{varioref}
161\usepackage{hyperxmp} 161\usepackage{hyperxmp}
@@ -227,7 +227,7 @@
227%</driver> 227%</driver>
228% \fi 228% \fi
229% 229%
230% \CheckSum{0} 230% \CheckSum{707}
231% 231%
232% \CharacterTable 232% \CharacterTable
233% {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 233% {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
@@ -558,6 +558,22 @@
558% \item The euphonic \arb[trans]{ta^sdId} is generated (see 558% \item The euphonic \arb[trans]{ta^sdId} is generated (see
559% \vpageref{ref:euphonic-tashdid}). 559% \vpageref{ref:euphonic-tashdid}).
560% \item In |fullvoc| mode, the \arb[trans]{sukUn} is expressed. 560% \item In |fullvoc| mode, the \arb[trans]{sukUn} is expressed.
561% \item In such words as \arb{^say'aN}, \arb{.zim'aN} and the like,
562% the \arb[trans]{hamzaT} alone is not written over the letter
563% \arb[trans]{yA'} with no diacritical points below as in
564% \arb{sayy"'aN}, \arb{.zimy"'aN}, but over a horizontal stroke
565% placed in the continuation of the preceding letter. %
566% \iffalse
567%<*example>
568% \fi
569\begin{arabluacode}[text only]
570Please note that only few Arabic fonts provide such contrivances. In
571case this feature is not supported by some Arabic font, it is
572advisable to use \cs{SetArbEasy}.
573\end{arabluacode}
574% \iffalse
575%</example>
576% \fi
561% \end{compactitem} 577% \end{compactitem}
562% 578%
563% \DescribeMacro{\SetArbEasy} \NEWfeature{v1.4.4} 579% \DescribeMacro{\SetArbEasy} \NEWfeature{v1.4.4}
@@ -793,7 +809,7 @@ vowels (see ยง~3).
793% \arb[novoc]{h} & \dmg{h} & \loc{h} & \brill{h} & |h| \\ 809% \arb[novoc]{h} & \dmg{h} & \loc{h} & \brill{h} & |h| \\
794% \arb[novoc]{w} & \dmg{w} & \loc{w} & \brill{w} & |w| \\ 810% \arb[novoc]{w} & \dmg{w} & \loc{w} & \brill{w} & |w| \\
795% \arb[novoc]{y} & \dmg{y} & \loc{y} & \brill{y} & |y|\footnote{For 811% \arb[novoc]{y} & \dmg{y} & \loc{y} & \brill{y} & |y|\footnote{For
796% the letter \arb[novoc]{.y} with no diacritical point below, see 812% the letter \arb[novoc]{.y} with no diacritical points below, see
797% \emph{Rem{.} b.} below.} \\ 813% \emph{Rem{.} b.} below.} \\
798% \arb[novoc]{T} & \dmg{aT} & \loc{aT} & \brill{aT} & |T| \\ 814% \arb[novoc]{T} & \dmg{aT} & \loc{aT} & \brill{aT} & |T| \\
799% \bottomrule 815% \bottomrule
@@ -2036,11 +2052,16 @@ word that \cs{arbnull} is applied to.
2036% \end{quote} 2052% \end{quote}
2037% 2053%
2038% \begin{quoting} 2054% \begin{quoting}
2039% \textsc{Rem.} As the above example shows, \package{arabluatex} 2055% \textsc{Rem.}~\emph{a.} As the above example shows,
2040% places the horizontal stroke \emph{under} the emphasized words in 2056% \package{arabluatex} places the horizontal stroke \emph{under} the
2041% any of the transliteration modes. 2057% emphasized words in any of the transliteration modes.
2042% 2058%
2043% \DescribeMacro{\aemph*}\NEWfeature{v1.9.2} 2059% \textsc{Rem.}~\emph{b.} \NEWfeature{v1.9.2}\DescribeMacro{\aemph*}
2060% \cs{aemph*} is also provided should one wish to always have the
2061% horizontal stroke printed over the emphasized words, like so:
2062% |\abjad{45}:| |kitAbu-hu| |\aemph*{fI| |'l-`AdAt-i}|
2063% \arb[voc]{\abjad{45}: kitAbu-hu \aemph*{fI 'l-`AdAt-i}}
2064% \arb[trans]{\abjad{45}: kitAbu-hu \aemph*{fI 'l-\cap{`AdAt-i}}}.
2044% \end{quoting} 2065% \end{quoting}
2045% 2066%
2046% \section{Arabic poetry} 2067% \section{Arabic poetry}
@@ -3329,7 +3350,7 @@ wa-ya.sIru ta.hta 'l-jild-i
3329% \begin{macrocode} 3350% \begin{macrocode}
3330\NeedsTeXFormat{LaTeX2e} 3351\NeedsTeXFormat{LaTeX2e}
3331\ProvidesPackage{arabluatex}% 3352\ProvidesPackage{arabluatex}%
3332[2017/07/28 v1.9.1 An ArabTeX-like interface for LuaLaTeX] 3353[2017/10/24 v1.9.2 An ArabTeX-like interface for LuaLaTeX]
3333\RequirePackage{ifluatex} 3354\RequirePackage{ifluatex}
3334% \end{macrocode} 3355% \end{macrocode}
3335% \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning 3356% \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning
@@ -3433,9 +3454,11 @@ wa-ya.sIru ta.hta 'l-jild-i
3433% \end{macrocode} 3454% \end{macrocode}
3434% \end{macro} 3455% \end{macro}
3435% \begin{macro}{\aemph} Arabic emphasis. Needs to be redefined as 3456% \begin{macro}{\aemph} Arabic emphasis. Needs to be redefined as
3436% well. The function is actually coded in 3457% well. The function is actually coded in Lua.
3437% Lua. \changes{v1.9.2}{2017/10/24}{\cs{aemph*} Starred version 3458% \begin{macro}{\aemph*} The \enquote*{starred} version of this
3438% which always puts the stroke over its argument} 3459% command alway puts the stroke over its argument.
3460% \changes{v1.9.2}{2017/10/24}{Starred version which always puts the
3461% stroke over its argument}
3439% \begin{macrocode} 3462% \begin{macrocode}
3440\AtBeginDocument{\ifdef{\aemph}% 3463\AtBeginDocument{\ifdef{\aemph}%
3441 {\RenewDocumentCommand{\aemph}{s m}{% 3464 {\RenewDocumentCommand{\aemph}{s m}{%
@@ -3447,6 +3470,8 @@ wa-ya.sIru ta.hta 'l-jild-i
3447 $\overline{\text{#2}}$} 3470 $\overline{\text{#2}}$}
3448 {\luadirect{tex.sprint(aemph(\luastringN{#2}))}}}}} 3471 {\luadirect{tex.sprint(aemph(\luastringN{#2}))}}}}}
3449% \end{macrocode} 3472% \end{macrocode}
3473% \end{macro}
3474% \end{macro}
3450% \begin{macro}{\SetInputScheme} 3475% \begin{macro}{\SetInputScheme}
3451% \changes{v1.4}{2016/07/05}{\cs{SetInputScheme} may be used to 3476% \changes{v1.4}{2016/07/05}{\cs{SetInputScheme} may be used to
3452% process other input schemes such as \enquote*{Buckwalter}} 3477% process other input schemes such as \enquote*{Buckwalter}}
@@ -3459,7 +3484,6 @@ wa-ya.sIru ta.hta 'l-jild-i
3459\NewDocumentCommand{\SetInputScheme}{m}{\def\al@input@scheme{#1}} 3484\NewDocumentCommand{\SetInputScheme}{m}{\def\al@input@scheme{#1}}
3460% \end{macrocode} 3485% \end{macrocode}
3461% \end{macro} 3486% \end{macro}
3462% \end{macro}
3463% \begin{macro}{\SetArbEasy} 3487% \begin{macro}{\SetArbEasy}
3464% \changes{v1.2}{2016/05/09}{New \cs{SetArbEasy}/\cs{SetArbDflt} for 3488% \changes{v1.2}{2016/05/09}{New \cs{SetArbEasy}/\cs{SetArbDflt} for
3465% \enquote*{modern} or \enquote*{classic} Arabic styles.} 3489% \enquote*{modern} or \enquote*{classic} Arabic styles.}
diff --git a/samples/al-Jahiz.tex b/samples/al-Jahiz.tex
index 3fa94b6..7089be5 100644
--- a/samples/al-Jahiz.tex
+++ b/samples/al-Jahiz.tex
@@ -147,7 +147,7 @@ on p.~\pageref{source})}
147\maketitle 147\maketitle
148\vspace{-1in} 148\vspace{-1in}
149 149
150\label{source} 150\phantomsection\label{source}
151Here follows the exact source code that has been used to produce the 151Here follows the exact source code that has been used to produce the
152above presented outputs. Discretionary hyphens 152above presented outputs. Discretionary hyphens
153(\mintinline{latex}|\-|) may have been inserted at some points to 153(\mintinline{latex}|\-|) may have been inserted at some points to