From 47f4481a23ad516f02cbd8a8bd2a2c180a1ac883 Mon Sep 17 00:00:00 2001
From: Manuel Pégourié-Gonnard <mpg@elzevir.fr>
Date: Wed, 25 Jun 2008 11:34:57 +0000
Subject: thmtools patch update v0.1beta6 2008/06/22

git-svn-id: svn://tug.org/texlive/trunk@9040 c570f23f-e606-0410-a88d-b1316a301751
---
 .../source/latex/thmtools/thm-autoref.dtx          | 33 ++++++++++++++--------
 1 file changed, 21 insertions(+), 12 deletions(-)

(limited to 'Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx')

diff --git a/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx b/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
index d76d743db4d..d8c6ea8b4f7 100644
--- a/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
+++ b/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
@@ -21,11 +21,25 @@
 \usepackage{amsmath, amsthm}
 \usepackage{thm-autoref}
 \newtheorem{lemma}{Lemma}
+\providecommand\pkg{\textsf}
 \GetFileInfo{thm-autoref.sty}
 \EnableCrossrefs
 \CodelineIndex
 \RecordChanges
 \begin{document}
+  \newcommand\thmrestate{\textsf{thm-patch}}
+  \title{The \thmrestate\ package\thanks{%
+    This file documents version~\fileversion\ of~\filedate,
+    RCS ${}$Id: thm-autoref.dtx,v 1.4 2008/03/09 18:59:17 ulmi Exp ${}$.
+  }}
+  \author{Ulrich M. Schwarz\thanks{ulmi@absatzen.de}}
+
+  \maketitle
+
+ \begin{abstract}
+  Fixes interaction of theorems with hyperref's |\autoref| command.
+ \end{abstract}
+
   \DocInput{thm-autoref.dtx}
 \end{document}
 %</driver>
@@ -57,23 +71,18 @@
 % \DoNotIndex{\providecommand,\ProvidesPackage,\relax,\renewcommand,\RequirePackage}
 % \DoNotIndex{\setcounter,\setkeys,\rlap,\setminus,\widthof,\mathrm}
 %
-% \newcommand\thmrestate{\textsf{thm-patch}}
-% \title{The \thmrestate\ package\thanks{%
-%   This file documents version~\fileversion\ of~\filedate,
-%   RCS ${}$Id: thm-autoref.dtx,v 1.3 2008/02/17 21:08:04 ulmi Exp ulmi ${}$.
-% }}
-% \author{Ulrich M. Schwarz\thanks{ulmi@absatzen.de}}
-%
-% \maketitle
-%
-%\begin{abstract}
-%\end{abstract}
 %\section{Usage}
 %
+% \pkg{hyperref}'s |\autoref| command does not work well with theorems that
+% share a counter: it'll always think it's a Lemma even if it's a Remark
+% that shares the Lemma counter. Load this package to fix it. No further
+% intervention needed.
+%
+%\StopEventually{}
 %\section{Implementation}
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{thm-autoref}[2008/02/17 BETA thm-autoref (ulmi)]
+\ProvidesPackage{thm-autoref}[2008/03/09 v0.1beta2 thm-autoref (ulmi)]
 
 \RequirePackage{thm-patch, aliasctr}
 
-- 
cgit v1.2.3

