summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bangorexam/bangorexam.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/bangorexam/bangorexam.dtx')
-rw-r--r--Master/texmf-dist/source/latex/bangorexam/bangorexam.dtx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/bangorexam/bangorexam.dtx b/Master/texmf-dist/source/latex/bangorexam/bangorexam.dtx
index 116e68d25d4..096d240aa1f 100644
--- a/Master/texmf-dist/source/latex/bangorexam/bangorexam.dtx
+++ b/Master/texmf-dist/source/latex/bangorexam/bangorexam.dtx
@@ -44,6 +44,8 @@
%\RecordChanges
%\changes{v1.0}{2016/09/26}{Initial version.}
%\changes{v1.1}{2016/10/17}{Added two from four exam mode.}
+%\changes{v1.1.1}{2016/10/18}{Emergency bugfix for etoolkit interaction on
+%new documents.}
%\pagestyle{fancy}
%\title{Bangor University Computer Science Department\\ Exam Document Class}
%\author{Cameron Gray \texttt{<c.gray@bangor.ac.uk>}}
@@ -273,11 +275,11 @@
%\end{macrocode}
%\fi
%\begin{macrocode}
-\def\version{1.1.0}
+\def\version{1.1.1}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{bangorexam}[2016/10/17 \version{}C. Gray]
+\ProvidesClass{bangorexam}[2016/10/18 \version{} C. Gray]
% Based on the Exam document class by Philip S. Hirschhorn
% Developed/Adapted for Bangor University by C. Gray
@@ -628,7 +630,7 @@
% End of document validation
% *******************************************************************
-\AtEndDocument{%
+\AfterEndDocument{%
\edef\mytemp{{\examtype}}%
\expandafter\ifstrequal\mytemp{twofour}%
{%