aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx23
1 files changed, 12 insertions, 11 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 52ae732..e194185 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -1389,9 +1389,9 @@ consonants, though three of them are also used as vowels
1389% \arb[trans]{'abjad} numbers are usually distinguished from the 1389% \arb[trans]{'abjad} numbers are usually distinguished from the
1390% surrounding words by a stroke placed over them. 1390% surrounding words by a stroke placed over them.
1391% 1391%
1392% For time being, \package{arabluatex} inserts those numbers with the 1392% For the time being, \package{arabluatex} inserts those numbers with the
1393% help of \package{polyglossia}. If you wish to use the 1393% help of \package{polyglossia}. If one wishes to use the
1394% \arb[trans]{abjad} system, put in your preamble:--- 1394% \arb[trans]{abjad} system, he may put in his preamble:---
1395% \iffalse 1395% \iffalse
1396%<*example> 1396%<*example>
1397% \fi 1397% \fi
@@ -1403,7 +1403,7 @@ consonants, though three of them are also used as vowels
1403% \iffalse 1403% \iffalse
1404%</example> 1404%</example>
1405% \fi % 1405% \fi %
1406% \DescribeMacro{\abjad} Then you may use the command 1406% \DescribeMacro{\abjad} Then one may use the command
1407% \cs{abjad}\marg{number} in any of the |voc|, |fullvoc| and |novoc| 1407% \cs{abjad}\marg{number} in any of the |voc|, |fullvoc| and |novoc|
1408% modes, where \meta{number} may be any number between 1 and 1999, 1408% modes, where \meta{number} may be any number between 1 and 1999,
1409% like so:--- 1409% like so:---
@@ -1667,10 +1667,11 @@ al-muqAtilIna.}, wa-kAnat 'ummI min `u.zamA'i buyUti
1667% \DescribeMacro{\LR} \cs{LR}\marg{arg} is designed to typeset its 1667% \DescribeMacro{\LR} \cs{LR}\marg{arg} is designed to typeset its
1668% argument from left to right. It may be used in an Arabic 1668% argument from left to right. It may be used in an Arabic
1669% environment, either \cs{arb}\marg{Arabic text} or \cs{begin}|{arab}| 1669% environment, either \cs{arb}\marg{Arabic text} or \cs{begin}|{arab}|
1670% \meta{Arabic text} \cs{end}|{arab}|, for short insertions of left to 1670% \meta{Arabic text} \cs{end}|{arab}|, for short insertions of
1671% right text, or to insert any \LaTeX\ command that would otherwise be 1671% left-to-right text, or to insert any \LaTeX\ command that would
1672% rejected by \package{arabluatex}, such as commands the argument of 1672% otherwise be rejected by \package{arabluatex}, such as commands the
1673% which is expected to be a dimension or a unit of measurement. 1673% argument of which is expected to be a dimension or a unit of
1674% measurement.
1674% 1675%
1675% \DescribeMacro{\RL} \cs{RL}\marg{arg} does the same as 1676% \DescribeMacro{\RL} \cs{RL}\marg{arg} does the same as
1676% \cs{LR}\marg{arg}, but typesets its argument from left to right. Even 1677% \cs{LR}\marg{arg}, but typesets its argument from left to right. Even
@@ -1871,7 +1872,7 @@ wa-ya.sIru ta.hta 'l-jildi
1871% and attempt to load the Amiri font which is included in \TeX{}live: 1872% and attempt to load the Amiri font which is included in \TeX{}live:
1872% \begin{macrocode} 1873% \begin{macrocode}
1873\AtBeginDocument{\ifdefined\arabicfont\relax\else 1874\AtBeginDocument{\ifdefined\arabicfont\relax\else
1874\PackageWarning{arabluatex}{\string\arabicfont\ is not defined!^^JI 1875\PackageWarning{arabluatex}{\string\arabicfont\ is not defined.^^JI
1875 will try to load Amiri}% 1876 will try to load Amiri}%
1876\newfontfamily\arabicfont[Script=Arabic]{Amiri}\fi}% 1877\newfontfamily\arabicfont[Script=Arabic]{Amiri}\fi}%
1877% \end{macrocode} 1878% \end{macrocode}
@@ -1921,8 +1922,8 @@ wa-ya.sIru ta.hta 'l-jildi
1921% \end{macrocode} 1922% \end{macrocode}
1922% \end{macro} 1923% \end{macro}
1923% \begin{macro}{\SetTranslitConvention} 1924% \begin{macro}{\SetTranslitConvention}
1924% \cs{SetTranslitConvention}\marg{convention} may be used to change 1925% \cs{SetTranslitConvention}\marg{convention} may be used to change
1925% the convention, which is |dmg| by default: 1926% the transliteration convention, which is |dmg| by default:
1926% \begin{macrocode} 1927% \begin{macrocode}
1927\def\al@trans@convention{dmg} 1928\def\al@trans@convention{dmg}
1928\NewDocumentCommand{\SetTranslitConvention}{m}{\def\al@trans@convention{#1}} 1929\NewDocumentCommand{\SetTranslitConvention}{m}{\def\al@trans@convention{#1}}