aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx20
1 files changed, 15 insertions, 5 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index eefc3e1..d741c27 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -1,6 +1,6 @@
1% \iffalse meta-comment 1% \iffalse meta-comment
2% ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX 2% ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
3% Copyright (C) 2016--2017 Robert Alessi 3% Copyright (C) 2016--2018 Robert Alessi
4% 4%
5% Please send error reports and suggestions for improvements to Robert 5% Please send error reports and suggestions for improvements to Robert
6% Alessi <alessi@robertalessi.net> 6% Alessi <alessi@robertalessi.net>
@@ -37,7 +37,7 @@
37% This file is part of the `arabluatex' package 37% This file is part of the `arabluatex' package
38% 38%
39% ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX 39% ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
40% Copyright (C) 2016--2017 Robert Alessi 40% Copyright (C) 2016--2018 Robert Alessi
41% 41%
42% Please send error reports and suggestions for improvements to Robert 42% Please send error reports and suggestions for improvements to Robert
43% Alessi <alessi@robertalessi.net> 43% Alessi <alessi@robertalessi.net>
@@ -166,7 +166,7 @@
166 linktocpage=true, pdfauthor={Robert Alessi}, pdftitle={The 166 linktocpage=true, pdfauthor={Robert Alessi}, pdftitle={The
167 arabluatex package}, pdfcontactemail={alessi@robertalessi.net}, 167 arabluatex package}, pdfcontactemail={alessi@robertalessi.net},
168 pdfcontacturl={http://www.robertalessi.net/arabluatex}, 168 pdfcontacturl={http://www.robertalessi.net/arabluatex},
169 pdfcopyright={Copyright (C) 2016--2017 Robert Alessi 169 pdfcopyright={Copyright (C) 2016--2018 Robert Alessi
170 <alessi@robertalessi.net>. This document is licensed under the 170 <alessi@robertalessi.net>. This document is licensed under the
171 Creative Commons Attribution-ShareAlike 4.0 International 171 Creative Commons Attribution-ShareAlike 4.0 International
172 License. To view a copy of this license, visit 172 License. To view a copy of this license, visit
@@ -308,7 +308,7 @@
308% \label{sec:license-software} 308% \label{sec:license-software}
309% 309%
310% \package{arabluatex} --- Processing Arab\TeX\ notation under Lua\LaTeX.\\ 310% \package{arabluatex} --- Processing Arab\TeX\ notation under Lua\LaTeX.\\
311% Copyright \textcopyright\ 2016--2017 Robert Alessi 311% Copyright \textcopyright\ 2016--2018 Robert Alessi
312% 312%
313% Please send error reports and suggestions for improvements to Robert 313% Please send error reports and suggestions for improvements to Robert
314% Alessi: 314% Alessi:
@@ -351,7 +351,7 @@
351% 351%
352% \subsection*{License applicable to this document} 352% \subsection*{License applicable to this document}
353% \label{sec:documentation-license} 353% \label{sec:documentation-license}
354% Copyright \textcopyright\ 2016--2017 Robert Alessi 354% Copyright \textcopyright\ 2016--2018 Robert Alessi
355% 355%
356% \ccbysa\marginpar{\texttt{CC BY-SA 4.0}} 356% \ccbysa\marginpar{\texttt{CC BY-SA 4.0}}
357% This document is licensed under the Creative Commons 357% This document is licensed under the Creative Commons
@@ -3601,6 +3601,16 @@ wa-ya.sIru ta.hta 'l-jild-i
3601\let\Cap\cap 3601\let\Cap\cap
3602% \end{macrocode} 3602% \end{macrocode}
3603% \end{macro} 3603% \end{macro}
3604% \begin{macro}{\prname}\changes{v1.10}{2018/01/02}{New command for
3605% typesetting Arabic proper names in transliteration} \cs{prname} is
3606% to be used outside Arabic environments. It takes as argument one or
3607% more Arabic words, each of which will be rendered in upright roman
3608% style with its first letter uppercased.
3609% \begin{macrocode}
3610\NewDocumentCommand{\prname}{m}{%
3611 \bgroup\SetTranslitStyle{\upshape}\arb[trans]{\cap{#1}}\egroup}
3612% \end{macrocode}
3613% \end{macro}
3604% \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left 3614% \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left
3605% and selects the Arabic font. It is used internally by several Lua 3615% and selects the Arabic font. It is used internally by several Lua
3606% functions, but available to the user should he wish to insert 3616% functions, but available to the user should he wish to insert