diff options
-rw-r--r-- | arabluatex.dtx | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 9a79aa5..7f248ad 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/10/24 v1.9.2 An ArabTeX-like interface for LuaLaTeX] | 30 | [2018/01/03 v1.10 An ArabTeX-like interface for LuaLaTeX] |
31 | %</package-info> | 31 | %</package-info> |
32 | % | 32 | % |
33 | %<*driver> | 33 | %<*driver> |
@@ -155,8 +155,9 @@ | |||
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/10/24] | 158 | \usepackage{arabluatex}[2018/01/03] |
159 | \usepackage[nopar]{quran} | 159 | \usepackage[nopar]{quran} |
160 | \usepackage[noindex]{nameauth} | ||
160 | \usepackage{varioref} | 161 | \usepackage{varioref} |
161 | \usepackage{hyperxmp} | 162 | \usepackage{hyperxmp} |
162 | \PassOptionsToPackage{pdfa}{hyperref} | 163 | \PassOptionsToPackage{pdfa}{hyperref} |
@@ -227,7 +228,7 @@ | |||
227 | %</driver> | 228 | %</driver> |
228 | % \fi | 229 | % \fi |
229 | % | 230 | % |
230 | % \CheckSum{0} | 231 | % \CheckSum{715} |
231 | % | 232 | % |
232 | % \CharacterTable | 233 | % \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 | 234 | % {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 |
@@ -2547,12 +2548,13 @@ word that \cs{arbnull} is applied to. | |||
2547 | % \end{quote} | 2548 | % \end{quote} |
2548 | % | 2549 | % |
2549 | % \paragraph{Proper names outside Arabic environments} | 2550 | % \paragraph{Proper names outside Arabic environments} |
2551 | % \changes{v1.10}{2018/01/03}{\cs{uc} supersedes \cs{cap}} | ||
2550 | % \DescribeMacro{\prname}\NEWfeature{v1.10} Transliterated proper | 2552 | % \DescribeMacro{\prname}\NEWfeature{v1.10} Transliterated proper |
2551 | % names inserted in paragraphs of English text should be printed in | 2553 | % names inserted in paragraphs of English text should be printed in |
2552 | % the same typeface as the surrounding text. \cs{prname}\marg{Arabic | 2554 | % the same typeface as the surrounding text. \cs{prname}\marg{Arabic |
2553 | % proper name} is provided to that effect.\footnote{As \cs{uc}, | 2555 | % proper name} is provided to that effect:\footnote{Just as \cs{uc}, |
2554 | % \cs{prname} is also able to process proper names consisting of | 2556 | % \cs{prname} is also able to process proper names consisting of |
2555 | % several subsequent words.} | 2557 | % several subsequent words.}--- |
2556 | %\iffalse | 2558 | %\iffalse |
2557 | %<*example> | 2559 | %<*example> |
2558 | % \fi | 2560 | % \fi |
@@ -2568,6 +2570,30 @@ From \textcite[i. 23 C]{Wright}:--- If the name following | |||
2568 | %</example> | 2570 | %</example> |
2569 | % \fi | 2571 | % \fi |
2570 | % | 2572 | % |
2573 | % The following example shows how \cs{prname} can be used in | ||
2574 | % conjunction with the \package{nameauth} package to have Arabic | ||
2575 | % proper names printed first in full then in partial | ||
2576 | % forms:\footnote{See the documentation of \package{nameauth} for more | ||
2577 | % details: \url{https://ctan.org/pkg/nameauth}}--- % | ||
2578 | %\iffalse | ||
2579 | %<*example> | ||
2580 | % \fi | ||
2581 | \begin{arabluacode} | ||
2582 | \begin{nameauth} | ||
2583 | \< Hunayn & \prname{'abU zayd} & \prname{.hunayn}, \prname{ibn | ||
2584 | 'is.h_aq al-`ibAdiyy} & > % | ||
2585 | \< Razi & & \prname{al-rAziyy}, \prname{'abu bark mu.hammad ibn | ||
2586 | zakariyyA'} & > % | ||
2587 | \end{nameauth} | ||
2588 | \pretocmd{\Razi}{\RevName}{}{} | ||
2589 | |||
2590 | On first occurrence, proper names are printed as \Hunayn, \Razi. | ||
2591 | Then as \Hunayn, \Razi. | ||
2592 | \end{arabluacode} | ||
2593 | % \iffalse | ||
2594 | %</example> | ||
2595 | % \fi | ||
2596 | % | ||
2571 | % \subsection{Additional note on \texttt{dmg} convention} | 2597 | % \subsection{Additional note on \texttt{dmg} convention} |
2572 | % \label{sec:additional-note-dmg} | 2598 | % \label{sec:additional-note-dmg} |
2573 | % \NEWfeature{v1.3} According to \textcite[6]{dmg}, Arabic | 2599 | % \NEWfeature{v1.3} According to \textcite[6]{dmg}, Arabic |
@@ -3397,7 +3423,7 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
3397 | % \begin{macrocode} | 3423 | % \begin{macrocode} |
3398 | \NeedsTeXFormat{LaTeX2e} | 3424 | \NeedsTeXFormat{LaTeX2e} |
3399 | \ProvidesPackage{arabluatex}% | 3425 | \ProvidesPackage{arabluatex}% |
3400 | [2017/10/24 v1.9.2 An ArabTeX-like interface for LuaLaTeX] | 3426 | [2018/01/03 v1.10 An ArabTeX-like interface for LuaLaTeX] |
3401 | \RequirePackage{ifluatex} | 3427 | \RequirePackage{ifluatex} |
3402 | % \end{macrocode} | 3428 | % \end{macrocode} |
3403 | % \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning | 3429 | % \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning |
@@ -3648,7 +3674,7 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
3648 | \let\Uc\uc | 3674 | \let\Uc\uc |
3649 | % \end{macrocode} | 3675 | % \end{macrocode} |
3650 | % \end{macro} | 3676 | % \end{macro} |
3651 | % \begin{macro}{\prname}\changes{v1.10}{2018/01/02}{New command for | 3677 | % \begin{macro}{\prname}\changes{v1.10}{2018/01/03}{New command for |
3652 | % typesetting Arabic proper names in transliteration} \cs{prname} is | 3678 | % typesetting Arabic proper names in transliteration} \cs{prname} is |
3653 | % to be used outside Arabic environments for proper names. It takes as | 3679 | % to be used outside Arabic environments for proper names. It takes as |
3654 | % argument one or more Arabic words, each of which will be rendered in | 3680 | % argument one or more Arabic words, each of which will be rendered in |