diff options
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r-- | arabluatex.dtx | 72 |
1 files changed, 67 insertions, 5 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 50af415..db2b663 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 | [2018/08/29 v1.14 An ArabTeX-like interface for LuaLaTeX] | 30 | [2018/10/09 v1.15 An ArabTeX-like interface for LuaLaTeX] |
31 | %</package-info> | 31 | %</package-info> |
32 | % | 32 | % |
33 | %<*driver> | 33 | %<*driver> |
@@ -158,7 +158,7 @@ | |||
158 | \usepackage{newunicodechar} | 158 | \usepackage{newunicodechar} |
159 | \newunicodechar{ǧ}{ǧ} % Old Standard does not include ǧ/Ǧ | 159 | \newunicodechar{ǧ}{ǧ} % Old Standard does not include ǧ/Ǧ |
160 | \newunicodechar{Ǧ}{Ǧ} % | 160 | \newunicodechar{Ǧ}{Ǧ} % |
161 | \usepackage{arabluatex}[2018/08/29] | 161 | \usepackage{arabluatex}[2018/10/09] |
162 | \usepackage[nopar]{quran} | 162 | \usepackage[nopar]{quran} |
163 | \usepackage[noindex]{nameauth} | 163 | \usepackage[noindex]{nameauth} |
164 | \usepackage{varioref} | 164 | \usepackage{varioref} |
@@ -258,7 +258,7 @@ | |||
258 | %</driver> | 258 | %</driver> |
259 | % \fi | 259 | % \fi |
260 | % | 260 | % |
261 | % \CheckSum{0} | 261 | % \CheckSum{899} |
262 | % | 262 | % |
263 | % \CharacterTable | 263 | % \CharacterTable |
264 | % {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 | 264 | % {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 |
@@ -2610,6 +2610,68 @@ word that \cs{arbnull} is applied to. | |||
2610 | %</example> | 2610 | %</example> |
2611 | % \fi | 2611 | % \fi |
2612 | % | 2612 | % |
2613 | % \subsection{\texorpdfstring{The \prname{qur'An}}{The Qurʾān}} | ||
2614 | % \label{sec:the-quran} | ||
2615 | % This sub-part is destined to become a part of its own, as fine | ||
2616 | % typesetting of \prname{qur'An}ic text is planned in the versions of | ||
2617 | % \package{arabluatex} to come in the medium-term. New functions and | ||
2618 | % new Arabic modes will be available as \package{arabluatex} will | ||
2619 | % mature. | ||
2620 | % | ||
2621 | % \DescribeMacro{\ayah}\NEWfeature{v1.15}For the time being, | ||
2622 | % \cs{ayah}\marg{3-digit number} is provided so as to typeset in | ||
2623 | % Arabic script the number of the \arb[trans]{'AyaT} that it is | ||
2624 | % referred to inside the dedicated mark---Unicode |U+06DD|: | ||
2625 | % \txarb{^^^^06dd}---and inside parentheses in romanized Arabic:--- | ||
2626 | % \begin{quote} | ||
2627 | % |\ayah{123}| \arb{\ayah{123}} \arb[trans]{\ayah{123}}. | ||
2628 | % \end{quote} | ||
2629 | % | ||
2630 | % An example follows:--- | ||
2631 | % \iffalse | ||
2632 | %<*example> | ||
2633 | % \fi | ||
2634 | \begin{arabluacode} | ||
2635 | \SetArbDflt* | ||
2636 | \newarbmark{alifsp}{^^^^0627}{\arb[trans]{'alif} } | ||
2637 | \newarbmark{lamsp}{^^^^0644^^^^0653}{\arb[trans]{lAm} } | ||
2638 | \newarbmark{mim}{^^^^0645^^^^0653}{\arb[trans]{mIm}} | ||
2639 | \begin{arab}[fullvoc] | ||
2640 | min ((sUraTi \uc{'l-b}aqaraTi)): | ||
2641 | \end{arab} | ||
2642 | \begin{arab}[fullvoc] | ||
2643 | \arbmark{alifsp}\arbmark{lamsp}\arbmark{mim}~\ayah{1} | ||
2644 | _d_alika 'l-kit_abu lA rayba fI-hi hudaN_A | ||
2645 | li-l-muttaqIna~\ayah{2} 'lla_dIna yu'minUna bi-'l-.gaybi | ||
2646 | wa-yuqImUna 'l-.sal_aUTa wa-mimmA razaqn_a-hum | ||
2647 | yunfiqUna~\ayah{3} | ||
2648 | \end{arab} | ||
2649 | \end{arabluacode} | ||
2650 | \begin{arabluacode}[text only] | ||
2651 | \SetArbDflt* | ||
2652 | \begin{arab}[trans] | ||
2653 | min ((sUraTi \uc{'l-b}aqaraTi)): | ||
2654 | \end{arab} | ||
2655 | \begin{arab}[trans] | ||
2656 | \arbmark{alifsp}\arbmark{lamsp}\arbmark{mim}~\ayah{1} | ||
2657 | _d_alika 'l-kit_abu lA rayba fI-hi hudaN_A | ||
2658 | li-l-muttaqIna~\ayah{2} 'lla_dIna yu'minUna bi-'l-.gaybi | ||
2659 | wa-yuqImUna 'l-.sal_aUTa wa-mimmA razaqn_a-hum | ||
2660 | yunfiqUna~\ayah{3} | ||
2661 | \end{arab} | ||
2662 | \end{arabluacode} | ||
2663 | % \iffalse | ||
2664 | %</example> | ||
2665 | % \fi | ||
2666 | % | ||
2667 | % \paragraph{Caveat} | ||
2668 | % For some reason, most of the Arabic fonts do not show the number | ||
2669 | % properly: some are only able to display at most two digits, while | ||
2670 | % others display the digits outside the \enquote*{end of | ||
2671 | % \arb[trans]{'AyaT}} sign, let alone those that print the digits | ||
2672 | % stacked. To the knowledge of the writer, this should be reported to | ||
2673 | % the developpers of those fonts. | ||
2674 | % | ||
2613 | % \section{Color} | 2675 | % \section{Color} |
2614 | % \label{sec:color} | 2676 | % \label{sec:color} |
2615 | % \NEWfeature{v1.12}\package{arabluatex} is able to render in color | 2677 | % \NEWfeature{v1.12}\package{arabluatex} is able to render in color |
@@ -4237,7 +4299,7 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4237 | % \begin{macrocode} | 4299 | % \begin{macrocode} |
4238 | \NeedsTeXFormat{LaTeX2e} | 4300 | \NeedsTeXFormat{LaTeX2e} |
4239 | \ProvidesPackage{arabluatex}% | 4301 | \ProvidesPackage{arabluatex}% |
4240 | [2018/08/29 v1.14 An ArabTeX-like interface for LuaLaTeX] | 4302 | [2018/10/09 v1.15 An ArabTeX-like interface for LuaLaTeX] |
4241 | \RequirePackage{ifluatex} | 4303 | \RequirePackage{ifluatex} |
4242 | % \end{macrocode} | 4304 | % \end{macrocode} |
4243 | % \package{arabluatex} requires \hologo{LuaLaTeX} of course. Issue a | 4305 | % \package{arabluatex} requires \hologo{LuaLaTeX} of course. Issue a |
@@ -4785,7 +4847,7 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4785 | \fi} | 4847 | \fi} |
4786 | % \end{macrocode} | 4848 | % \end{macrocode} |
4787 | % \end{macro} | 4849 | % \end{macro} |
4788 | % \begin{macro}{\ayah}\changes{v1.15}{2018/10/02}{Prints End of Ayah | 4850 | % \begin{macro}{\ayah}\changes{v1.15}{2018/10/09}{Prints End of Ayah |
4789 | % sign}\cs{ayah}\marg{number} prints up to 3-digit numbers inside | 4851 | % sign}\cs{ayah}\marg{number} prints up to 3-digit numbers inside |
4790 | % \enquote*{end of Ayah} sign (|U+06DD|) or inside parentheses | 4852 | % \enquote*{end of Ayah} sign (|U+06DD|) or inside parentheses |
4791 | % depending on the mode which is selected. | 4853 | % depending on the mode which is selected. |