From 096137dec1ba59f789928fb91d2a824041cf2c69 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Tue, 5 Jul 2016 09:58:13 +0200 Subject: added clarification about \SetTranslitFont --- arabluatex.dtx | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/arabluatex.dtx b/arabluatex.dtx index 7f5246c..f72d1d9 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx @@ -27,7 +27,7 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{arabluatex} %<*package-info> - [2016/05/28 v1.3 This is ArabTeX for LuaLaTeX] + [2016/07/05 v1.4 This is ArabTeX for LuaLaTeX] % % %<*driver> @@ -135,7 +135,7 @@ \defaultfontfeatures{RawFeature={+liga}} \setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps}] \newfontfamily\translitfont{Latin Modern Roman}[Ligatures=TeX] -\usepackage{arabluatex}[2016/05/28] +\usepackage{arabluatex}[2016/07/05] \SetTranslitFont{\translitfont} \usepackage{varioref} \usepackage{hypdoc} @@ -189,7 +189,7 @@ % % \fi % -% \CheckSum{0} +% \CheckSum{371} % % \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 @@ -217,7 +217,8 @@ % \DoNotIndex{\else,\endcsname,\endinput,\expandafter,\fi} % \DoNotIndex{\ifdef,\ifdefined,\ifx,\MessageBreak,\NeedsTeXFormat} % \DoNotIndex{\NewDocumentCommand,\newif,\PackageError,\PackageWarning} -% \DoNotIndex{\relax,\RenewDocumentCommand,\string,\verb} +% \DoNotIndex{\relax,\RenewDocumentCommand,\string,\verb,\let} +% \DoNotIndex{\enskip} % % \providecommand*{\url}{\texttt} % \GetFileInfo{arabluatex.dtx} @@ -1749,12 +1750,13 @@ vowels (see ยง~3). % font shape selection command, eg. \cs{upshape}, \cs{itshape}, % \cs{slshape}, and so forth. % -% \paragraph{Font} \DescribeMacro{\SetTranslitFont} Any specific font -% may also be selected for rendering transliterated text with the -% font-selecting commands of the \package{fontspec} package. Of -% course, this font must have been defined properly. To take one -% example, here is how the \emph{Gentium Plus} font may be used for -% rendering transliterated text:--- +% \paragraph{Font} \NEWfeature{v1.4} \DescribeMacro{\SetTranslitFont} +% \cs{SetTranslitFont}\marg{font selection command} allows any +% specific font to be selected for rendering transliterated text with +% the font-selecting commands of the \package{fontspec} or +% \package{luaotfload} package. Of course, this font must have been +% defined properly. To take one example, here is how the \emph{Gentium +% Plus} font may be used for rendering transliterated text:--- % \iffalse %<*example> % \fi @@ -2314,7 +2316,7 @@ wa-ya.sIru ta.hta 'l-jild-i % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{arabluatex}% -[2016/05/28 v1.3 ArabTeX-like interface for LuaLaTeX] +[2016/07/05 v1.4 ArabTeX-like interface for LuaLaTeX] \RequirePackage{ifluatex} % \end{macrocode} % \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning @@ -2410,7 +2412,7 @@ wa-ya.sIru ta.hta 'l-jild-i {\NewDocumentCommand{\aemph}{m}{$\overline{\text{#1}}$}}} % \end{macrocode} % \begin{macro}{\SetInputScheme} -% \changes{v1.4}{2016/07/04}{\cs{SetInputScheme} may be used to +% \changes{v1.4}{2016/07/05}{\cs{SetInputScheme} may be used to % process other input schemes such as \enquote*{Buckwalter}} % \package{arabluatex} is designed for processing Arab\TeX\ input % notation. \cs{SetInputScheme} may be used in the preamble or at @@ -2440,10 +2442,11 @@ wa-ya.sIru ta.hta 'l-jild-i % \end{macrocode} % \end{macro} % \begin{macro}{\SetTranslitFont} -% By default, the font that is used for transliterated text is the -% main font of the document. Any other font may also be selected -% with the font-selecting commands of the \package{fontspec} -% package. +% \changes{v1.4}{2016/07/05}{For selecting a specific font for +% transliterated texts} By default, the font that is used for +% transliterated text is the main font of the document. Any other +% font may also be selected with the font-selecting commands of the +% \package{fontspec} package. % \begin{macrocode} \def\al@trans@font{\rmfamily}% \NewDocumentCommand{\SetTranslitFont}{m}{\def\al@trans@font{#1}} -- cgit v1.2.3