summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/memoir/memhfixc.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-18 01:42:25 +0000
committerKarl Berry <karl@freefriends.org>2006-12-18 01:42:25 +0000
commit7fc8fcceed56744d8819f2f6d4b161e4c0ab0c8c (patch)
tree167eddad6b8d916f73a9062aab831e13a463ea4e /Master/texmf-dist/tex/latex/memoir/memhfixc.sty
parentccf854d76f6934910055d7aef79003558819348b (diff)
memoir update 15dec06
git-svn-id: svn://tug.org/texlive/trunk@2773 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/memoir/memhfixc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/memoir/memhfixc.sty10
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/memoir/memhfixc.sty b/Master/texmf-dist/tex/latex/memoir/memhfixc.sty
index 15502dd75fe..a5a7f719e4f 100644
--- a/Master/texmf-dist/tex/latex/memoir/memhfixc.sty
+++ b/Master/texmf-dist/tex/latex/memoir/memhfixc.sty
@@ -35,6 +35,10 @@
%% \usepackage[...]{hyperref}
%% \usepackage{memhfixc}
%%
+%% With thanks to Heiko Oberdiek, if you use hyperref dated 2006/11/15
+%% or later, memhfixc will be automatically loaded after hyperref.
+%%
+%% Version 1.9 2006/11/22
%% Version 1.8 2006/01/21
%% Version 1.7 2005/11/15
%% Version 1.6 2004/05/13
@@ -45,7 +49,7 @@
%% Version 1.1 2003/01/22
%% Version 1.0 2002/10/22
%%
-\ProvidesPackage{memhfixc}[2006/01/21 v1.8 nameref/hyperref package fixes for memoir class]
+\ProvidesPackage{memhfixc}[2006/11/22 v1.9 nameref/hyperref package fixes for memoir class]
\let\M@hfixcfinish\relax
\@ifclassloaded{memoir}{}%
{\let\M@hfixcfinish\endinput
@@ -132,6 +136,8 @@
\providecommand{\bookautorefname}{Book}
+\@ifpackagelater{hyperref}{2006/11/15}{%
+}{%
\def\@@writetorep#1#2#3#4#5{%
\begingroup
\def\Hy@tempa{#5}%
@@ -185,7 +191,7 @@
{\Hy@tempa}{\Hy@tempb}%
}%
\fi
- \endgroup
+ \endgroup}
}
\@ifundefined{H@old@sectm@m}{% haven't fiddled with \M@sect