aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx9
1 files changed, 5 insertions, 4 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index efc5d70..5e531a0 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -4328,7 +4328,7 @@
4328\RequirePackage{luacolor} 4328\RequirePackage{luacolor}
4329\RequirePackage{etoolbox} 4329\RequirePackage{etoolbox}
4330\RequirePackage{arabluatex-patch} 4330\RequirePackage{arabluatex-patch}
4331\RequirePackage{fontspec} 4331\RequirePackage{luaotfload}
4332\RequirePackage{luacode} 4332\RequirePackage{luacode}
4333\RequirePackage{xparse} 4333\RequirePackage{xparse}
4334\RequirePackage{adjustbox} 4334\RequirePackage{adjustbox}
@@ -4348,9 +4348,10 @@
4348% and attempt to load the Amiri font which is included in \TeX{}live: 4348% and attempt to load the Amiri font which is included in \TeX{}live:
4349% \begin{macrocode} 4349% \begin{macrocode}
4350\AtBeginDocument{\ifdefined\arabicfont\relax\else 4350\AtBeginDocument{\ifdefined\arabicfont\relax\else
4351\PackageWarning{arabluatex}{\string\arabicfont\ is not defined.^^J 4351 \PackageInfo{arabluatex}{%
4352 I will try to load Amiri}% 4352 \string\arabicfont\ is not defined.\MessageBreak
4353\newfontfamily\arabicfont[Script=Arabic]{Amiri}\fi}% 4353 arabluatex will try to load Amiri}%
4354 \font \arabicfont = {name:Amiri:script=arab} at \f@size pt\fi}%
4354% \end{macrocode} 4355% \end{macrocode}
4355% \begin{macro}{\setRL} 4356% \begin{macro}{\setRL}
4356% This neutralizes what may be defined by other packages: 4357% This neutralizes what may be defined by other packages: