summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bangorexam
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-19 20:36:58 +0000
committerKarl Berry <karl@freefriends.org>2016-10-19 20:36:58 +0000
commit214c5615badcad020bb0b24d205e83e0b10d8f63 (patch)
tree483ddd1ea4db7c7e63d037e8c4a8675c1718f53e /Master/texmf-dist/source/latex/bangorexam
parent1f1b94e0b5f854c19c96b892f28b76689c5596cd (diff)
bangorexam (18oct16)
git-svn-id: svn://tug.org/texlive/trunk@42303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bangorexam')
-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}%
{%