diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-08-28 12:09:30 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-08-28 12:09:30 +0200 |
commit | 765ec0a8338c49c26609bb52cc62ded3a5b6c8dc (patch) | |
tree | 40770dc4388a0cc4c6da6ce296637e65c4b8776e | |
parent | 008036a8f2845ea1d90a5a94b5f3da94152dbf37 (diff) | |
download | arabluatex-765ec0a8338c49c26609bb52cc62ded3a5b6c8dc.tar.gz |
do not create any external file in case export global option is set to false
-rw-r--r-- | arabluatex.dtx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 44d443c..9feb4aa 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -4261,10 +4261,11 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4261 | \DeclareOptionX{novoc}{\def\al@mode{novoc}} | 4261 | \DeclareOptionX{novoc}{\def\al@mode{novoc}} |
4262 | \DeclareOptionX{trans}{\def\al@mode{trans}} | 4262 | \DeclareOptionX{trans}{\def\al@mode{trans}} |
4263 | \define@boolkey{arabluatex.sty}[@pkg@]{export}[true]{% | 4263 | \define@boolkey{arabluatex.sty}[@pkg@]{export}[true]{% |
4264 | \if@pkg@export% | ||
4264 | \AtBeginDocument{\luadirect{al_openstream()}% | 4265 | \AtBeginDocument{\luadirect{al_openstream()}% |
4265 | \MkArbBreak{@al@ob,@al@cb,@al@cb@sp}} | 4266 | \MkArbBreak{@al@ob,@al@cb,@al@cb@sp}} |
4266 | \AtEndDocument{\luadirect{al_closestream()}} | 4267 | \AtEndDocument{\luadirect{al_closestream()}} |
4267 | } | 4268 | \else\fi} |
4268 | \ExecuteOptionsX{voc} | 4269 | \ExecuteOptionsX{voc} |
4269 | \ProcessOptionsX\relax | 4270 | \ProcessOptionsX\relax |
4270 | \def\al@mode@voc{voc} | 4271 | \def\al@mode@voc{voc} |