diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/answers/answers.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/answers/answers.dtx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/answers/answers.dtx b/Master/texmf-dist/source/latex/answers/answers.dtx index 3f7512d8dea..a9563da67ad 100644 --- a/Master/texmf-dist/source/latex/answers/answers.dtx +++ b/Master/texmf-dist/source/latex/answers/answers.dtx @@ -1,15 +1,15 @@ % \iffalse meta-comment % \begin{macrocode} %<*answers> -\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} %</answers> % \end{macrocode} % % Originally developed by Mike Piff % Copyright (C) 1990,1994-1996 by Mike Piff -% Copyright (C) 2009 by +% Copyright (C) 2009-2010 by % Joseph Wright <joseph.wright@morningstar2.co.uk> % % This file may be distributed and/or modified under the conditions of @@ -24,7 +24,7 @@ % % \fi % -% \CheckSum{244} +% \CheckSum{247} % % \changes{2.0}{1994/03/25}{First version for LaTeX2e} % \changes{2.01}{1994/03/30}{Whoops! |ProvidesPackage{answers}|, @@ -46,6 +46,7 @@ % checks if a file is open! Ah well!} % \changes{2.12}{2009/09/16}{License change to LPPL} % \changes{2.12}{2009/09/16}{New maintainer} +% \changes{2.13}{2010/10/11}{Make hyperlinks to solutions work correctly} % % % \title{Production of solution sheets in \LaTeXe} @@ -377,7 +378,7 @@ % Announce the package name and its version: % \begin{macrocode} \ProvidesPackage{answers} - [2009/09/16 v2.12 Production of solution sheets in LaTeX2e] + [2010/10/11 v2.13 Production of solution sheets in LaTeX2e] % \end{macrocode} % % \section{Options} @@ -668,9 +669,11 @@ % \begin{macrocode} \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}}]}% |