summaryrefslogtreecommitdiff
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
parent1f1b94e0b5f854c19c96b892f28b76689c5596cd (diff)
bangorexam (18oct16)
git-svn-id: svn://tug.org/texlive/trunk@42303 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/bangorexam/bangorexam.pdfbin180742 -> 180654 bytes
-rw-r--r--Master/texmf-dist/source/latex/bangorexam/bangorexam.dtx8
-rw-r--r--Master/texmf-dist/tex/latex/bangorexam/bangorexam.cls6
3 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/bangorexam/bangorexam.pdf b/Master/texmf-dist/doc/latex/bangorexam/bangorexam.pdf
index 6b66e074e48..983dd558e64 100644
--- a/Master/texmf-dist/doc/latex/bangorexam/bangorexam.pdf
+++ b/Master/texmf-dist/doc/latex/bangorexam/bangorexam.pdf
Binary files differ
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}%
{%
diff --git a/Master/texmf-dist/tex/latex/bangorexam/bangorexam.cls b/Master/texmf-dist/tex/latex/bangorexam/bangorexam.cls
index be0b9d44c5a..e7076ac3c7d 100644
--- a/Master/texmf-dist/tex/latex/bangorexam/bangorexam.cls
+++ b/Master/texmf-dist/tex/latex/bangorexam/bangorexam.cls
@@ -39,11 +39,11 @@
%% Right bracket \] Circumflex\^ Underscore\_
%% Grave accent \` Left brace\{ Vertical bar \|
%% Right brace \} Tilde \~}
-\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]
\RequirePackage[dvipsnames]{xcolor}
@@ -361,7 +361,7 @@ Time allowed:~\timeAllowed~hours
}
-\AtEndDocument{%
+\AfterEndDocument{%
\edef\mytemp{{\examtype}}%
\expandafter\ifstrequal\mytemp{twofour}%
{%