summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-04-06 15:08:30 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-04-06 15:08:30 +0000
commitdfa4a295dfc9d12a504a36a7534b7778d37e1050 (patch)
tree8a92f6a87fdb1a3bfc482885148cc2aa8d7f7f9e /Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
parente951c402754fccfe6fc18cfd43531323e7f2a5db (diff)
latex-tds
git-svn-id: svn://tug.org/texlive/trunk@7332 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds/tex/ams.drv')
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ams.drv13
1 files changed, 12 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv b/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
index 3720eaada9b..10f6d35bcc9 100644
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
@@ -1,5 +1,5 @@
% ams.drv
-% 2006/06/02 v1.0 Driver file for amslatex documentation files
+% 2007/10/17 v1.1 Driver file for amslatex documentation files
% Copyright 2006 Heiko Oberdiek.
%
% This file is part of project `latex-tds'.
@@ -19,6 +19,9 @@
% See `readme.txt' for a list of all files belonging to the
% project `latex-tds' and additional information.
%
+% 2006/06/02 v1.0
+% 2007/10/17 v1.1: Fix for subeqn, amsmath before hyperref
+%
\NeedsTeXFormat{LaTeX2e}
\makeatletter
@@ -70,6 +73,14 @@
\addtolength{\topmargin}{-10mm}%
\addtolength{\textheight}{20mm}%
%
+ % load package amsmath before hyperref for subeqn
+ \def\@tempa{subeqn}%
+ \@onelevel@sanitize\@tempa
+ \edef\@tempb{\jobname}%
+ \ifx\@tempa\@tempb
+ \usepackage{amsmath}\relax
+ \fi
+ %
%%% Add hyperref support
\PassOptionsToPackage{hyperref}{draft=false}%
\IfFileExists{\jobname.dtx}{%