diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-10 22:02:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-10 22:02:09 +0000 |
commit | 9550d81dd608276fa34b7ad4d76623ed1bf0b585 (patch) | |
tree | db71021ea4db4e4980eb925d03625194eefc5999 /Master/texmf-dist/source/lualatex | |
parent | 3813f353852891036ded396c3d78a8803c0b9385 (diff) |
arabluatex
git-svn-id: svn://tug.org/texlive/trunk@43739 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/lualatex')
-rw-r--r-- | Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx | 46 |
1 files changed, 32 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx b/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx index 3e2c1d76a98..cb2f6d6bc4a 100644 --- a/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx +++ b/Master/texmf-dist/source/lualatex/arabluatex/arabluatex.dtx @@ -27,7 +27,7 @@ %<package-info>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package-info>\ProvidesPackage{arabluatex} %<*package-info> - [2017/03/30 v1.8 An ArabTeX-like interface for LuaLaTeX] + [2017/04/02 v1.8.2 An ArabTeX-like interface for LuaLaTeX] %</package-info> % %<*driver> @@ -145,7 +145,7 @@ \defaultfontfeatures{RawFeature={+liga}} \setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps}, RawFeature={+mark;+ccmp;+ss05;+ss06}] -\usepackage{arabluatex}[2017/03/30] +\usepackage{arabluatex}[2017/04/02] \usepackage[nopar]{quran} \usepackage{varioref} \usepackage{hyperxmp} @@ -165,6 +165,7 @@ pdflicenseurl={https://creativecommons.org/licenses/by-sa/4.0/legalcode}, pdfmetalang={en-US}, pdftype={Text}, pdfkeywords={Arabic language, arabtex, luatex}} +\usepackage[scale=1.5]{ccicons} \usepackage[toc,lot]{multitoc} \usepackage{paralist} \setdefaultitem{\textendash}{\textendash}{\textendash}{\textendash} @@ -216,7 +217,7 @@ %</driver> % \fi % -% \CheckSum{697} +% \CheckSum{700} % % \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 @@ -310,6 +311,7 @@ % \url{https://notabug.org/ralessi/arabluatex/issues} % \end{compactitem} % +% \marginpar{\texttt{gpl3+}} % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or @@ -340,7 +342,8 @@ % \subsection*{License applicable to this document} % \label{sec:documentation-license} % Copyright \textcopyright\ 2016--2017 Robert Alessi -% +% +% \ccbysa\marginpar{\texttt{CC BY-SA 4.0}} % This document is licensed under the Creative Commons % Attribution-ShareAlike 4.0 International License. To view a copy of % this license, visit @@ -965,7 +968,7 @@ vowels (see §~3). % \begin{quote} % |.hay_aUTuN| \arb[voc]{.hay_aUTuN} \arb[trans]{.hay_aUTuN}, % |.sal_aUTuN| \arb[voc]{.sal_aUTuN} \arb[trans]{.sal_aUTuN}, -% |mi^sk_aUTuN| \arb[voc]{mi^sk_aUTuN} \arb[trans]{mi^sk_aUTuN}, +% |mi^sk_aUTuN| \arb[voc]{mi^sk_aUTuN} \arb[trans]{mi^s\-k_aUTuN}, % |tawr_aITuN| \arb[voc]{tawr_aITuN} \arb[trans]{tawr_aITuN}. % % And so also: |al-rib_aIT-u| \arb[voc]{al-rib_aIT-u} @@ -1594,11 +1597,11 @@ vowels (see §~3). % \begin{compactenum}[(a)] % \item \arb[trans]{'alif-u 'l-wa.sl-i}:--- % \begin{quote} -% |fI "istisqA'-a| \arb[voc]{fI "istisqA'-a} \arb[trans]{fI -% "istisqA'-a}, |wa-"istisqA'-u| \arb[voc]{wa-"istisqA'-u} -% \arb[trans]{wa-"is\-tisqA'-u}, |qAla| |"uhrub| |fa-lan| -% |tuqtala| \arb[voc]{qAla "uhrub fa-lan tuqtala} \arb[trans]{qAla -% "uhrub fa-lan tuqtala}. +% |fI "istiq.sA'-iN| \arb[voc]{fI "istiq.sA'-iN} \arb[trans]{fI +% "istiq.sA'-iN}, |wa-"istiq.sA'-uN| \arb[voc]{wa-"istiq.sA'-uN} +% \allowbreak\arb[trans]{wa-"istiq.sA'-uN}, |qAla| |"uhrub| +% |fa-lan| |tuqtala| \arb[voc]{qAla "uhrub fa-lan tuqtala} +% \arb[trans]{qAla "uhrub fa-lan tuqtala}. % \end{quote} % \item \arb[trans]{sukUn}:--- % \begin{quote} @@ -2452,7 +2455,7 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu % % \SetTranslitConvention{dmg} % \begin{arab}[trans] -% \LR{\textbf{\emph{\enquote*{dmg}} standard}:} 'at_A .sadIquN 'il_A +% \LR{\textbf{\emph{\enquote*{dmg}} standard:}} 'at_A .sadIquN 'il_A % \cap{ju.hA} ya.tlubu min-hu .himAra-hu li-yarkaba-hu fI safraTiN % qa.sIraTiN fa-qAla la-hu: \enquote{sawfa 'u`Idu-hu 'ilay-ka fI % 'l-masA'-i wa-'adfa`u la-ka 'ujraTaN.} fa-qAla \cap{ju.hA}: @@ -2467,7 +2470,7 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu % % \SetTranslitConvention{loc} % \begin{arab}[trans] -% \LR{\textbf{\emph{\enquote*{loc}} standard}:} 'at_A .sadIquN 'il_A +% \LR{\textbf{\emph{\enquote*{loc}} standard:}} 'at_A .sadIquN 'il_A % \cap{ju.hA} ya.tlubu min-hu .himAra-hu li-yarkaba-hu fI safraTiN % qa.sIraTiN fa-qAla la-hu: \enquote{sawfa 'u`Idu-hu 'ilay-ka fI % 'l-masA'-i wa-'adfa`u la-ka 'ujraTaN.} fa-qAla \cap{ju.hA}: @@ -2483,7 +2486,7 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu % % \SetTranslitConvention{arabica} % \begin{arab}[trans] -% \LR{\textbf{\emph{\enquote*{arabica}} standard}:} 'at_A .sadIquN +% \LR{\textbf{\emph{\enquote*{arabica}} standard:}} 'at_A .sadIquN % 'il_A \cap{ju.hA} ya.tlubu min-hu .himAra-hu li-yarkaba-hu fI % safraTiN qa.sIraTiN fa-qAla la-hu: \enquote{sawfa 'u`Idu-hu % 'ilay-ka fI 'l-masA'-i wa-'adfa`u la-ka 'ujraTaN.} fa-qAla @@ -3084,7 +3087,7 @@ wa-ya.sIru ta.hta 'l-jild-i % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{arabluatex}% -[2017/03/30 v1.8 An ArabTeX-like interface for LuaLaTeX] +[2017/04/02 v1.8.2 An ArabTeX-like interface for LuaLaTeX] \RequirePackage{ifluatex} % \end{macrocode} % \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning @@ -3296,6 +3299,21 @@ wa-ya.sIru ta.hta 'l-jild-i {\luadirect{tex.sprint(cap(\luastringN{#1}))}} % \end{macrocode} % \end{macro} +% \begin{macro}{\Cap} \cs{cap} may be used safely in all of the modes +% that are provided by \package{arabluatex} as any of the |voc|, +% |fullvoc| and |novoc| modes discard it on top of any other +% functions to be run. \cs{Cap} does the same as \cs{cap} except +% that \emph{it is never discarded}. For that reason, \cs{Cap} +% \emph{should never be used outside the} |trans| +% \emph{mode}. \package{arabluatex} uses \cs{Cap} internally so as +% to prevent \cs{cap} from being discarded in case words that are to +% be transliterated are inserted into Arabic commands or +% environments where transliteration is not required. Therefore, it +% is not documented. +% \begin{macrocode} +\let\Cap\cap +% \end{macrocode} +% \end{macro} % \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left % and selects the Arabic font. It is used internally by several Lua % functions, but available to the user should he wish to insert |