diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-02-26 10:50:17 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-02-26 10:50:17 +0100 |
commit | 029c8797e6e32adfcb79fc4c1f72377592c35f82 (patch) | |
tree | a0d4a348cb8b266d5afee8030ed07594376ce13d /arabluatex.dtx | |
parent | f2911c64dda6d51f87791942660689e6d782b1f6 (diff) | |
download | arabluatex-029c8797e6e32adfcb79fc4c1f72377592c35f82.tar.gz |
(re)define \LR{} command \AtBeginDocument{} in case luabidi is loaded
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r-- | arabluatex.dtx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 67fa916..c0e1163 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -203,6 +203,9 @@ | |||
203 | \AtBeginDocument{\ifdef{\LR}% | 203 | \AtBeginDocument{\ifdef{\LR}% |
204 | {\renewrobustcmd{\LR}[1]{\bgroup\textdir TLT\rmfamily#1\egroup}} | 204 | {\renewrobustcmd{\LR}[1]{\bgroup\textdir TLT\rmfamily#1\egroup}} |
205 | {\newrobustcmd{\LR}[1]{\bgroup\textdir TLT\rmfamily#1\egroup}}} | 205 | {\newrobustcmd{\LR}[1]{\bgroup\textdir TLT\rmfamily#1\egroup}}} |
206 | \AtBeginDocument{\ifdef{\RL}% | ||
207 | {\renewrobustcmd{\RL}[1]{\bgroup\textdir TRT\rmfamily#1\egroup}} | ||
208 | {\newrobustcmd{\RL}[1]{\bgroup\textdir TRT#1\rmfamily\egroup}}} | ||
206 | \DeclareDocumentCommand{\txarb}{+m}{\bgroup\textdir TRT\arabicfont#1\egroup} | 209 | \DeclareDocumentCommand{\txarb}{+m}{\bgroup\textdir TRT\arabicfont#1\egroup} |
207 | \DeclareDocumentCommand{\arb}{O{\al@mode} +m}% | 210 | \DeclareDocumentCommand{\arb}{O{\al@mode} +m}% |
208 | {\edef\@tempa{#1}% | 211 | {\edef\@tempa{#1}% |