diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-02-14 10:34:21 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-02-14 10:34:21 +0100 |
commit | 0d799c9bfebe578888be24149afba540ee008313 (patch) | |
tree | d14b738834c0a1c350245d7049d5385025709119 | |
parent | 505d978cc30863a8ecfecf281c43ecf6982fb97a (diff) | |
download | arabluatex-0d799c9bfebe578888be24149afba540ee008313.tar.gz |
revert [505d978]; added ! specifier before the optional argument of arab and arabverse environments
-rw-r--r-- | arabluatex.dtx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 5e531a0..0e0f281 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{luaotfload} | 4331 | \RequirePackage{fontspec} |
4332 | \RequirePackage{luacode} | 4332 | \RequirePackage{luacode} |
4333 | \RequirePackage{xparse} | 4333 | \RequirePackage{xparse} |
4334 | \RequirePackage{adjustbox} | 4334 | \RequirePackage{adjustbox} |
@@ -4351,7 +4351,7 @@ | |||
4351 | \PackageInfo{arabluatex}{% | 4351 | \PackageInfo{arabluatex}{% |
4352 | \string\arabicfont\ is not defined.\MessageBreak | 4352 | \string\arabicfont\ is not defined.\MessageBreak |
4353 | arabluatex will try to load Amiri}% | 4353 | arabluatex will try to load Amiri}% |
4354 | \font \arabicfont = {name:Amiri:script=arab} at \f@size pt\fi}% | 4354 | \newfontfamily\arabicfont{Amiri}[Script=Arabic]\fi}% |
4355 | % \end{macrocode} | 4355 | % \end{macrocode} |
4356 | % \begin{macro}{\setRL} | 4356 | % \begin{macro}{\setRL} |
4357 | % This neutralizes what may be defined by other packages: | 4357 | % This neutralizes what may be defined by other packages: |
@@ -4703,7 +4703,7 @@ | |||
4703 | % The |arab| environment does for paragraphs the same as \cs{arb} does | 4703 | % The |arab| environment does for paragraphs the same as \cs{arb} does |
4704 | % for short insertions of Arabic text. | 4704 | % for short insertions of Arabic text. |
4705 | % \begin{macrocode} | 4705 | % \begin{macrocode} |
4706 | \NewDocumentEnvironment{arab}{O{\al@mode} +b}% | 4706 | \NewDocumentEnvironment{arab}{!O{\al@mode} +b}% |
4707 | {\par\edef\@tempa{#1}% | 4707 | {\par\edef\@tempa{#1}% |
4708 | \ifx\@tempa\al@mode@voc% | 4708 | \ifx\@tempa\al@mode@voc% |
4709 | \booltrue{al@rlmode}% | 4709 | \booltrue{al@rlmode}% |
@@ -4760,7 +4760,7 @@ | |||
4760 | % \end{macrocode} | 4760 | % \end{macrocode} |
4761 | % Then follows the environment itself: | 4761 | % Then follows the environment itself: |
4762 | % \begin{macrocode} | 4762 | % \begin{macrocode} |
4763 | \NewDocumentEnvironment{arabverse}{O{}}% | 4763 | \NewDocumentEnvironment{arabverse}{!O{}}% |
4764 | {\bgroup\setkeys[al]{verse}[width, gutter, color, utf, delim, | 4764 | {\bgroup\setkeys[al]{verse}[width, gutter, color, utf, delim, |
4765 | metre]{#1}% | 4765 | metre]{#1}% |
4766 | \if@pkg@export\ifal@verse@export% | 4766 | \if@pkg@export\ifal@verse@export% |