From 6cc261d26ec54e908805c13285e569afc09b1d8c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 12 Oct 2010 23:39:55 +0000 Subject: answers 2.13 (11oct10) git-svn-id: svn://tug.org/texlive/trunk@20070 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/answers/answers.pdf | Bin 205262 -> 227626 bytes Master/texmf-dist/source/latex/answers/answers.dtx | 13 ++++++++----- Master/texmf-dist/tex/latex/answers/answers.sty | 8 +++++--- Master/tlpkg/bin/tlpkginfo | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/answers/answers.pdf b/Master/texmf-dist/doc/latex/answers/answers.pdf index 8b7c988c2d5..d5f09f4e858 100644 Binary files a/Master/texmf-dist/doc/latex/answers/answers.pdf and b/Master/texmf-dist/doc/latex/answers/answers.pdf 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} % % \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 % % 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}}]}% diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo index bd7036a2247..fc1490bf41c 100755 --- a/Master/tlpkg/bin/tlpkginfo +++ b/Master/tlpkg/bin/tlpkginfo @@ -19,7 +19,7 @@ sub main # erroneous or problematic tds files (warn Robin about them) # list format: pkg1|pkg2|etc $erroneous_tds = join ("|", - qw(engpron fmtcount imtekda paresse purifyeps svn-multi + qw(answers engpron fmtcount imtekda paresse purifyeps svn-multi thailatex tufte-latex xetexref xtab), qw(lastpage papermas papertex undolabl)); #muench -- cgit v1.2.3