From 43d3895c823a7ab11dd58160307c4edca1084c99 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Tue, 2 Apr 2019 10:21:50 +0200
Subject: define \setRL in case arabluatex is not loaded

---
 ekdosis.dtx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 549308b..3e30e1e 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -396,6 +396,8 @@ idno={}, msName={}][3]{%
 \newbool{ekd@state}
 \newif\ifekd@isinapp
 \providebool{al@rlmode}
+\@ifpackageloaded{arabluatex}{}{%
+  \def\setRL{\booltrue{al@rlmode} \pardir TRT \textdir TRT}}
 \newcounter{ekd@lab}
 \def\unconditional@appin#1{%
   \luadirect{ekdosis.appin(
-- 
cgit v1.2.3

