From 013e28163ccc4c5b1bbbad274446826b62841c55 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Sun, 12 Jul 2020 16:53:20 +0200
Subject: revert to [6d08b12]

---
 ekdosis.dtx | 34 +++++-----------------------------
 1 file changed, 5 insertions(+), 29 deletions(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 871fa81..fe4d6d8 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -3126,11 +3126,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
         \ltx@ifpackageloaded{babel}%
           {\noexpand\selectlanguage{\languagename}%
             \unexpanded\expandafter{\ekdlr@alt}}%
-          {\lxt@ifpackageloaded{polyglossia}%
-            {\noexpand\seleclanguage{\languageid{bcp-47}}%
-            \unexpanded\expandafter{\ekdlr@alt}}%
-            {\unexpanded\expandafter{\ekdlr@alt}}%
-          }%
+          {\unexpanded\expandafter{\ekdlr@alt}}%
         \ifdefined\ekdlr@post%
           \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
       \else
@@ -3138,11 +3134,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
           \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi
           \ltx@ifpackageloaded{babel}%
           {\noexpand\selectlanguage{\languagename}\unexpanded{#2}}{%
-            \ltx@ifpackageloaded{polyglossia}%
-            {\noexpand\selectlanguage{\languageid{bcp-47}}%
             \unexpanded{#2}}%
-            {\unexpanded{#2}}%
-          }%
         \ifdefined\ekdlr@post%
           \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
       \fi
@@ -3215,11 +3207,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
         \ltx@ifpackageloaded{babel}%
           {\noexpand\selectlanguage{\languagename}%
             \unexpanded\expandafter{\ekdlr@alt}}%
-          {\ltx@ifpackageloaded{polyglossia}%
-            {\noexpand\selectlanguage{\languageid{bcp-47}}%
-              \unexpanded\expandafter{\ekdlr@alt}}%
-            {\unexpanded\expandafter{\ekdlr@alt}}%
-          }%
+          {\unexpanded\expandafter{\ekdlr@alt}}%
         \ifdefined\ekdlr@post%
           \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
       \else
@@ -3227,11 +3215,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
           \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi
           \ltx@ifpackageloaded{babel}%
           {\noexpand\selectlanguage{\languagename}\unexpanded{#2}}{%
-            \ltx@ifpackageloaded{polyglossia}%
-            {\noexpand\selectlanguage{\languageid{bcp-47}}%
-              \unexpanded{#2}}%
-            {\unexpanded{#2}}%
-          }%
+            \unexpanded{#2}}%
         \ifdefined\ekdlr@post%
           \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
       \fi
@@ -3323,19 +3307,11 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
         \ltx@ifpackageloaded{babel}%
           {\noexpand\selectlanguage{\languagename}%
             \unexpanded\expandafter{\ekdn@lem}}%
-          {\ltx@ifpackageloaded{polyglossia}%
-            {\noexpand\selectlanguage{\languageid{bcp-47}}%
-              \unexpanded\expandafter{\ekdn@lem}}%
-            {\unexpanded\expandafter{\ekdn@lem}}%
-          }%
+          {\unexpanded\expandafter{\ekdn@lem}}%
           \unexpanded\expandafter{\ekdn@sep}\else\fi%
           \ltx@ifpackageloaded{babel}%
           {\noexpand\selectlanguage{\languagename}\unexpanded{#2}}{%
-            \ltx@ifpackageloaded{polyglossia}%
-            {\noexpand\selectlanguage{\languageid{bcp-47}}%
-              \unexpanded{#2}}%
-            {\unexpanded{#2}}%
-          }}}%
+            \unexpanded{#2}}}}%
   \ifekd@mapps%
   \unconditional@appin[\ekdan@type]{\note@contents}%
   \else%
-- 
cgit v1.2.3

