aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-10-02 18:52:03 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-10-02 18:52:03 +0200
commite040b766b62c0e8cda0c2a89dab3de7b1de7efdc (patch)
tree1155e0e5ebd24414703550d09bdfbcfe57867a12
parent7d803ee0e91ebf26b8dfd9ec3f47cb098cc7db8a (diff)
downloadarabluatex-e040b766b62c0e8cda0c2a89dab3de7b1de7efdc.tar.gz
misplaced al@rlmode boolean
-rw-r--r--arabluatex.dtx14
1 files changed, 4 insertions, 10 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 4f841e9..50af415 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -4563,25 +4563,19 @@ wa-ya.sIru ta.hta 'l-jild-i
4563\NewDocumentCommand{\arb}{O{\al@mode} +m}% 4563\NewDocumentCommand{\arb}{O{\al@mode} +m}%
4564{\edef\@tempa{#1}% 4564{\edef\@tempa{#1}%
4565 \ifx\@tempa\al@mode@voc% 4565 \ifx\@tempa\al@mode@voc%
4566 \booltrue{al@rlmode}% 4566 \bgroup\booltrue{al@rlmode}\textdir TRT\arabicfont%
4567 \bgroup\textdir TRT\arabicfont%
4568 \luadirect{tex.sprint(processvoc(\luastringN{#2}, 4567 \luadirect{tex.sprint(processvoc(\luastringN{#2},
4569 \luastringO{\al@arb@rules}, \luastringO{\al@input@scheme}))}\egroup% 4568 \luastringO{\al@arb@rules}, \luastringO{\al@input@scheme}))}\egroup%
4570 \boolfalse{al@rlmode}%
4571 \else% 4569 \else%
4572 \ifx\@tempa\al@mode@fullvoc% 4570 \ifx\@tempa\al@mode@fullvoc%
4573 \booltrue{al@rlmode}% 4571 \bgroup\booltrue{al@rlmode}\textdir TRT\arabicfont%
4574 \bgroup\textdir TRT\arabicfont%
4575 \luadirect{tex.sprint(processfullvoc(\luastringN{#2}, 4572 \luadirect{tex.sprint(processfullvoc(\luastringN{#2},
4576 \luastringO{\al@arb@rules}, \luastringO{\al@input@scheme}))}\egroup% 4573 \luastringO{\al@arb@rules}, \luastringO{\al@input@scheme}))}\egroup%
4577 \boolfalse{al@rlmode}%
4578 \else% 4574 \else%
4579 \ifx\@tempa\al@mode@novoc% 4575 \ifx\@tempa\al@mode@novoc%
4580 \booltrue{al@rlmode}% 4576 \bgroup\booltrue{al@rlmode}\textdir TRT\arabicfont%
4581 \bgroup\textdir TRT\arabicfont%
4582 \luadirect{tex.sprint(processnovoc(\luastringN{#2}, 4577 \luadirect{tex.sprint(processnovoc(\luastringN{#2},
4583 \luastringO{\al@arb@rules}, \luastringO{\al@input@scheme}))}\egroup% 4578 \luastringO{\al@arb@rules}, \luastringO{\al@input@scheme}))}\egroup%
4584 \boolfalse{al@rlmode}%
4585 \else% 4579 \else%
4586 \ifx\@tempa\al@mode@trans% 4580 \ifx\@tempa\al@mode@trans%
4587 \bgroup\textdir TLT\al@trans@style% 4581 \bgroup\textdir TLT\al@trans@style%
@@ -4939,7 +4933,7 @@ wa-ya.sIru ta.hta 'l-jild-i
4939% right direction. 4933% right direction.
4940% \begin{macrocode} 4934% \begin{macrocode}
4941\NewDocumentCommand{\arbpardir}{}{% 4935\NewDocumentCommand{\arbpardir}{}{%
4942 \ifx\al@mode\al@mode@trans\setLR\else\booltrue{al@rlmode}\setRL\fi} 4936 \ifx\al@mode\al@mode@trans\setLR\else\setRL\fi}
4943% \end{macrocode} 4937% \end{macrocode}
4944% \end{macro} 4938% \end{macro}
4945% 4939%