diff options
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.drv | 60 |
1 files changed, 58 insertions, 2 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 b614ff6a5ba..4768dfe82f1 100644 --- a/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv +++ b/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv @@ -1,6 +1,6 @@ % ams.drv -% 2008/08/02 v1.2 Driver file for amslatex documentation files -% Copyright 2006-2008 Heiko Oberdiek. +% 2010/10/27 v1.3 Driver file for amslatex documentation files +% Copyright 2006-2010 Heiko Oberdiek. % % This file is part of project `latex-tds'. % @@ -22,6 +22,10 @@ % 2006/06/02 v1.0 % 2007/10/17 v1.1: Fix for subeqn, amsmath before hyperref. % 2008/08/02 v1.2: Destination of bookmark "Index" fixed for amsldoc. +% 2010/10/27 v1.3 +% * Update/fix for instr-l.tex. +% * Adding missing macro definitions for amsrefs.dtx. +% * Fix for changes.tex. % \NeedsTeXFormat{LaTeX2e} \makeatletter @@ -47,6 +51,15 @@ \endinput } +%%% Patch for amsrefs/changes.tex +\AtBeginDocument{% + \@ifundefined{pdfstringdefDisableCommands}{}{% + \pdfstringdefDisableCommands{% + \def\cs#1{\textbackslash#1}% + }% + }% +} + %%% Patch \documentclass \let\PATCH@ORG@documentclass\documentclass \renewcommand*{\documentclass}[2][]{% @@ -119,6 +132,7 @@ \@onelevel@sanitize\y \expandafter\endgroup \ifx\x\y + \PassOptionsToPackage{dvipsnames,usenames}{color}% \PassOptionsToPackage{% pdfusetitle,% pdftex,breaklinks=true,colorlinks,% @@ -131,6 +145,13 @@ pdfkeywords={latex, AMS, amslatex, ams-latex, author instructions},% pdftitle={Instructions for Preparation of Papers and Monographs}% }% + \let\ORG@title\title + \let\ORG@thepage\thepage + \def\title{% + \let\thepage\ORG@thepage + \ORG@title + }% + \renewcommand*{\thepage}{\roman{page}}% }% \fi @@ -169,6 +190,41 @@ }% } +%%% Patch for amsrefs.dtx +% Adding missing macro definitions (from amsrdoc.tex) +\begingroup + \edef\x{\jobname}% + \def\y{amsrefs}% + \@onelevel@sanitize\y +\expandafter\endgroup +\ifx\x\y + \AtBeginDocument{% + \providecommand{\cnbreak}{\penalty999\hskip0pt\relax}% + \providecommand{\cnm}[2]{\cn{#1}\cnbreak\embrace{#2}}% + \providecommand{\cnmm}[3]{% + \cn{#1}% + \cnbreak + \embrace{#2}% + \cnbreak + \embrace{#3}% + }% + \providecommand{\cnom}[1]{\cn{#1}\cnbreak\ommitude}% + \providecommand{\ommitude}[2][]{{\ntt[#1]}\cnbreak\embrace{#2}}% + \providecommand{\cnmsm}[4]{% + \cn{#1}\cnbreak\embrace{#2}\cnbreak *\embrace{#4}% + }% + \@ifundefined{lbracechar}{% + \DeclareTextSymbol{\lbracechar}{OT1}{123}% + \DeclareTextSymbolDefault{\lbracechar}{OT1}% + \DeclareTextSymbol{\rbracechar}{OT1}{125}% + \DeclareTextSymbolDefault{\rbracechar}{OT1}% + }{}% + \providecommand{\embrace}[1]{% + \begingroup\ntt\lbracechar#1\rbracechar\endgroup + }% + }% +\fi + \makeatother %%% Load document source file |