aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-03-03 13:19:28 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-03-03 13:19:28 +0100
commit6a9a1c2f1ae4c29530069ba47316adfdf63f21fe (patch)
tree0d8aa39d460acec26f0c21e580df9d0d9a79c742
parentcb5c2124a8d2f7ba8806c2b604b0863b1c9dd980 (diff)
downloadarabluatex-6a9a1c2f1ae4c29530069ba47316adfdf63f21fe.tar.gz
moved \set@translit@convention before the user command
-rw-r--r--arabluatex.dtx2
1 files changed, 1 insertions, 1 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 09b848c..4914d3a 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -224,10 +224,10 @@
224 {\NewDocumentCommand{\aemph}{m}{$\overline{\text{#1}}$}}} 224 {\NewDocumentCommand{\aemph}{m}{$\overline{\text{#1}}$}}}
225\def\al@trans@style{\itshape}% 225\def\al@trans@style{\itshape}%
226\NewDocumentCommand{\SetTranslitStyle}{m}{\def\al@trans@style{#1}} 226\NewDocumentCommand{\SetTranslitStyle}{m}{\def\al@trans@style{#1}}
227\def\al@trans@convention{dmg}
227\NewDocumentCommand{\SetTranslitConvention}{m}{\def\al@trans@convention{#1}} 228\NewDocumentCommand{\SetTranslitConvention}{m}{\def\al@trans@convention{#1}}
228\DeclareDocumentCommand{\cap}{m}% 229\DeclareDocumentCommand{\cap}{m}%
229 {\luadirect{tex.sprint(cap(\luastringN{#1}))}} 230 {\luadirect{tex.sprint(cap(\luastringN{#1}))}}
230\def\al@trans@convention{dmg}
231\DeclareDocumentCommand{\txarb}{+m}{\bgroup\textdir 231\DeclareDocumentCommand{\txarb}{+m}{\bgroup\textdir
232 TRT\arabicfont#1\egroup} 232 TRT\arabicfont#1\egroup}
233\DeclareDocumentCommand{\txtrans}{+m}{\bgroup\textdir 233\DeclareDocumentCommand{\txtrans}{+m}{\bgroup\textdir