From 8053884ba4ef065ce9c8c828bb75c29fdd540e39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADt=20Novotn=C3=BD?= <witiko@mail.muni.cz>
Date: Fri, 12 Mar 2021 15:13:59 +0100
Subject: [PATCH] Remove most definitions and redefinitions from sci.dtx (part
 2) Use \thesis@blocks@preamble from fi.dtx for sci.dtx for now

---
 style/mu/sci.dtx | 34 ++++++++++++----------------------
 1 file changed, 12 insertions(+), 22 deletions(-)

diff --git a/style/mu/sci.dtx b/style/mu/sci.dtx
index f3f383f..66cd69b 100644
--- a/style/mu/sci.dtx
+++ b/style/mu/sci.dtx
@@ -97,29 +97,19 @@
 \def\thesis@blocks@preamble{
   \thesis@blocks@coverMatter
     \thesis@blocks@cover
-  \thesis@blocks@frontMatter
     \thesis@blocks@titlePage
-    \thesis@blocks@clearRight
-      \thesis@blocks@bibEntryCs
-      \thesis@blocks@bibEntry
-      \thesis@blocks@bibEntryEn
-      \thesis@blocks@abstractCs
-      \ifthesis@abstractonsinglepage@
-        \begingroup
-          \let\clearpage\relax
-      \fi
-          \thesis@blocks@abstract
-          \thesis@blocks@abstractEn
-      \ifthesis@abstractonsinglepage@
-        \endgroup
-      \fi
-    \thesis@blocks@assignment
-    {\thesis@selectLocale{czech}%
-    \thesis@blocks@thanks
-    \thesis@blocks@declaration
-    \thesis@blocks@clear
-      \pagestyle{plain}%
-      \thesis@blocks@tables}}
+  \thesis@blocks@frontMatter
+    \ifx\thesis@type\thesis@proposal
+      \thesis@blocks@toc
+    \else
+      \thesis@blocks@assignment
+      \thesis@blocks@declaration
+      \thesis@blocks@thanks
+      \thesis@blocks@clearRight
+        \thesis@blocks@abstract
+        \thesis@blocks@keywords
+      \thesis@blocks@tables
+    \fi}
 \def\thesis@blocks@postamble{%
   \thesis@blocks@bibliography}
 %    \end{macrocode}
-- 
GitLab