summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/answers/answers.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/answers/answers.sty')
-rw-r--r--Master/texmf-dist/tex/latex/answers/answers.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/answers/answers.sty b/Master/texmf-dist/tex/latex/answers/answers.sty
index 4c0d88c2cc2..cb7311822d6 100644
--- a/Master/texmf-dist/tex/latex/answers/answers.sty
+++ b/Master/texmf-dist/tex/latex/answers/answers.sty
@@ -21,12 +21,12 @@
%% This work is "maintained" (as per LPPL maintenance status) by
%% Joseph Wright.
%%
-\def\fileversion{2.12}
-\def\filedate{16 Sep 2009 00:00:00 BST}
+\def\fileversion{2.13}
+\def\filedate{11 Oct 2010 00:00:00 BST}
\def\filename{answers.dtx}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{answers}
- [2009/09/16 v2.12 Production of solution sheets in LaTeX2e]
+ [2010/10/11 v2.13 Production of solution sheets in LaTeX2e]
\newif\ifanswerfiles \answerfilestrue
\DeclareOption{nosolutionfiles}{\answerfilesfalse
\typeout{No answer files being produced}}%
@@ -176,9 +176,11 @@
}
\newcommand{\newsolution}[1]{%
\@ifundefined{#1}{%
+ \global\@definecounter{#1}%
\global\@namedef{#1params}{{\Currentlabel}}%
\newenvironment{#1}[1]%
{%
+ \refstepcounter{#1}%
\csname pre#1\endcsname
\trivlist
\item[\hskip\itemsep{\@nameuse{#1label}{##1}}]}%