From 6a9a1c2f1ae4c29530069ba47316adfdf63f21fe Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Thu, 3 Mar 2016 13:19:28 +0100
Subject: moved \set@translit@convention before the user command

---
 arabluatex.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'arabluatex.dtx')

diff --git a/arabluatex.dtx b/arabluatex.dtx
index 09b848c..4914d3a 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -224,10 +224,10 @@
   {\NewDocumentCommand{\aemph}{m}{$\overline{\text{#1}}$}}}
 \def\al@trans@style{\itshape}%
 \NewDocumentCommand{\SetTranslitStyle}{m}{\def\al@trans@style{#1}}
+\def\al@trans@convention{dmg}
 \NewDocumentCommand{\SetTranslitConvention}{m}{\def\al@trans@convention{#1}}
 \DeclareDocumentCommand{\cap}{m}%
   {\luadirect{tex.sprint(cap(\luastringN{#1}))}}
-\def\al@trans@convention{dmg}
 \DeclareDocumentCommand{\txarb}{+m}{\bgroup\textdir
   TRT\arabicfont#1\egroup}
 \DeclareDocumentCommand{\txtrans}{+m}{\bgroup\textdir
-- 
cgit v1.2.3

