From 9c0e4d544e5842b6e1fb15d5d3bb28f51f353c2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADt=20Novotn=C3=BD?= <witiko@mail.muni.cz>
Date: Thu, 20 Feb 2020 01:17:15 +0100
Subject: [PATCH] Fix \thesis@lower and \thesis@upper on TeX Live 2018

---
 fithesis.dtx | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/fithesis.dtx b/fithesis.dtx
index ed9661f..8a4a91c 100644
--- a/fithesis.dtx
+++ b/fithesis.dtx
@@ -1742,16 +1742,10 @@
 %    \begin{macrocode}
 \def\thesis@lower#1{{%
   \let\ea\expandafter
-  \ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\lowercase\ea\ea\ea
-  \ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea{\ea\ea\ea\ea\ea\ea\ea\ea\ea
-  \ea\ea\ea\ea\ea\ea\@gobble\ea\ea\ea\string\ea\csname\csname the%
-  sis@#1\endcsname\endcsname}}}
+  \ea\MakeLowercase\ea{\csname thesis@#1\endcsname}}}
 \def\thesis@upper#1{{%
   \let\ea\expandafter
-  \ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\uppercase\ea\ea\ea
-  \ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea{\ea\ea\ea\ea\ea\ea\ea\ea\ea
-  \ea\ea\ea\ea\ea\ea\@gobble\ea\ea\ea\string\ea\csname\csname the%
-  sis@#1\endcsname\endcsname}}}
+  \ea\MakeUppercase\ea{\csname thesis@#1\endcsname}}}
 %    \end{macrocode}
 % The \DescribeMacro{\thesis@@lower}|\thesis@@lower|
 % and \DescribeMacro{\thesis@@upper}|\thesis@@upper|
-- 
GitLab