From 35dfe7a6a088eb623a6f1a840fa573c4086a5c14 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 15 Feb 2009 00:55:44 +0000 Subject: (belated?) amsmidx update, 14feb09 git-svn-id: svn://tug.org/texlive/trunk@12163 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/amscls/amsmidx.txt | 45 +++++++++++++++++++++++ Master/texmf-dist/source/latex/amscls/amsmidx.dtx | 24 ++++++------ Master/texmf-dist/source/latex/amscls/amsmidx.ins | 16 ++++++++ Master/texmf-dist/tex/latex/amscls/amsmidx.sty | 10 ++--- 4 files changed, 78 insertions(+), 17 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/amscls/amsmidx.txt create mode 100644 Master/texmf-dist/source/latex/amscls/amsmidx.ins (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/amscls/amsmidx.txt b/Master/texmf-dist/doc/latex/amscls/amsmidx.txt new file mode 100644 index 00000000000..307c24ec39f --- /dev/null +++ b/Master/texmf-dist/doc/latex/amscls/amsmidx.txt @@ -0,0 +1,45 @@ +Instructions for using amsmidx.sty + +Put these commands in the preamble: + + \usepackage{amsmidx} + \makeindex{} + +for example: + + \makeindex{subject} + \makeindex{author} + +You may include as many indexes as you need using whatever file names +make sense. Each \makeindex command will initiate the creation of a +.idx file. + +To identify the index entries in the text: + + \index{}{index term} + +This will populate the .idx files. Do not leave a space between the +\index entry and the text being indexed; that leaves unsightly spaces +in the output, and may also cause the page number for the index entry +to be different from the page where the term actually appears. + +In the backmatter, insert \Printindex commands to print the indexes; +the second argument gives the title to be printed at the top of the +index: + + \Printindex{}{First Index} + \Printindex{}{Second Index} + +When the file is processed, files of index terms, .idx, +will be generated. To sort the index terms, process the .idx files +separately with Makeindex; this will create .ind files, +which will in turn be input by \Printindex the next time the .tex file +is processed. + +To include a paragraph of comments below the index title, insert the +text as an \indexcomment before the relevant \Printindex: + + \indexcomment{Text of comments} + \Printindex{}{...} + +The \indexcomment text will be cleared after use. diff --git a/Master/texmf-dist/source/latex/amscls/amsmidx.dtx b/Master/texmf-dist/source/latex/amscls/amsmidx.dtx index 3692d6cc76c..b124f70e9f6 100644 --- a/Master/texmf-dist/source/latex/amscls/amsmidx.dtx +++ b/Master/texmf-dist/source/latex/amscls/amsmidx.dtx @@ -1,10 +1,10 @@ %%% ==================================================================== %%% @LaTeX-file{ %%% filename = "amsmidx.dtx", -%%% version = "2.01", -%%% date = "2004/08/03", -%%% time = "14:45:42 EDT", -%%% checksum = "63234 241 948 8307", +%%% version = "2.02", +%%% date = "2007/09/25", +%%% time = "10:22:40 EDT", +%%% checksum = "48989 241 948 8314", %%% author = "American Mathematical Society", %%% copyright = "Copyright 1995, 2004 American Mathematical Society, %%% all rights reserved. Copying of this file is @@ -73,7 +73,7 @@ % Standard file identification. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{amsmidx}[2004/08/03 v2.01 multiple indexes for AMS classes] +\ProvidesPackage{amsmidx}[2007/09/25 v2.02 multiple indexes for AMS classes] % \end{macrocode} % % \section{User instructions} @@ -119,7 +119,7 @@ % % \section{Implementation} % -% \begin{macro}{makeindex} +% \begin{macro}{\makeindex} % Redefine \cn{makeindex} to create a new \fn{.idx} file with the % name provided by argument |#1|. % \begin{macrocode} @@ -133,7 +133,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{index} +% \begin{macro}{\index} % Redefine \cn{index} to specify into which file/index the term is % to be placed. Argument |#1| identifies the file, |#2| provides % the text of the term to be indexed. @@ -145,7 +145,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{@wrindex} +% \begin{macro}{\@wrindex} % \cs{@wrindex} checks to make sure that the requested file is available, % and writes an entry into the file or emits an error message. % \begin{macrocode} @@ -169,8 +169,8 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{printindex} -% \begin{macro}{Printindex} +% \begin{macro}{\printindex} +% \begin{macro}{\Printindex} % Redefine \cs{printindex} to specify the file to be included; provide % an alternate command \cs{Printindex} that specifies both the file and % the index title to be printed. Argument |#1| identifies the file, @@ -194,8 +194,8 @@ % \end{macro} % \end{macro} % -% \begin{macro}{indexcomment} -% \begin{macro}{indexchap} +% \begin{macro}{\indexcomment} +% \begin{macro}{\indexchap} % Format comments in a block somewhat narrower than the full page % width, and redefine \cn{indexchap} to insert the block below the % title, before starting the two-column index. Clear out diff --git a/Master/texmf-dist/source/latex/amscls/amsmidx.ins b/Master/texmf-dist/source/latex/amscls/amsmidx.ins new file mode 100644 index 00000000000..dc24b951829 --- /dev/null +++ b/Master/texmf-dist/source/latex/amscls/amsmidx.ins @@ -0,0 +1,16 @@ +\input docstrip.tex + +\askforoverwritefalse + +\keepsilent + +\preamble +\endpreamble + +\usedir{tex/latex/amscls} + +\generate{ + \file{amsmidx.sty}{\from{amsmidx.dtx}{}} +} + +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/amscls/amsmidx.sty b/Master/texmf-dist/tex/latex/amscls/amsmidx.sty index f8bae104430..37752d64d9d 100644 --- a/Master/texmf-dist/tex/latex/amscls/amsmidx.sty +++ b/Master/texmf-dist/tex/latex/amscls/amsmidx.sty @@ -9,10 +9,10 @@ %%% ==================================================================== %%% @LaTeX-file{ %%% filename = "amsmidx.dtx", -%%% version = "2.01", -%%% date = "2004/08/03", -%%% time = "14:45:42 EDT", -%%% checksum = "63234 241 948 8307", +%%% version = "2.02", +%%% date = "2007/09/25", +%%% time = "10:22:40 EDT", +%%% checksum = "48989 241 948 8314", %%% author = "American Mathematical Society", %%% copyright = "Copyright 1995, 2004 American Mathematical Society, %%% all rights reserved. Copying of this file is @@ -50,7 +50,7 @@ %%% } %%% ==================================================================== \NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{amsmidx}[2004/08/03 v2.01 multiple indexes for AMS classes] +\ProvidesPackage{amsmidx}[2007/09/25 v2.02 multiple indexes for AMS classes] \renewcommand{\makeindex}[1]{% \begingroup \makeatletter -- cgit v1.2.3