diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-03-03 13:19:28 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-03-03 13:19:28 +0100 |
commit | 6a9a1c2f1ae4c29530069ba47316adfdf63f21fe (patch) | |
tree | 0d8aa39d460acec26f0c21e580df9d0d9a79c742 | |
parent | cb5c2124a8d2f7ba8806c2b604b0863b1c9dd980 (diff) | |
download | arabluatex-6a9a1c2f1ae4c29530069ba47316adfdf63f21fe.tar.gz |
moved \set@translit@convention before the user command
-rw-r--r-- | arabluatex.dtx | 2 |
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 |