From 3b0f0b61f7103e90e4cfd15878414542b3002619 Mon Sep 17 00:00:00 2001
From: Edward Longman <eialongman@gmail.com>
Date: Mon, 21 Sep 2020 10:34:30 +0100
Subject: [PATCH] Fix #15, long abstracts being forced onto new page

Now abstracts flow from the original page.
Fix from: https://tex.stackexchange.com/q/500178/98351
---
 source/latex/uosdocs/uosdocs.dtx    | 7 ++++---
 tex/latex/uosdocs/uosarticle.cls    | 2 +-
 tex/latex/uosdocs/uosgdp.cls        | 7 ++++---
 tex/latex/uosdocs/uosgdpsummary.cls | 2 +-
 tex/latex/uosdocs/uosminithesis.cls | 7 ++++---
 tex/latex/uosdocs/uosprogress.cls   | 7 ++++---
 tex/latex/uosdocs/uosproject.cls    | 7 ++++---
 tex/latex/uosdocs/uosreport.cls     | 7 ++++---
 tex/latex/uosdocs/uosthesis.cls     | 7 ++++---
 9 files changed, 30 insertions(+), 23 deletions(-)

diff --git a/source/latex/uosdocs/uosdocs.dtx b/source/latex/uosdocs/uosdocs.dtx
index bf8edd1..542b63b 100644
--- a/source/latex/uosdocs/uosdocs.dtx
+++ b/source/latex/uosdocs/uosdocs.dtx
@@ -28,7 +28,7 @@
 \ProvidesFile{uosdocs.drv}
 %</driver>
 %<*thesis|minithesis|progress|project|report|article|gdp|gdpsummary|driver>
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
 %</thesis|minithesis|progress|project|report|article|gdp|gdpsummary|driver>
 %<thesis|minithesis|progress|project|report|article|gdp|gdpsummary>   LaTeX document class]
 %    \end{macrocode}
@@ -975,7 +975,8 @@
   \btypeout{Abstract Page}
   \thispagestyle{empty}
   \null\vfil
-  \begin{center}
+  \begingroup
+   \centering
     \setlength{\parskip}{0pt}
     {\textsc\normalsize \univname \par}
     \bigskip
@@ -1003,7 +1004,7 @@
     \medskip
     {\normalsize by \authornames \par}
     \bigskip
-  \end{center}
+  \endgroup
 }
 {
 %<*thesis|minithesis|progress|project|report>
diff --git a/tex/latex/uosdocs/uosarticle.cls b/tex/latex/uosdocs/uosarticle.cls
index 8c0a33d..ce4c29f 100644
--- a/tex/latex/uosdocs/uosarticle.cls
+++ b/tex/latex/uosdocs/uosarticle.cls
@@ -13,7 +13,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2007/02/26]
 \ProvidesClass{uosarticle}
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
    LaTeX document class]
 %% ------------ Class/Formating Adjustment ----------------------
 %% Adjust the book class to match the requirements
diff --git a/tex/latex/uosdocs/uosgdp.cls b/tex/latex/uosdocs/uosgdp.cls
index 10cb921..8c857b1 100644
--- a/tex/latex/uosdocs/uosgdp.cls
+++ b/tex/latex/uosdocs/uosgdp.cls
@@ -13,7 +13,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2007/02/26]
 \ProvidesClass{uosgdp}
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
    LaTeX document class]
 %% ------------ Class/Formating Adjustment ----------------------
 %% Adjust the book class to match the requirements
@@ -257,7 +257,8 @@
   \btypeout{Abstract Page}
   \thispagestyle{empty}
   \null\vfil
-  \begin{center}
+  \begingroup
+   \centering
     \setlength{\parskip}{0pt}
     {\textsc\normalsize \univname \par}
     \bigskip
@@ -268,7 +269,7 @@
     \medskip
     {\normalsize by \authornames \par}
     \bigskip
-  \end{center}
+  \endgroup
 }
 {
 }
diff --git a/tex/latex/uosdocs/uosgdpsummary.cls b/tex/latex/uosdocs/uosgdpsummary.cls
index 7871e66..7eb02e8 100644
--- a/tex/latex/uosdocs/uosgdpsummary.cls
+++ b/tex/latex/uosdocs/uosgdpsummary.cls
@@ -13,7 +13,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2007/02/26]
 \ProvidesClass{uosgdpsummary}
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
    LaTeX document class]
 %% ------------ Class/Formating Adjustment ----------------------
 %% Adjust the book class to match the requirements
diff --git a/tex/latex/uosdocs/uosminithesis.cls b/tex/latex/uosdocs/uosminithesis.cls
index 7e43c09..0f98644 100644
--- a/tex/latex/uosdocs/uosminithesis.cls
+++ b/tex/latex/uosdocs/uosminithesis.cls
@@ -13,7 +13,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2007/02/26]
 \ProvidesClass{uosminithesis}
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
    LaTeX document class]
 %% ------------ Class/Formating Adjustment ----------------------
 %% Adjust the book class to match the requirements
@@ -260,7 +260,8 @@
   \btypeout{Abstract Page}
   \thispagestyle{empty}
   \null\vfil
-  \begin{center}
+  \begingroup
+   \centering
     \setlength{\parskip}{0pt}
     {\textsc\normalsize \univname \par}
     \bigskip
@@ -275,7 +276,7 @@
     \medskip
     {\normalsize by \authornames \par}
     \bigskip
-  \end{center}
+  \endgroup
 }
 {
   \vfil\vfil\vfil\null
diff --git a/tex/latex/uosdocs/uosprogress.cls b/tex/latex/uosdocs/uosprogress.cls
index e21944c..7cda81a 100644
--- a/tex/latex/uosdocs/uosprogress.cls
+++ b/tex/latex/uosdocs/uosprogress.cls
@@ -13,7 +13,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2007/02/26]
 \ProvidesClass{uosprogress}
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
    LaTeX document class]
 %% ------------ Class/Formating Adjustment ----------------------
 %% Adjust the book class to match the requirements
@@ -260,7 +260,8 @@
   \btypeout{Abstract Page}
   \thispagestyle{empty}
   \null\vfil
-  \begin{center}
+  \begingroup
+   \centering
     \setlength{\parskip}{0pt}
     {\textsc\normalsize \univname \par}
     \bigskip
@@ -275,7 +276,7 @@
     \medskip
     {\normalsize by \authornames \par}
     \bigskip
-  \end{center}
+  \endgroup
 }
 {
   \vfil\vfil\vfil\null
diff --git a/tex/latex/uosdocs/uosproject.cls b/tex/latex/uosdocs/uosproject.cls
index 248eb02..2241567 100644
--- a/tex/latex/uosdocs/uosproject.cls
+++ b/tex/latex/uosdocs/uosproject.cls
@@ -13,7 +13,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2007/02/26]
 \ProvidesClass{uosproject}
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
    LaTeX document class]
 %% ------------ Class/Formating Adjustment ----------------------
 %% Adjust the book class to match the requirements
@@ -260,7 +260,8 @@
   \btypeout{Abstract Page}
   \thispagestyle{empty}
   \null\vfil
-  \begin{center}
+  \begingroup
+   \centering
     \setlength{\parskip}{0pt}
     {\textsc\normalsize \univname \par}
     \bigskip
@@ -275,7 +276,7 @@
     \medskip
     {\normalsize by \authornames \par}
     \bigskip
-  \end{center}
+  \endgroup
 }
 {
   \vfil\vfil\vfil\null
diff --git a/tex/latex/uosdocs/uosreport.cls b/tex/latex/uosdocs/uosreport.cls
index f6d2a37..9d4b6f4 100644
--- a/tex/latex/uosdocs/uosreport.cls
+++ b/tex/latex/uosdocs/uosreport.cls
@@ -13,7 +13,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2007/02/26]
 \ProvidesClass{uosreport}
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
    LaTeX document class]
 %% ------------ Class/Formating Adjustment ----------------------
 %% Adjust the book class to match the requirements
@@ -271,7 +271,8 @@
   \btypeout{Abstract Page}
   \thispagestyle{empty}
   \null\vfil
-  \begin{center}
+  \begingroup
+   \centering
     \setlength{\parskip}{0pt}
     {\textsc\normalsize \univname \par}
     \bigskip
@@ -285,7 +286,7 @@
     \medskip
     {\normalsize by \authornames \par}
     \bigskip
-  \end{center}
+  \endgroup
 }
 {
   \vfil\vfil\vfil\null
diff --git a/tex/latex/uosdocs/uosthesis.cls b/tex/latex/uosdocs/uosthesis.cls
index 140ba6e..6ab52cc 100644
--- a/tex/latex/uosdocs/uosthesis.cls
+++ b/tex/latex/uosdocs/uosthesis.cls
@@ -13,7 +13,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2007/02/26]
 \ProvidesClass{uosthesis}
-              [2020/09/16 v1.1
+              [2020/09/16 v1.2
    LaTeX document class]
 %% ------------ Class/Formating Adjustment ----------------------
 %% Adjust the book class to match the requirements
@@ -276,7 +276,8 @@
   \btypeout{Abstract Page}
   \thispagestyle{empty}
   \null\vfil
-  \begin{center}
+  \begingroup
+   \centering
     \setlength{\parskip}{0pt}
     {\textsc\normalsize \univname \par}
     \bigskip
@@ -291,7 +292,7 @@
     \medskip
     {\normalsize by \authornames \par}
     \bigskip
-  \end{center}
+  \endgroup
 }
 {
   \vfil\vfil\vfil\null
-- 
GitLab