summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/stellenbosch-2
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/stellenbosch-2')
-rw-r--r--macros/latex/contrib/stellenbosch-2/README2
-rw-r--r--macros/latex/contrib/stellenbosch-2/doc/CHANGELOG24
-rw-r--r--macros/latex/contrib/stellenbosch-2/doc/stb-thesis.pdfbin692622 -> 692634 bytes
-rw-r--r--macros/latex/contrib/stellenbosch-2/doc/stellenbosch-2.pdfbin111465 -> 111400 bytes
-rw-r--r--macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls17
5 files changed, 34 insertions, 9 deletions
diff --git a/macros/latex/contrib/stellenbosch-2/README b/macros/latex/contrib/stellenbosch-2/README
index 5205449a4e..26aeee2095 100644
--- a/macros/latex/contrib/stellenbosch-2/README
+++ b/macros/latex/contrib/stellenbosch-2/README
@@ -1,4 +1,4 @@
- The Stellenbosch-2 bundle v1.0
+ The Stellenbosch-2 bundle v2.0
for typesetting dissertations, theses and reports of the
Stellenbosch University, South Africa.
diff --git a/macros/latex/contrib/stellenbosch-2/doc/CHANGELOG b/macros/latex/contrib/stellenbosch-2/doc/CHANGELOG
new file mode 100644
index 0000000000..ad2394e65f
--- /dev/null
+++ b/macros/latex/contrib/stellenbosch-2/doc/CHANGELOG
@@ -0,0 +1,24 @@
+-----------------------------------------------------------
+Stellenbosch-2 v2.0 (2023/09/01)
+-----------------------------------------------------------
+
+ Documentation bug fixes
+
+ stb-thesis v1.3
+ - Remove add to contents before TOC in
+ Declaration, abstracts and TOC.
+
+ Templates
+ - Remove add to contents before TOC
+ - Change \chapters to \chapters* before TOC
+ - Set \renewcommand\tableofcontents{%
+ \chapter*{\contentsname}\@starttoc{toc}}
+
+-----------------------------------------------------------
+Stellenbosch-2 v1.0 (2023/08/10)
+-----------------------------------------------------------
+
+ First CTAN release
+
+-----------------------------------------------------------
+ \ No newline at end of file
diff --git a/macros/latex/contrib/stellenbosch-2/doc/stb-thesis.pdf b/macros/latex/contrib/stellenbosch-2/doc/stb-thesis.pdf
index 3b8bf95202..fd8348ba09 100644
--- a/macros/latex/contrib/stellenbosch-2/doc/stb-thesis.pdf
+++ b/macros/latex/contrib/stellenbosch-2/doc/stb-thesis.pdf
Binary files differ
diff --git a/macros/latex/contrib/stellenbosch-2/doc/stellenbosch-2.pdf b/macros/latex/contrib/stellenbosch-2/doc/stellenbosch-2.pdf
index cd23dbc416..521309f15d 100644
--- a/macros/latex/contrib/stellenbosch-2/doc/stellenbosch-2.pdf
+++ b/macros/latex/contrib/stellenbosch-2/doc/stellenbosch-2.pdf
Binary files differ
diff --git a/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls b/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls
index 8efaef30f8..162e53b6f4 100644
--- a/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls
+++ b/macros/latex/contrib/stellenbosch-2/tex/stb-thesis.cls
@@ -30,8 +30,8 @@
%% stb-thesis.cls
%% -------------------------------------------------------------------
%%
-\newcommand{\STBTfileversion}{v1.2}
-\newcommand{\STBTfiledate}{2023/08/10}
+\newcommand{\STBTfileversion}{v1.3}
+\newcommand{\STBTfiledate}{2023/09/01}
\NeedsTeXFormat{LaTeX2e}[2020/08/10]
\def\STB@basetype{book}
\ProvidesClass{stb-thesis}[\STBTfiledate
@@ -528,8 +528,8 @@
\thispagestyle{plain}%
\chapter*{\DeclarationName}%
\declaremark
- \phantomsection
- \addcontentsline{toc}{chapter}{\DeclarationName}%
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\DeclarationName}%
#1\par
\STB@putdecldate
\ifSTB@Copyright
@@ -555,8 +555,8 @@
\par
\chapter*{\AbstractName}%
\abstractmark
- \phantomsection
- \addcontentsline{toc}{chapter}{\AbstractName}%
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\AbstractName}%
\begin{center}
{\large\bfseries \@title \par}
\medskip
@@ -573,6 +573,7 @@
\end{center}
\if@restonecol\twocolumn\fi%
}{}
+
\renewcommand\tableofcontents{%
\if@twocolumn
\@restonecoltrue\onecolumn
@@ -581,8 +582,8 @@
\fi
\chapter*{\contentsname}%
\tocmark
- \phantomsection
- \addcontentsline{toc}{chapter}{\contentsname}%
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\contentsname}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi}
\renewcommand\listoffigures{%