summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-25 11:34:57 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-25 11:34:57 +0000
commit47f4481a23ad516f02cbd8a8bd2a2c180a1ac883 (patch)
treec96ec730f8c3173be622dc99c56335a40c18f221 /Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx
parent7f6c139bbdbbbcee9140892f8fad3584d63cf446 (diff)
thmtools patch update v0.1beta6 2008/06/22
git-svn-id: svn://tug.org/texlive/trunk@9040 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx')
-rw-r--r--Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx33
1 files changed, 21 insertions, 12 deletions
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}