From ac6d25d3ad15e63c76d1a722363a4f9edfb4b228 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Fri, 6 Sep 2019 12:55:43 +0200
Subject: define \setLR if arabluatex is not loaded

---
 ekdosis.dtx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 5bbef54..8419858 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -455,7 +455,9 @@ idno={}, msName={}, origDate={}][3]{%
 \newif\ifekd@isinapp
 \providebool{al@rlmode}
 \@ifpackageloaded{arabluatex}{}{%
-  \def\setRL{\booltrue{al@rlmode}\pardir TRT\textdir TRT}}
+  \def\setRL{\booltrue{al@rlmode}\pardir TRT\textdir TRT}
+  \def\setLR{\boolfalse{al@rlmode}\pardir TLT \textdir TLT}
+}
 \newcounter{ekd@lab}
 \def\unconditional@appin#1{%
   \luadirect{ekdosis.appin(
-- 
cgit v1.2.3

