summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-10-12 23:39:55 +0000
committerKarl Berry <karl@freefriends.org>2010-10-12 23:39:55 +0000
commit6cc261d26ec54e908805c13285e569afc09b1d8c (patch)
tree23320d0c943bf43fcb64c2938f0df54b96792629 /Master/texmf-dist
parent8070c531d403f61c4414589bce9a1e9172c218c9 (diff)
answers 2.13 (11oct10)
git-svn-id: svn://tug.org/texlive/trunk@20070 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/answers/answers.pdfbin205262 -> 227626 bytes
-rw-r--r--Master/texmf-dist/source/latex/answers/answers.dtx13
-rw-r--r--Master/texmf-dist/tex/latex/answers/answers.sty8
3 files changed, 13 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/answers/answers.pdf b/Master/texmf-dist/doc/latex/answers/answers.pdf
index 8b7c988c2d5..d5f09f4e858 100644
--- a/Master/texmf-dist/doc/latex/answers/answers.pdf
+++ b/Master/texmf-dist/doc/latex/answers/answers.pdf
Binary files differ
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}}]}%
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}}]}%