summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-02-15 23:59:58 +0000
committerKarl Berry <karl@freefriends.org>2013-02-15 23:59:58 +0000
commit805d2fce0319a5f690a9db16a91070278fc51ffe (patch)
tree30f190c56cc45b8b2aa250124bb63ba41356e508 /Master/texmf-dist/source/latex/latex-tds
parent0ccccba206b1401b7478dd9629fb2386887c5ec6 (diff)
latex-tds (15feb13)
git-svn-id: svn://tug.org/texlive/trunk@29131 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds')
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/README28
-rwxr-xr-xMaster/texmf-dist/source/latex/latex-tds/build.pl106
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.def.diff323
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.tex.diff442
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ams.drv15
5 files changed, 871 insertions, 43 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/README b/Master/texmf-dist/source/latex/latex-tds/README
index baf5845d3f4..5dc9d59f03b 100644
--- a/Master/texmf-dist/source/latex/latex-tds/README
+++ b/Master/texmf-dist/source/latex/latex-tds/README
@@ -1,4 +1,4 @@
-README for project latex-tds, 2013/02/14
+README for project latex-tds, 2013/02/15
TABLE OF CONTENTS
=================
@@ -75,6 +75,7 @@ Module list
ftp://ftp.ams.org/pub/tex/amsrefs/amsrefs.zip
ftp://ftp.ams.org/pub/tex/amscls.zip
ftp://ftp.ams.org/pub/tex/amsmath.zip
+* amsfonts CTAN:install/fonts/amsfonts.tds.zip
* psnfss CTAN:macros/latex/required/psnfss.zip
* babel CTAN:macros/latex/required/babel.zip
* tds CTAN:tds.zip
@@ -263,6 +264,8 @@ Documentation driver
Patches
-------
patch/amsclass.dtx.diff patch for amslatex/amsclass.dtx
+ patch/amsfndoc.def.diff patch for amsfonts/amsfndoc.def
+ patch/amsfndoc.tex.diff patch for amsfonts/amsfndoc.tex
patch/amsldoc.tex.diff patch for amslatex/amsldoc.tex
patch/changes.tex.diff patch for amslatex/amsrefs/changes.tex
patch/encguide.tex.diff patch for base/encguide.tex
@@ -320,14 +323,6 @@ Tools
the data from manifest.txt).
* ...
-AmSLaTeX
---------
-* The distribution from the AMS ftp site is used, because
- the files are already sorted in TDS:
- ftp://ftp.ams.org/pub/tex/amslatex.zip
- ftp://ftp.ams.org/pub/tex/amsrefs.zip
-* ...
-
Babel
-----
* Babel's TeX files consists of three groups of files:
@@ -420,15 +415,10 @@ done in which way.
The *.zip with TDS trees are the goal of the project, not the
build process. Some remarks, if someone wants to build the
modules himself:
-* TeX compiler: recent pdfTeX, below 1.30 some of the packages
- will not work.
-* An up-to-date LaTeX installation is recommended.
-* Additional packages can be necessary, e.g. I had to install
- language/armenian, fonts/tipa, fonts/wsuipa, fonts/fc,
- fonts/utopia, fonts/greek/cbfonts, ...
- Probably TeX Live would be a good idea (I haven't tested).
-* Some new packages of mine I will put on CTAN, but at time
- of writing, they aren't available yet.
+* TeX compiler: LuaTeX and pdfTeX (>= 1.30).
+* An up-to-date LaTeX installation, at least TeX Live 2012.
+* Additional packages can be necessary, e.g.
+ CTAN:language/armenian/armtex.zip is not in TeX Live 2012.
* Most of the PDF files are generated using lualatex and package
`fontspec' that uses the Latin Modern fonts as default. They
are available as OpenType fonts. LuaTeX generates with OpenType
@@ -623,3 +613,5 @@ I. HISTORY
* Module base: lb2.err and tlc2.err updated.
* Change in version control system from CVS to git with public
source repository.
+2013/02/15
+ * Module amsfonts added.
diff --git a/Master/texmf-dist/source/latex/latex-tds/build.pl b/Master/texmf-dist/source/latex/latex-tds/build.pl
index a639d66c186..d1ff6b4bae7 100755
--- a/Master/texmf-dist/source/latex/latex-tds/build.pl
+++ b/Master/texmf-dist/source/latex/latex-tds/build.pl
@@ -4,8 +4,8 @@ $^W=1;
my $prj = 'latex-tds';
my $file = 'build.pl';
-my $version = '1.174';
-my $date = '2014-02-14';
+my $version = '1.175';
+my $date = '2014-02-15';
my $author = 'Heiko Oberdiek';
my $copyright = "Copyright 2006-2013 $author";
chomp(my $license = <<"END_LICENSE");
@@ -52,6 +52,7 @@ my @pkg_list = (
'tds',
'knuth',
'etex',
+ 'amsfonts',
);
my $zip_comment = <<'END_ZIP_COMMENT';
@@ -256,6 +257,7 @@ if (@list_modules > 0) {
download_ctan('amsrefs.tds', 'install/macros/latex/contrib');
download_ctan('amscls.tds', 'install/macros/latex/required/amslatex');
download_ctan('math.tds', 'install/macros/latex/required/amslatex');
+ download_ctan('amsfonts.tds', 'install/fonts/');
download_ctan('psnfss', 'macros/latex/required');
download_ctan('tds', '');
download_ctan('texware', 'systems/knuth/dist');
@@ -386,6 +388,15 @@ section('Unpacking');
# run("$prg_cp $dir_build/amslatex/ctan/amsrefs/amsrefs.dtx "
# . "$dir_build/amslatex/texmf/source/latex/amsrefs/amsrefs.dtx");
}
+ if ($modules{'amsfonts'}) {
+ ensure_directory("$dir_build/amsfonts");
+ unpacking('amsfonts',
+ "$dir_incoming_ctan/amsfonts.tds.zip",
+ "$dir_build/amsfonts/texmf");
+ my $src = "$dir_build/amsfonts";
+ ensure_directory($src);
+ run("$prg_cp $dir_build/amsfonts/texmf/source/latex/amsfonts/* $src/");
+ }
unpack_psnfss('lw35nfss');
unpack_psnfss('freenfss');
unpack_ctan('tds');
@@ -647,6 +658,11 @@ section('Patches after source install');
run("$prg_recode latin1..utf8 $dir_build/amslatex/amsrefs/changes.tex");
}
+ if ($modules{'amsfonts'}) {
+ patch("amsfonts/amsfndoc.def");
+ patch("amsfonts/amsfndoc.tex");
+ }
+
if ($modules{'babel'}) {
patch("babel/hebrew.fdd");
}
@@ -1334,24 +1350,24 @@ END_CODE
chdir $cwd;
}
-### Generate documentation for amslatex
-if ($modules{'amslatex'}) {
- section('Documentation: amslatex');
-
- sub makeindex ($) {
- my $doc = shift;
- my $style;
- $style = 'gind.ist' unless $doc eq 'amsldoc';
- run_makeindex("$doc.idx", $style);
- }
+sub makeindex ($) {
+ my $doc = shift;
+ my $style;
+ $style = 'gind.ist' unless $doc eq 'amsldoc';
+ run_makeindex("$doc.idx", $style);
+}
- sub bibtex ($) {
- my $doc = shift;
+sub bibtex ($) {
+ my $doc = shift;
- if ($doc =~ /^cite-x[bh]$/) {
- run("$prg_bibtex $doc");
- }
+ if ($doc =~ /^cite-x[bh]$/) {
+ run("$prg_bibtex $doc");
}
+}
+
+### Generate documentation for amslatex
+if ($modules{'amslatex'}) {
+ section('Documentation: amslatex');
sub generate_doc ($$) {
my $amspkg = shift;
@@ -1363,12 +1379,14 @@ if ($modules{'amslatex'}) {
or $doc eq 'thmtest'
or $doc eq 'cite-xs'
or $doc eq 'mathscinet';
- $latextds = $prg_lualatextds2 if $doc eq 'amsldoc'
- or $doc eq 'subeqn'
- or $doc eq 'textcmds';
+ $latextds = $prg_lualatextds2
+ if $doc eq 'amsldoc'
+ or $doc eq 'subeqn'
+ or $doc eq 'textcmds';
$latextds = $prg_pdflatex
if $doc eq 'thmtest';
- $latextds = $prg_lualatex if $doc eq 'amsrdoc';
+ $latextds = $prg_lualatex
+ if $doc eq 'amsrdoc';
symlink $ams_drv, "$doc.drv";
cache 'amslatex', $doc, sub {
@@ -1414,6 +1432,52 @@ if ($modules{'amslatex'}) {
chdir $cwd;
}
+if ($modules{'amsfonts'}) {
+ section('Documentation: amsfonts');
+
+ sub generate_doc2 ($$) {
+ my $amspkg = shift;
+ my $doc = shift;
+ my $ams_drv = "$cwd/$dir_tex/ams.drv";
+ my $latextds = $prg_lualatextds;
+ $latextds = $prg_pdflatextds
+ if $doc eq 'eufrak'
+ or $doc eq 'euscript';
+
+ symlink $ams_drv, "$doc.drv";
+ cache 'amsfonts', $doc, sub {
+ run("$latextds -draftmode $doc.drv");
+ makeindex($doc);
+ bibtex($doc);
+ run("$latextds -draftmode $doc.drv");
+ makeindex($doc);
+ run("$latextds -draftmode $doc.drv");
+ makeindex($doc);
+ final_begin;
+ run("$latextds $doc.drv");
+ final_end;
+ };
+ install_gen_pdf('fonts', $amspkg, $doc);
+ }
+
+ chdir "$dir_build/amsfonts";
+ map {generate_doc2 'amsfonts', $_; } qw[
+ amsfonts amssymb cmmib57 eufrak euscript
+ ];
+ # plain: amsfndoc
+ {
+ my $doc = 'amsfndoc';
+ cache 'amslatex', $doc, sub {
+ run("$prg_pdftex -draftmode $doc.tex");
+ final_begin;
+ run("$prg_pdftex $doc.tex");
+ final_end;
+ };
+ }
+ install_gen_pdf('fonts', 'amsfonts', 'amsfndoc');
+ chdir $cwd;
+}
+
### Generate documentation for psnfss
if ($modules{'psnfss'}) {
section('Documentation: psnfss');
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.def.diff b/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.def.diff
new file mode 100644
index 00000000000..5ceb8393589
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.def.diff
@@ -0,0 +1,323 @@
+*** amsfndoc.def.org 2009-02-22 20:46:31.000000000 +0100
+--- amsfndoc.def 2013-02-14 15:43:14.549616359 +0100
+***************
+*** 49,54 ****
+--- 49,104 ----
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
++ % Additions of latex-tds
++
++ \input ltxcmds.sty\relax
++ \input infwarerr.sty\relax
++ \input ifpdf.sty\relax
++
++ \ifpdf
++ \else
++ \@PackageError{\jobname}{pdfTeX in PDF mode is required}\@ehd
++ \endgroup
++ \csname @@end\expandafter\endcsname
++ \fi
++
++ \def\MakeDest#1{%
++ \begingroup
++ \begingroup
++ \let\relax\ltx@empty
++ \edef\x{\endgroup
++ \edef\noexpand\@tmp{#1\ltx@empty}%
++ }%
++ \x
++ \ltx@IfUndefined{dest@\@tmp}{%
++ \pdfdest name{\@tmp}xyz\relax
++ \immediate\write16{* dest: [\@tmp]}%
++ \global\expandafter\let\csname dest@\@tmp\endcsname\ltx@empty
++ }{%
++ \@PackageError{\jobname}{%
++ Destination `\@tmp' is already defined%
++ }\@ehc
++ }%
++ \endgroup
++ }
++ \def\MakeLinkAux#1#2#3{%
++ \leavevmode
++ \pdfstartlink attr{/F 4/Border[0 0 0]}goto name{#1}\relax
++ \pdfcolorstack0 push{#3}\relax
++ {#2}%
++ \pdfcolorstack0 pop\relax
++ \pdfendlink
++ }
++ \def\MakeLink#1#2{%
++ \MakeLinkAux{#1}{#2}{1 0 0 rg 1 0 0 RG}%
++ }
++
++ \def\Cite[#1]{%
++ [\MakeLinkAux{bib.#1}{#1}{0 .8 0 rg 0 .8 0 RG}]%
++ }
++
++ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
++ %
+ % Utility registers and definitions
+
+ % Test registers for transient use; paired - internal/external
+***************
+*** 428,434 ****
+ \let\DoHrule=\mthrule
+
+ \newbox\maintitlebox
+! \def\maintitle #1\\#2<{\vfil\eject
+ \vbox{\rightskip=0pt plus 1fil\leftskip=\rightskip
+ \parindent=0pt\parfillskip=0pt\bf#1\par
+ }%
+--- 478,484 ----
+ \let\DoHrule=\mthrule
+
+ \newbox\maintitlebox
+! \def\OriginalMaintitle #1\\#2<{\vfil\eject
+ \vbox{\rightskip=0pt plus 1fil\leftskip=\rightskip
+ \parindent=0pt\parfillskip=0pt\bf#1\par
+ }%
+***************
+*** 437,442 ****
+--- 487,498 ----
+ \else\vskip3pt\centerline{#2}\fi
+ \medskip\SetupFirstPar }
+
++ \def\maintitle #1\\{%
++ \pdfinfo{/Title(#1)}%
++ \global\let\maintitle\OriginalMaintitle
++ }
++
++ \pdfinfo{/Author(AMS)}
+
+ % First-paragraph formatting
+
+***************
+*** 465,477 ****
+ \def\section#1#2\par{%
+ \penalty-20
+ \vskip\AboveTitleSkip
+ {\raggedcenter
+ {\smc\noindent\ignorespaces\if!#1!\else#1. \fi
+ \ifFigure\rm\fi\ignorespaces
+ #2\unskip}\strutt
+ \ifFigure \global\Figurefalse
+ \else
+! \tocwrites\tocsection{#1}{#2}%
+ \ifAppendix
+ \else \toks0{\rhsection{#1}{#2}}\mark{\the\toks0}%
+ \fi
+--- 521,534 ----
+ \def\section#1#2\par{%
+ \penalty-20
+ \vskip\AboveTitleSkip
++ \MakeDest{section.#1}%
+ {\raggedcenter
+ {\smc\noindent\ignorespaces\if!#1!\else#1. \fi
+ \ifFigure\rm\fi\ignorespaces
+ #2\unskip}\strutt
+ \ifFigure \global\Figurefalse
+ \else
+! \tocwrites\tocsection{section.#1}{#1}{#2}%
+ \ifAppendix
+ \else \toks0{\rhsection{#1}{#2}}\mark{\the\toks0}%
+ \fi
+***************
+*** 493,503 ****
+ \def\auxwriteb{\write\auxfile}
+
+ \long\def\gobbletwo#1#2{}
+! \long\def\gobblethree#1#2#3{}
+
+! \def\tocwrite#1#2#3{%
+ \begingroup
+! \def\temp{{#2}{#3}}\edef\temp{\mmeaning\temp}%
+ \edef\tempb{\noexpand\auxwrite{%
+ \string#1\temp{\noexpand\the\pageno}}}%
+ \tempb
+--- 550,560 ----
+ \def\auxwriteb{\write\auxfile}
+
+ \long\def\gobbletwo#1#2{}
+! \long\def\gobblefour#1#2#3#4{}
+
+! \def\tocwrite#1#2#3#4{%
+ \begingroup
+! \def\temp{{#2}{#3}{#4}}\edef\temp{\mmeaning\temp}%
+ \edef\tempb{\noexpand\auxwrite{%
+ \string#1\temp{\noexpand\the\pageno}}}%
+ \tempb
+***************
+*** 508,518 ****
+ \def\tocwritea{\tocwrite}
+
+ \newif\ifAppendix
+! \def\appendix#1#2{\maintitle Appendix #1\break #2\\<
+! \mark{Appendix #1.\enspace#2}\tocwritea\tocappendix{#1}{#2}%
+ \gdef\theappendix{#1}%
+ % Now \section should no longer go into the table of contents.
+! \let\tocwrites\gobblethree
+ % And forget the running head on the first page of an appendix.
+ \global\ThisIsFirstPagetrue \Appendixtrue
+ \InstSec=0 \relax }
+--- 565,577 ----
+ \def\tocwritea{\tocwrite}
+
+ \newif\ifAppendix
+! \def\appendix#1#2{%
+! \MakeDest{appendix.#1}%
+! \maintitle Appendix #1\break #2\\<
+! \mark{Appendix #1.\enspace#2}\tocwritea\tocappendix{appendix.#1}{#1}{#2}%
+ \gdef\theappendix{#1}%
+ % Now \section should no longer go into the table of contents.
+! \let\tocwrites\gobblefour
+ % And forget the running head on the first page of an appendix.
+ \global\ThisIsFirstPagetrue \Appendixtrue
+ \InstSec=0 \relax }
+***************
+*** 535,541 ****
+
+ \def\endReferences{\par\endgroup}
+
+! \def\bibitem [#1] {\noindent\kern-\leftskip
+ \hbox to\leftskip{[#1]\hfil}\ignorespaces}
+
+ \def\bysame{\hbox to 3em{\leaders\hrule\hfill}\thinspace, }
+--- 594,602 ----
+
+ \def\endReferences{\par\endgroup}
+
+! \def\bibitem [#1] {%
+! \MakeDest{bib.#1}%
+! \noindent\kern-\leftskip
+ \hbox to\leftskip{[#1]\hfil}\ignorespaces}
+
+ \def\bysame{\hbox to 3em{\leaders\hrule\hfill}\thinspace, }
+***************
+*** 543,557 ****
+ % Note that, since \raggedbottom is turned on, there is already an
+ % implied 60pt (= 5\baselineskip) margin allowed, so the penalty
+ % should not be overly attractive.
+! \def\subsection#1#2\par{\ifFirstPar \nobreak
+ \else \vskip\z@ plus 4\baselineskip \penalty-10
+ \vskip\z@ plus-4\baselineskip \vskip 8pt \vskip\parskip \fi
+ {\raggedright\hyphenpenalty=10000 \exhyphenpenalty=10000
+! \noindent\bf#1. \ignorespaces#2\endgraf}\nobreak \vskip 4pt\relax
+ \SetupFirstPar }
+
+
+ \def\Contents{%
+ \subsection{\gobble}Contents of this document\par
+ \begingroup
+ \parfillskip=\normalparindent \parindent=\normalparindent
+--- 604,645 ----
+ % Note that, since \raggedbottom is turned on, there is already an
+ % implied 60pt (= 5\baselineskip) margin allowed, so the penalty
+ % should not be overly attractive.
+! \def\subsection#1#2\par{%
+! \def\@tmps{#1}%
+! \ifx\@tmps\macrogobble
+! \MakeDest{section.contents}%
+! \else
+! \MakeDest{subsection.#1}%
+! \fi
+! \ifFirstPar \nobreak
+ \else \vskip\z@ plus 4\baselineskip \penalty-10
+ \vskip\z@ plus-4\baselineskip \vskip 8pt \vskip\parskip \fi
+ {\raggedright\hyphenpenalty=10000 \exhyphenpenalty=10000
+! \noindent
+! \ifx\@tmps\macrogobble
+! \else
+! \tocwrite\tocsub{subsection.#1}{#1}{#2}%
+! \fi
+! \bf#1. \ignorespaces#2\endgraf}\nobreak \vskip 4pt\relax
+ \SetupFirstPar }
+
++ \def\macrogobble{\gobble}
++
++ \def\tocsub#1#2#3#4{}%
++
++ \def\Outline#1#2{%
++ \begingroup
++ \def\LaTeX##1{LaTeX##1}%
++ \def\TeX##1{TeX##1}%
++ \def\AmSTeX##1{AmS-TeX##1}%
++ \pdfoutline goto name{#1}count0{\romannumeral-`\@#2}\relax
++ \endgroup
++ }
++
++ \pdfcatalog{/PageMode/UseOutlines}
+
+ \def\Contents{%
++ \Outline{section.contents}{Table of contents}%
+ \subsection{\gobble}Contents of this document\par
+ \begingroup
+ \parfillskip=\normalparindent \parindent=\normalparindent
+***************
+*** 560,572 ****
+ \par\endgroup
+ }
+
+! \def\tocsection#1#2#3{%
+ \par \global\NoTocfalse
+ \begingroup \hangindent\parindent\indent
+! \if!#1!\else#1. \fi#2\dotsfill\ #3\endgraf
+ \endgroup}
+
+! \def\tocappendix#1{\tocsection{Appendix #1}}
+
+ % Define address blocks and other structures that use \obeylines
+ % in the context \tag ...<
+--- 648,666 ----
+ \par\endgroup
+ }
+
+! \def\tocsection#1#2#3#4{%
+! \Outline{#1}{%
+! \if!#2!\else#2. \fi#3%
+! }%
+ \par \global\NoTocfalse
+ \begingroup \hangindent\parindent\indent
+! \MakeLink{#1}{%
+! \if!#2!\else#2. \fi#3\dotsfill\ #4%
+! }%
+! \endgraf
+ \endgroup}
+
+! \def\tocappendix#1#2{\tocsection{#1}{Appendix #2}}
+
+ % Define address blocks and other structures that use \obeylines
+ % in the context \tag ...<
+***************
+*** 827,833 ****
+
+ \ifx\InstName\relax % then we are doing only the installation instructions.
+ \NoTocfalse % don't complain about the absence of TOC
+! \let\tocwrite\gobblethree
+ \else
+ % Make sure there is an auxfile.
+ \openin\auxfile=\jobname.aux \relax
+--- 921,927 ----
+
+ \ifx\InstName\relax % then we are doing only the installation instructions.
+ \NoTocfalse % don't complain about the absence of TOC
+! \let\tocwrite\gobblefour
+ \else
+ % Make sure there is an auxfile.
+ \openin\auxfile=\jobname.aux \relax
+***************
+*** 843,849 ****
+
+ \ifx\InstName\relax % then we are doing only the installation instructions.
+ \else
+! \begingroup \let\tocsection\gobblethree
+ \input \jobname.aux
+ \endgroup
+ \fi
+--- 937,943 ----
+
+ \ifx\InstName\relax % then we are doing only the installation instructions.
+ \else
+! \begingroup \let\tocsection\gobblefour
+ \input \jobname.aux
+ \endgroup
+ \fi
diff --git a/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.tex.diff b/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.tex.diff
new file mode 100644
index 00000000000..d5aa54da7ef
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/patch/amsfndoc.tex.diff
@@ -0,0 +1,442 @@
+*** amsfndoc.tex.org 2009-02-22 20:46:31.000000000 +0100
+--- amsfndoc.tex 2013-02-14 14:58:48.915336160 +0100
+***************
+*** 105,111 ****
+ instead of sizes 5,6,7,8,9,10 when the Y\&Y/Blue Sky PostScript outline
+ fonts are used
+ \itemitem{--} \filename{*.fd}, font definition files
+! \item{} For details, see Section 3 on using AMSFonts with \LaTeX{}.
+
+ \item{\bull} Macro files for using these fonts with plain \TeX{}:
+ \itemitem{--} \filename{amssym.tex}, a file defining names for the symbols
+--- 105,111 ----
+ instead of sizes 5,6,7,8,9,10 when the Y\&Y/Blue Sky PostScript outline
+ fonts are used
+ \itemitem{--} \filename{*.fd}, font definition files
+! \item{} For details, see \MakeLink{section.3}{Section 3} on using AMSFonts with \LaTeX{}.
+
+ \item{\bull} Macro files for using these fonts with plain \TeX{}:
+ \itemitem{--} \filename{amssym.tex}, a file defining names for the symbols
+***************
+*** 166,172 ****
+ \parskip=0pt
+ \item{\bull} ``{\tt cm}'': These fonts are based directly on the
+ specifications for Knuth's Computer Modern fonts, as described
+! in Volume~E of \CandT{} [DEK86E].
+ \item{\bull} ``{\tt eu}'': These are members of the Euler family,
+ described below.
+ \item{\bull} ``{\tt ms}'': These fonts of math symbols were developed
+--- 166,172 ----
+ \parskip=0pt
+ \item{\bull} ``{\tt cm}'': These fonts are based directly on the
+ specifications for Knuth's Computer Modern fonts, as described
+! in Volume~E of \CandT{} \Cite[DEK86E].
+ \item{\bull} ``{\tt eu}'': These are members of the Euler family,
+ described below.
+ \item{\bull} ``{\tt ms}'': These fonts of math symbols were developed
+***************
+*** 211,224 ****
+ eighteenth century. Zapf's designs were rendered in \MF{} code by graduate
+ students at Stanford, working under Knuth's direction; the process by which
+ the \MF{} fonts were implemented is described in a report by David Siegel
+! [DRS85]. The Euler fonts were designed to be used as math symbols; they are
+ not intended for setting running text.
+
+ The Fraktur face of the Euler family has been used in production by the
+ AMS since it became available. However, no extensive test or use had
+ been made of the script or cursive until Knuth decided that they should be
+ used in a textbook, {\sl Concrete Mathematics}, written by him and two
+! co-authors [GKP88]. During the course of preparing that book, a number of
+ errors, particularly in spacing parameters affecting the placement of sub-
+ and superscripts, were discovered. All these errors have been corrected in
+ the medium-weight versions of the Euler fonts (almost no boldface symbols
+--- 211,224 ----
+ eighteenth century. Zapf's designs were rendered in \MF{} code by graduate
+ students at Stanford, working under Knuth's direction; the process by which
+ the \MF{} fonts were implemented is described in a report by David Siegel
+! \Cite[DRS85]. The Euler fonts were designed to be used as math symbols; they are
+ not intended for setting running text.
+
+ The Fraktur face of the Euler family has been used in production by the
+ AMS since it became available. However, no extensive test or use had
+ been made of the script or cursive until Knuth decided that they should be
+ used in a textbook, {\sl Concrete Mathematics}, written by him and two
+! co-authors \Cite[GKP88]. During the course of preparing that book, a number of
+ errors, particularly in spacing parameters affecting the placement of sub-
+ and superscripts, were discovered. All these errors have been corrected in
+ the medium-weight versions of the Euler fonts (almost no boldface symbols
+***************
+*** 227,233 ****
+ the integral sign, was too slanted to be attractive with Euler, and
+ consequently he prepared a new (partial) extension font for use with Euler.
+ Knuth described his experience with the Euler fonts in a \TUB\/ article
+! [DEK89]. In the article he also identified the macros he used and where they
+ can be obtained.
+
+ The Euler fonts are sparsely populated; only the alphabetic locations are
+--- 227,233 ----
+ the integral sign, was too slanted to be attractive with Euler, and
+ consequently he prepared a new (partial) extension font for use with Euler.
+ Knuth described his experience with the Euler fonts in a \TUB\/ article
+! \Cite[DEK89]. In the article he also identified the macros he used and where they
+ can be obtained.
+
+ The Euler fonts are sparsely populated; only the alphabetic locations are
+***************
+*** 243,249 ****
+ includes Greek), symbol, and math extension fonts are included in standard
+ distributions of \TeX{}. Since these symbols are often needed in
+ mathematics, other sizes have been constructed, using the principles
+! demonstrated in Knuth's {\sl Computer Modern Typefaces\/} [DEK86E], and
+ included in the AMSFonts collection.
+
+
+--- 243,249 ----
+ includes Greek), symbol, and math extension fonts are included in standard
+ distributions of \TeX{}. Since these symbols are often needed in
+ mathematics, other sizes have been constructed, using the principles
+! demonstrated in Knuth's {\sl Computer Modern Typefaces\/} \Cite[DEK86E], and
+ included in the AMSFonts collection.
+
+
+***************
+*** 318,324 ****
+
+ The dummy font is used in \AmSTeX{} to implement ``syntax checking''.
+ (Syntax checking is activated by the |\printoptions| command as
+! described in \JoT{} [MDS86].) In this mode, the dummy font replaces all
+ the usual ``printing'' fonts, so that \TeX{} never accumulates any text
+ to be set, and never tries to write out a page, but in the process of
+ reading the input file, checks all control sequences for syntactic
+--- 318,324 ----
+
+ The dummy font is used in \AmSTeX{} to implement ``syntax checking''.
+ (Syntax checking is activated by the |\printoptions| command as
+! described in \JoT{} \Cite[MDS86].) In this mode, the dummy font replaces all
+ the usual ``printing'' fonts, so that \TeX{} never accumulates any text
+ to be set, and never tries to write out a page, but in the process of
+ reading the input file, checks all control sequences for syntactic
+***************
+*** 328,334 ****
+ overfull boxes cannot be detected until setting actually occurs.
+
+
+! \subsection{2.6} PostScript (Type 1) implementation of AMSFonts
+
+ The AMSFonts are available in Type~1 outline form as an alternative
+ to the bitmap images generated by \MF. The Type~1 files are not
+--- 328,334 ----
+ overfull boxes cannot be detected until setting actually occurs.
+
+
+! \subsection{2.7} PostScript (Type 1) implementation of AMSFonts
+
+ The AMSFonts are available in Type~1 outline form as an alternative
+ to the bitmap images generated by \MF. The Type~1 files are not
+***************
+*** 480,486 ****
+
+ The \pkg{amssymb} package defines math symbol commands for all the extra
+ math symbols in the \fn{msam} and \fn{msbm} fonts, as listed in the
+! table in Section 7. Thus if you want to use the \cn{blacktriangle}
+ $\blacktriangle$ and \cn{nsubseteq} $\nsubseteq$ symbols, the easiest
+ way is to put the statement
+ \begintt
+--- 480,486 ----
+
+ The \pkg{amssymb} package defines math symbol commands for all the extra
+ math symbols in the \fn{msam} and \fn{msbm} fonts, as listed in the
+! table in \MakeLink{section.7}{Section 7}. Thus if you want to use the \cn{blacktriangle}
+ $\blacktriangle$ and \cn{nsubseteq} $\nsubseteq$ symbols, the easiest
+ way is to put the statement
+ \begintt
+***************
+*** 491,497 ****
+ If you want more selective access to the math symbols in those fonts
+ you can use the \pkg{amsfonts} package instead and define math symbol
+ commands individually using \LaTeX{}'s \cn{DeclareMathSymbol}
+! (cf.\ [LFG] or [GMS94]):
+ \begintt
+ \usepackage{amsfonts}
+ \DeclareMathSymbol{\blacktriangle}{\mathord}{AMSa}{"4E}
+--- 491,497 ----
+ If you want more selective access to the math symbols in those fonts
+ you can use the \pkg{amsfonts} package instead and define math symbol
+ commands individually using \LaTeX{}'s \cn{DeclareMathSymbol}
+! (cf.\ \Cite[LFG] or \Cite[GMS94]):
+ \begintt
+ \usepackage{amsfonts}
+ \DeclareMathSymbol{\blacktriangle}{\mathord}{AMSa}{"4E}
+***************
+*** 511,517 ****
+ Since \cn{DeclareMathSymbol} is used in the \pkg{amssymb} package, the
+ definitions for particular symbols can be borrowed from there (file
+ \fn{amssymb.sty}). Alternatively, the values can be obtained from the
+! tables in Section 7.2, as follows:
+
+ \begingroup
+ \raggedright
+--- 511,517 ----
+ Since \cn{DeclareMathSymbol} is used in the \pkg{amssymb} package, the
+ definitions for particular symbols can be borrowed from there (file
+ \fn{amssymb.sty}). Alternatively, the values can be obtained from the
+! tables in \MakeLink{subsection.7.2}{Section 7.2}, as follows:
+
+ \begingroup
+ \raggedright
+***************
+*** 568,574 ****
+ rely on general mechanisms provided by \LaTeX{}.
+
+ If you require these fonts, you can consult the \LaTeX{} documentation
+! [LFG], [L94] and use directly the commands described there, such as
+ \cn{DeclareFontFamily}, \cn{DeclareFontShape}, and \cn{symbol}. A scheme
+ for accessing letters that don't correspond to the 26-letter Latin alphabet
+ will be needed; the file \fn{cyracc.def} can be used as a starting point.
+--- 568,574 ----
+ rely on general mechanisms provided by \LaTeX{}.
+
+ If you require these fonts, you can consult the \LaTeX{} documentation
+! \Cite[LFG], \Cite[L94] and use directly the commands described there, such as
+ \cn{DeclareFontFamily}, \cn{DeclareFontShape}, and \cn{symbol}. A scheme
+ for accessing letters that don't correspond to the 26-letter Latin alphabet
+ will be needed; the file \fn{cyracc.def} can be used as a starting point.
+***************
+*** 586,593 ****
+ nonalphabetic symbols.
+
+ Instructions for using the fonts of the AMSFonts collection with \AmSTeX{}
+! are also given in the {\sl User's Guide to \AmSTeX{} Version~2.2\/} [AMS01]
+! and in Appendix~G of editions of \JoT{} [MDS90] dated 1990 or later.
+
+ Additional fonts to be used with \AmSTeX{} should be specified at the top
+ of the document input file, in what is known as the ``preamble''. The
+--- 586,593 ----
+ nonalphabetic symbols.
+
+ Instructions for using the fonts of the AMSFonts collection with \AmSTeX{}
+! are also given in the {\sl User's Guide to \AmSTeX{} Version~2.2\/} \Cite[AMS01]
+! and in Appendix~G of editions of \JoT{} \Cite[MDS90] dated 1990 or later.
+
+ Additional fonts to be used with \AmSTeX{} should be specified at the top
+ of the document input file, in what is known as the ``preamble''. The
+***************
+*** 612,619 ****
+ commands |\loadmsam|, |\loadmsbm|, and |\loadeufm| will load the
+ medium-weight versions of the two extra symbol fonts and Euler Fraktur
+ respectively. The command |\newsymbol| can then be used to define just
+! those symbols that are needed; its use is described in Section 7,
+! {\bf Using the extra symbols}.%
+ \footnote{*}{Additional fonts from the AMSFonts collection can be accessed
+ easily in \AmSTeX{}.
+ However, users should be aware that \TeX{} limits the number of
+--- 612,619 ----
+ commands |\loadmsam|, |\loadmsbm|, and |\loadeufm| will load the
+ medium-weight versions of the two extra symbol fonts and Euler Fraktur
+ respectively. The command |\newsymbol| can then be used to define just
+! those symbols that are needed; its use is described in \MakeLink{section.7}{Section 7,
+! {\bf Using the extra symbols}}.%
+ \footnote{*}{Additional fonts from the AMSFonts collection can be accessed
+ easily in \AmSTeX{}.
+ However, users should be aware that \TeX{} limits the number of
+***************
+*** 698,705 ****
+ \endgroup
+ \noindent
+ These facilities are described in more detail in the {\sl User's Guide to
+! \AmSTeX{} Version~2.2\/} [AMS01] and editions of \Joy\/ published in 1990
+! or later [MDS90].
+
+
+ \subsection{4.3} Computer Modern math extension font
+--- 698,705 ----
+ \endgroup
+ \noindent
+ These facilities are described in more detail in the {\sl User's Guide to
+! \AmSTeX{} Version~2.2\/} \Cite[AMS01] and editions of \Joy\/ published in 1990
+! or later \Cite[MDS90].
+
+
+ \subsection{4.3} Computer Modern math extension font
+***************
+*** 708,714 ****
+ smaller than ten-point and in sub- and superscripts. They are provided
+ automatically for these environments in the preprint style. If you are
+ not using the preprint style, you can use the font definitions in either
+! \filename{amsppt.sty} or Appendix~E of \TB\/ [DEK86A] as a model.
+
+
+ \subsection{4.4} Extra symbols
+--- 708,714 ----
+ smaller than ten-point and in sub- and superscripts. They are provided
+ automatically for these environments in the preprint style. If you are
+ not using the preprint style, you can use the font definitions in either
+! \filename{amsppt.sty} or Appendix~E of \TB\/ \Cite[DEK86A] as a model.
+
+
+ \subsection{4.4} Extra symbols
+***************
+*** 720,726 ****
+ |\loadmsbm| in the preamble of your document. If you load the fonts
+ separately, a few symbols will be defined when one of the fonts is loaded,
+ but most must be defined using the |\newsymbol| command before they can be
+! used. See Section 7, {\bf Using the extra symbols}, for
+ information on both the symbol names and on using |\newsymbol| to define them.
+
+
+--- 720,726 ----
+ |\loadmsbm| in the preamble of your document. If you load the fonts
+ separately, a few symbols will be defined when one of the fonts is loaded,
+ but most must be defined using the |\newsymbol| command before they can be
+! used. See \MakeLink{section.7}{Section 7, {\bf Using the extra symbols}}, for
+ information on both the symbol names and on using |\newsymbol| to define them.
+
+
+***************
+*** 729,735 ****
+ Cyrillic is not referred to in the \AmSTeX{} files as distributed.
+ The cyrillic fonts included in AMSFonts are intended for use mainly in text,
+ not as symbols in math. Detailed instructions for loading and using cyrillic
+! appear below in Section 6, {\bf Using cyrillic}.
+
+
+ \subsection{4.6} Caps/small caps
+--- 729,735 ----
+ Cyrillic is not referred to in the \AmSTeX{} files as distributed.
+ The cyrillic fonts included in AMSFonts are intended for use mainly in text,
+ not as symbols in math. Detailed instructions for loading and using cyrillic
+! appear below in \MakeLink{section.6}{Section 6, {\bf Using cyrillic}}.
+
+
+ \subsection{4.6} Caps/small caps
+***************
+*** 737,743 ****
+ Caps/small caps are loaded automatically by the \AmSTeX{} preprint style
+ for use in ten-point and eight-point text. If you are not using the preprint
+ style, you can use the font definitions in either \filename{amsppt.sty}
+! or Appendix~E of \TB\/ [DEK86A] as a model.
+
+
+ \subsection{4.7} Dummy font
+--- 737,743 ----
+ Caps/small caps are loaded automatically by the \AmSTeX{} preprint style
+ for use in ten-point and eight-point text. If you are not using the preprint
+ style, you can use the font definitions in either \filename{amsppt.sty}
+! or Appendix~E of \TB\/ \Cite[DEK86A] as a model.
+
+
+ \subsection{4.7} Dummy font
+***************
+*** 853,864 ****
+ \subsection{5.4} Extra symbols
+
+ Detailed instructions for accessing the \fontname{msam} and \fontname{msbm}
+! fonts are given in Section 7, {\bf Using the extra symbols}.
+
+
+ \subsection{5.5} Cyrillic
+
+! See Section 6, {\bf Using cyrillic}, for instructions.
+
+
+ \subsection{5.6} Caps/small caps
+--- 853,864 ----
+ \subsection{5.4} Extra symbols
+
+ Detailed instructions for accessing the \fontname{msam} and \fontname{msbm}
+! fonts are given in \MakeLink{section.7}{Section 7, {\bf Using the extra symbols}}.
+
+
+ \subsection{5.5} Cyrillic
+
+! See \MakeLink{section.6}{Section 6, {\bf Using cyrillic}}, for instructions.
+
+
+ \subsection{5.6} Caps/small caps
+***************
+*** 933,939 ****
+ \endtt
+ If you require cyrillic text in more than one size, you must take a
+ different approach in defining |\cyr|. An appropriate model appears in
+! Appendix~E of \TB\/ [DEK86A], pages 414--15. The definition of |\cyr|
+ should be incorporated into size-specific macros such as |\tenpoint| and
+ |\eightpoint| similarly to what is done there for |\bf|. Don't forget to
+ include the command |\cyracc| in the definition.
+--- 933,939 ----
+ \endtt
+ If you require cyrillic text in more than one size, you must take a
+ different approach in defining |\cyr|. An appropriate model appears in
+! Appendix~E of \TB\/ \Cite[DEK86A], pages 414--15. The definition of |\cyr|
+ should be incorporated into size-specific macros such as |\tenpoint| and
+ |\eightpoint| similarly to what is done there for |\bf|. Don't forget to
+ include the command |\cyracc| in the definition.
+***************
+*** 1046,1052 ****
+ used extensively by the AMS cyrillic input conventions, are not easily
+ specified to \TeX's hyphenation mechanism. Another approach to
+ hyphenation, requiring some changes to the cyrillic \filename{.tfm}
+! files, has been described by Dimitri Vulis in a \TUB\/ article [DLV89].
+
+
+ \subsection{6.3} Cyrillic in math
+--- 1046,1052 ----
+ used extensively by the AMS cyrillic input conventions, are not easily
+ specified to \TeX's hyphenation mechanism. Another approach to
+ hyphenation, requiring some changes to the cyrillic \filename{.tfm}
+! files, has been described by Dimitri Vulis in a \TUB\/ article \Cite[DLV89].
+
+
+ \subsection{6.3} Cyrillic in math
+***************
+*** 1073,1079 ****
+ font family specifications in |\addto\tenpoint|, as shown above.
+
+ If other base text sizes are used besides ten point, the suggestions given
+! above in Section 6.1, {\bf Making cyrillic available}, apply here as well.
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+--- 1073,1079 ----
+ font family specifications in |\addto\tenpoint|, as shown above.
+
+ If other base text sizes are used besides ten point, the suggestions given
+! above in \MakeLink{subsection.6.1}{Section 6.1, {\bf Making cyrillic available}}, apply here as well.
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+***************
+*** 1126,1133 ****
+ accessible to their \TeX{} jobs with the least possible fuss. For \AmSTeX{}
+ users, these fonts are available automatically with the preprint style, and
+ other methods of loading them for use with \AmSTeX{} are described above.
+! To load these fonts with \LaTeX{} or \AmS-\LaTeX{}, see Section 3.4,
+! {\bf Extra math symbols}.
+
+ If you are not using \AmSTeX{} or \LaTeX{}, the easiest method of loading
+ these fonts and defining the control sequences for accessing the symbols is
+--- 1126,1133 ----
+ accessible to their \TeX{} jobs with the least possible fuss. For \AmSTeX{}
+ users, these fonts are available automatically with the preprint style, and
+ other methods of loading them for use with \AmSTeX{} are described above.
+! To load these fonts with \LaTeX{} or \AmS-\LaTeX{}, see \MakeLink{subsection.3.4}{Section 3.4,
+! {\bf Extra math symbols}}.
+
+ If you are not using \AmSTeX{} or \LaTeX{}, the easiest method of loading
+ these fonts and defining the control sequences for accessing the symbols is
+***************
+*** 1413,1419 ****
+ \bibitem [DLV89] Dimitri Vulis, ``Notes on Russian \TeX'',
+ {\sl \TUB\/} {\bf10} (1989), no.~3, 332--36.
+
+! \bibitem [DRS86] David R Siegel, {\sl The Euler Project at Stanford},
+ Computer Science Department, Stanford University, 1985.
+
+ \bibitem [GKP88] Ronald L. Graham, Donald E. Knuth, and Oren Patashnik,
+--- 1413,1419 ----
+ \bibitem [DLV89] Dimitri Vulis, ``Notes on Russian \TeX'',
+ {\sl \TUB\/} {\bf10} (1989), no.~3, 332--36.
+
+! \bibitem [DRS85] David R Siegel, {\sl The Euler Project at Stanford},
+ Computer Science Department, Stanford University, 1985.
+
+ \bibitem [GKP88] Ronald L. Graham, Donald E. Knuth, and Oren Patashnik,
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 2c849d31ae3..f2766ea8a47 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
-% 2012/05/12 v1.4 Driver file for amslatex documentation files
-% Copyright 2006-2012 Heiko Oberdiek.
+% 2013/02/15 v1.5 Driver file for amslatex documentation files
+% Copyright 2006-2013 Heiko Oberdiek.
%
% This file is part of project `latex-tds'.
%
@@ -28,6 +28,8 @@
% * Fix for changes.tex.
% 2012/05/12 v1.4
% * Update for ForestGreen, option `dvipsnames' also added for xcolor.
+% 2013/02/15 v1.5
+% * Support for amsfonts added.
%
\NeedsTeXFormat{LaTeX2e}
\makeatletter
@@ -53,11 +55,16 @@
\endinput
}
-%%% Patch for amsrefs/changes.tex
+%%% Support math symbols for amsfonts/amsfonts.dtx
+\PassOptionsToPackage{pdfencoding=auto,psdextra}{hyperref}
+
+%%% Patch for amsrefs/changes.tex and amsfonts/amsfonts.dtx
\AtBeginDocument{%
\@ifundefined{pdfstringdefDisableCommands}{}{%
\pdfstringdefDisableCommands{%
\def\cs#1{\textbackslash#1}%
+ \let\fnt\@firstofone
+ \def\meta#1{\textlangle#1\textrangle}%
}%
}%
}
@@ -242,7 +249,7 @@
\AtEndDocument{\PrintIndex}%
}{%
\PackageError{ams.drv}{%
- Cannot find document source
+ Cannot find document source%
}{\csname @ehc\endcsname}%
}%
}