diff options
author | Karl Berry <karl@freefriends.org> | 2024-06-14 21:45:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-06-14 21:45:51 +0000 |
commit | 1883338988f20df89d7468088870e657adddae23 (patch) | |
tree | 42b25fa77f00ee0256e3107dfa389f93f4c83be8 /Master/texmf-dist/source | |
parent | 9207beab1684878ded3e44266adbb83f1c5d55a0 (diff) |
rm ms, split into separate packages
git-svn-id: svn://tug.org/texlive/trunk@71527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/ms/count1to.drv | 92 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ms/count1to.dtx | 500 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ms/count1to.ins | 112 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ms/multitoc.drv | 78 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ms/multitoc.dtx | 537 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ms/multitoc.ins | 116 |
6 files changed, 0 insertions, 1435 deletions
diff --git a/Master/texmf-dist/source/latex/ms/count1to.drv b/Master/texmf-dist/source/latex/ms/count1to.drv deleted file mode 100644 index 687e69d5973..00000000000 --- a/Master/texmf-dist/source/latex/ms/count1to.drv +++ /dev/null @@ -1,92 +0,0 @@ -%% -%% This is file `count1to.drv', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% count1to.dtx (with options: `driver') -%% -%% This file is part of the Count1to package -%% ----------------------------------------- -%% -%% Copyright (c) 1994..2009 by Martin Schroeder. All rights reserved. -%% -%% To produce the documentation in the way you like you are allowed -%% to change this driver file. -%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{count1to.drv} - [2009/05/24 v2.1 Driver for Count1to9 Package (MS)] -\documentclass[a4paper]{ltxdoc} -\usepackage[T1]{fontenc} -\usepackage{lmodern} -\usepackage{microtype} -\usepackage{booktabs} -\usepackage{url} -\usepackage{count1to} -\usepackage[toc]{multitoc} -\usepackage{svn} -\usepackage{hypdoc} -\usepackage{geometry} -\GetFileInfo{count1to.sty} -\setcounter{IndexColumns}{2} -\makeatletter - \renewenvironment{theglossary}{% - \glossary@prologue - \setlength\emergencystretch{5em} - \GlossaryParms \let\item\@idxitem \ignorespaces}{} -\makeatother -\EnableCrossrefs -\RecordChanges -%%\DisableCrossrefs% Say \DisableCrossrefs if index is ready -\CodelineIndex % Index code by line number -%%\OldMakeIndex % use if your MakeIndex is pre-v2.9 -\setcounter{IndexColumns}{2} -\setlength{\IndexMin}{30ex} -\setlength{\premulticols}{\IndexMin} -\addtolength{\oddsidemargin}{1cm} -\addtolength{\textwidth}{-1cm} -\begin{document} - \DocInput{count1to.dtx} -\end{document} -%% \CharacterTable -%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z -%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z -%% Digits \0\1\2\3\4\5\6\7\8\9 -%% Exclamation \! Double quote \" Hash (number) \# -%% Dollar \$ Percent \% Ampersand \& -%% Acute accent \' Left paren \( Right paren \) -%% Asterisk \* Plus \+ Comma \, -%% Minus \- Point \. Solidus \/ -%% Colon \: Semicolon \; Less than \< -%% Equals \= Greater than \> Question mark \? -%% Commercial at \@ Left bracket \[ Backslash \\ -%% Right bracket \] Circumflex \^ Underscore \_ -%% Grave accent \` Left brace \{ Vertical bar \| -%% Right brace \} Tilde \~} -%% -%% \iffalse meta-comment -%% =================================================================== -%% @LaTeX-style-file{ -%% author = {Martin Schr\"oder}, -%% version = "2.1", -%% date = "24 May 2009", -%% filename = "count1to.sty", -%% address = {Martin Schr\"oder -%% Barmer Stra\"se 14 -%% 44137 Dortmund -%% Germany} -%% telephone = "+49-231-1206574", -%% email = "martin@oneiros.de", -%% docstring = "LaTeX package which sets count1 to count9, -%% which can be used to select certain pages -%% with a driver. -%% Also provides access to the number of pages -%% of the document. -%% Uses the everyshi package." -%% } -%% =================================================================== -%% \fi -\endinput -%% -%% End of file `count1to.drv'. diff --git a/Master/texmf-dist/source/latex/ms/count1to.dtx b/Master/texmf-dist/source/latex/ms/count1to.dtx deleted file mode 100644 index 35918bce608..00000000000 --- a/Master/texmf-dist/source/latex/ms/count1to.dtx +++ /dev/null @@ -1,500 +0,0 @@ -% \iffalse -\NeedsTeXFormat{LaTeX2e} -%<package>\ProvidesPackage{count1to} -%<package> [2009/05/24 v2.1 Count1to9 Package (MS)] -% -%<*driver> -\ProvidesFile{count1to.drv} - [2009/05/24 v2.1 Driver for Count1to9 Package (MS)] -\documentclass[a4paper]{ltxdoc} -\usepackage[T1]{fontenc} -\usepackage{lmodern} -\usepackage{microtype} -\usepackage{booktabs} -\usepackage{url} -\usepackage{count1to} -\usepackage[toc]{multitoc} -\usepackage{svn} -\usepackage{hypdoc} -\usepackage{geometry} -\GetFileInfo{count1to.sty} -\setcounter{IndexColumns}{2} -% onecolumn glossary -\makeatletter - \renewenvironment{theglossary}{% - \glossary@prologue - \setlength\emergencystretch{5em} - \GlossaryParms \let\item\@idxitem \ignorespaces}{} -\makeatother -\EnableCrossrefs -\RecordChanges -%%\DisableCrossrefs% Say \DisableCrossrefs if index is ready -\CodelineIndex % Index code by line number -%\OnlyDescription % comment out for implementation details -%%\OldMakeIndex % use if your MakeIndex is pre-v2.9 -\setcounter{IndexColumns}{2} -\setlength{\IndexMin}{30ex} -\setlength{\premulticols}{\IndexMin} -\addtolength{\oddsidemargin}{1cm} -\addtolength{\textwidth}{-1cm} -\begin{document} - \DocInput{count1to.dtx} -\end{document} -%</driver> -%^^A $Id: count1to.dtx 1368 2009-05-24 16:02:57Z oneiros $ -% -% Copyright (c) 1994..2009 by Martin Schr\"oder. All rights reserved. -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 -% of this license or (at your option) any later version. -% The latest version of this license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. -% -% This work has the LPPL maintenance status `maintained'. -% -% The Current Maintainer of this work is Martin Schr\"oder. -% -% This work consists of the files count1to.dtx and count1to.ins -% and the derived file count1to.sty. -% -% \fi -% -% \CheckSum{112} -% -%% \CharacterTable -%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z -%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z -%% Digits \0\1\2\3\4\5\6\7\8\9 -%% Exclamation \! Double quote \" Hash (number) \# -%% Dollar \$ Percent \% Ampersand \& -%% Acute accent \' Left paren \( Right paren \) -%% Asterisk \* Plus \+ Comma \, -%% Minus \- Point \. Solidus \/ -%% Colon \: Semicolon \; Less than \< -%% Equals \= Greater than \> Question mark \? -%% Commercial at \@ Left bracket \[ Backslash \\ -%% Right bracket \] Circumflex \^ Underscore \_ -%% Grave accent \` Left brace \{ Vertical bar \| -%% Right brace \} Tilde \~} -%% -%% \iffalse meta-comment -%% =================================================================== -%% @LaTeX-style-file{ -%% author = {Martin Schr\"oder}, -%% version = "2.1", -%% date = "24 May 2009", -%% filename = "count1to.sty", -%% address = {Martin Schr\"oder -%% Barmer Stra\"se 14 -%% 44137 Dortmund -%% Germany} -%% telephone = "+49-231-1206574", -%% email = "martin@oneiros.de", -% codetable = "ISO/ASCII", -% keywords = "LaTeX, pages", -% supported = "yes", -%% docstring = "LaTeX package which sets count1 to count9, -%% which can be used to select certain pages -%% with a driver. -%% Also provides access to the number of pages -%% of the document. -%% Uses the everyshi package." -%% } -%% =================================================================== -%% \fi -% -% \SVN $Rev: 1368 $ -% \SVN $Date: 2009-05-24 18:02:57 +0200 (So, 24. Mai 2009) $ -% -% \changes{v1.00}{1994/12/07}{New} -% \changes{v1.01}{1994/12/09}{Documentation improved} -% \changes{v1.02}{1996/12/29}{Documentation improved} -% \changes{v1.20}{1998/08/09}{Documentation improved} -% \changes{v1.22}{1999/06/08}{Moved to LPPL} -% \changes{v2.00}{2002/08/31}{Removed \texttt{TotalPages}} -% \changes{v2.1}{2009/05/24}{New address} -% -% \newcommand*{\Count}[1]{\texttt{\symbol{92}count#1}} -% \newcommand*{\package}[1]{\textnormal{\sffamily#1}} -% \newcommand*{\NEWfeature}[1]{% -% \hskip 1sp \marginpar{\small\sffamily\raggedright -% New feature\\#1}} -% -% ^^A ----------------------------- -% -% \changes{v1.03}{1997-03-09}{Fixed use of \cs{newline} in title.} -% \title{\unskip -% The \package{count1to} package^^A -% \thanks{^^A -% The version number of this file is \fileversion, subversion -% revision~\#\SVNRev, last revised -% \protect\SVNDate.\protect\newline -% The name \textsf{count1to} is a tribute to the $8+3$ file-naming -% convention of certain ancient ``operating systems''; strictly -% speaking it should be \textsf{count1to9}.} -% } -% \changes{v2.00}{2002/08/31}{Changed e-mail} -% \author{Martin Schr\"oder\\[0.5ex] -% \normalsize Barmer Stra\ss{}e 14\\ -% \normalsize 44137 Dortmund\\ -% \normalsize Germany\\ -% \normalsize martin@oneiros.de} -% \date{\filedate} -% \maketitle -% -% ^^A ----------------------------- -% -% -% \begin{abstract} -% This package sets \Count{1} to \Count{8} with the values -% of \texttt{page} to \texttt{subparagraph}. -% \Count{9} is used to flag odd pages. -% The values of these counters are displayed and written in the -% \textsf{.dvi} file by \TeX{} and can later be used to select -% the pages of certain parts of the document for printing if the -% device driver supports this. -% \end{abstract} -% -% \pagestyle{headings} -% -% ^^A ----------------------------- -% -% \tableofcontents -% -% ^^A ----------------------------- -% -% \section{Introduction to version 2} -% ^^A -% The main change of this new version is the removal of the code for -% the \texttt{TotalPages} label. -% This code didn't work with the \package{hyperref} -% package\cite{package:hyperref} and better code to achieve the -% effect of it is contained in the \package{totpages} -% package\cite{package:totpages}. -% So old documents using this package will not work when they try to -% use the \texttt{TotalPages} label; these documents must be changed -% by inserting a \cs{usepackage\{totpages\}} in the preamble and -% replacing all occurences of \texttt{TotalPages} by -% \texttt{TotPages}. -% -% ^^A ----------------------------- -% -% \section{Introduction} -% ^^A -% Most of the time users want to print only certain parts of a -% document; but these can only be selected by using the page numbers -% of these parts with most device drivers. -% This can be dif\/ficult or impossible if pages in dif\/ferent -% parts of the document have the same number---e.\,g. in the -% frontmatter and the first text pages (iii vs. 3). -% -% \TeX{} provides an easy solution to this problem: whenever a page -% is completed by the output routine and shipped out via -% \cs{shipout}, it displayes the values of \Count{0} to \Count{9} -% on the display (e.\,g. \texttt{[1]}) \emph{and writes them to the -% \textsf{.dvi} file}. -% -% \changes{v1.02}{1996/12/29}{fixed typos} -% \begin{quote} -% ``The first ten \Count{} registers, \Count{0} to \Count{9}, -% are reserved for a special purpose: \TeX{} displays these ten -% counts on your terminal whenever ouputting a page, and it -% transmits them to the output file as an identification of that -% page. -% The counts are separated by decimal points on your terminal, -% with trailing `\texttt{.0}' patterns suppressed. -% Thus, for example, if \Count{0=5} and \Count{2=7} when a -% page is shipped out to the \texttt{dvi} file, and if the other -% counters are zero, \TeX{} will type `\texttt{[5.0.7]}'. -% Plain \TeX{} uses \Count{0} for the page number, and it keeps -% \Count{1} through~\Count{9} equal to zero; that is why you -% see `\texttt{[1]}' when page~1 is being output. -% In more complex applications the page numbers can have further -% structure; ten counts are shipped out so that there will be -% plenty of identification.''\cite[p\@. 119]{KnuthTeXa} -% \end{quote} -% -% \noindent -% Surprinsingly, until recently there existed no package for -% \LaTeX{} that used these \Count{}ers although some drivers allow -% the selection of pages based on other \Count{}s then \Count{0} -% (e.\,g. em\TeX). -% -% This package is the solution: It uses the \package{everyshi} -% package\cite{package:everyshi} to set \Count{1} to \Count{9} before -% each \cs{shipout} with these values: -% -% \begin{center} -% \begin{tabular}{cl}\toprule -% \Count{} & value \\ \midrule -% 0 & relative page number (set by \LaTeX)\\ -% 1 & absolute page number\\ -% 2 & number of current \cs{part} \\ -% 3 & number of current \cs{chapter} (0 with article class)\\ -% 4 & number of current \cs{section} \\ -% 5 & number of current \cs{subsection} \\ -% 6 & number of current \cs{subsubsection} \\ -% 7 & number of current \cs{paragraph} \\ -% 8 & number of current \cs{subparagraph} \\ -% 9 & 1 on odd pages, 0 on even pages\footnotemark\\ -% \bottomrule -% \end{tabular} -% \end{center} -% \footnotetext{^^A -% If you have a better application for \Count{9}, let me know.} -% -% \noindent -% \textsf{count1to} also works with classes that do not define some -% or all of the sectioning commands and their counters, like -% \textsf{letter}. -% Although it is of somewhat little use then \texttt{:-)}. -% -% A note for users of this package: When you select the pages of -% some part of your document with a lower structure than -% \cs{chapter}, remember that only \cs{part}s and \cs{chapter}s -% start on a new page; if you want to print a complete -% \cs{section}, you should also select the first page of the next -% \cs{section}. -% Also note that \TeX{} ships out the values of the counters instead -% of their visual representation (produced with -% \cs{the}\emph{counter}), so appendix A sets \Count{4} to 1 in the -% article class. -% -% A note for developers of device drivers: Please add support for -% \Count{1} to~\texttt{9} to your programs. -% It would also be nice if users could easily select the next -% page(s) after a certain count (something like -% ``\texttt{*.*.*.*.2+1.*}'' should be possible for selecting all -% pages with $\Count{4}\mapsto\mathrm{section}=2$ plus the first -% page of section~3). -% -% ^^A ----------------------------- -% -% \section{Options} -% ^^A -% The package has no options. -% -% -% ^^A ----------------------------- -% -% \section{Required packages} -% ^^A -% The package requires the \package{everyshi} -% package\cite{package:everyshi}. -% -% -% ^^A ----------------------------- -% -% \StopEventually{^^A -% -% ^^A ----------------------------- -% -% \section{Acknowledgements} -% ^^A -% As usual Rebecca Stiels improved the quality of this documentation. -% -% -% ^^A ----------------------------- -% -% \begin{thebibliography}{1} -% \raggedright -% \bibitem{package:lastpage} -% Jeff Goldberg. -% \newblock The \package{lastpage}-package. -% \newblock \url{CTAN: tex-archive/macros/latex/contrib/other/lastpage}. -% \newblock \LaTeXe{} package. -% \bibitem{KnuthTeXa} -% Donald~E.\ Knuth. -% \newblock \emph{The {\TeX}Book}, volume~A of \emph{Computers -% and Typesetting}. -% \newblock Addison-Wes\-ley, 1986. -% \newblock Eleventh printing, revised, May 1991. -% \bibitem{package:totpages} -% Wilhelm M\"uller. -% \newblock The \package{totpages} package. -% \newblock \url{CTAN: tex-archive/macros/latex/contrib/supported/totpages/}. -% \newblock \LaTeXe{} package. -% \bibitem{package:hyperref} -% Sebastian Rahtz. -% \newblock Hypertext marks in \LaTeX. -% \newblock \url{CTAN: tex-archive/macros/latex/contrib/supported/hyperref/}. -% \bibitem{package:everyshi} -% Martin Schr\"oder. -% \newblock The \package{everyshi} package. -% \newblock \url{CTAN: tex-archive/macros/latex/contrib/supported/ms/everyshi.dtx}. -% \newblock \LaTeXe{} package. -% \end{thebibliography} -% -% } -% -% -% ^^A ----------------------------- -% -% \section{The implementation} -% ^^A -% \setlength{\parindent}{0pt} -% \begin{macrocode} -%<*package> -% \end{macrocode} -% -% We need the \package{everyshi} package. -% \changes{v1.20}{1998/04/10}{don't require \textsf{ifthen}} -% \changes{v1.10}{1997/11/01}{require \textsf{ifthen}} -% \begin{macrocode} -\RequirePackage{everyshi}[1994/12/09] -% \end{macrocode} -% -% We need various \cs{if}s to check if the used counters -% are defined. -% \changes{v1.20}{1998/04/10}{\cs{newif} again} -% \changes{v1.10}{1997/11/01}{\cs{newboolean}} -% \begin{macrocode} -\newif\if@have@part -\newif\if@have@chapter -\newif\if@have@section -\newif\if@have@subsection -\newif\if@have@subsubsection -\newif\if@have@paragraph -\newif\if@have@subparagraph -% \end{macrocode} -% -% \begin{macro}{\@countItoIX@ifs} -% \cs{@countItoIX@ifs} is used to set all these \cs{if}s at -% |\begin{document}|. -% It is undefined after use to save some space. -% \changes{v2.00}{2002/08/31}{moved code for \cs{AtBeginDocument} to -% \cs{@countItoIX@init}} -% \changes{v1.20}{1998/04/10}{don't use \textsf{ifthen}} -% \changes{v1.10}{1997/11/01}{\cs{setboolean}} -% \changes{v1.02}{1996/12/29}{destruct after usage} -% \begin{macrocode} -\newcommand*{\@countItoIX@ifs}{ - \@ifundefined{c@part} {}{\@have@parttrue} - \@ifundefined{c@chapter} {}{\@have@chaptertrue} - \@ifundefined{c@section} {}{\@have@sectiontrue} - \@ifundefined{c@subsection} {}{\@have@subsectiontrue} - \@ifundefined{c@subsubsection} {}{\@have@subsubsectiontrue} - \@ifundefined{c@paragraph} {}{\@have@paragraphtrue} - \@ifundefined{c@subparagraph} {}{\@have@subparagraphtrue} - } -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@countItoIX@bugfix} -% The current version of \LaTeX{} has the ``feature'' that only the -% first level of counters associated with a counter via the optional -% argument of \cs{newcounter} is reset when the counter is stepped; -% so when you start a new chapter, the number for the subsection is -% not reset. -% This is normally no problem, but with this package, it is: If this -% bug is not fixed or worked-around, then whenever you use -% \cs{subparagraph} or some other lower sectioning command, and -% after that a sectioning command that is at least two levels higher -% (e.\,g. \cs{subsubsection}), the value of \texttt{subparagraph} -% would not be reset and would still be displayed and shipped out. -% So we have to associate \emph{all} lower-level sectioning commands -% with the higher levels. -% This is done via \cs{@addtoreset} at \cs{begin\{document\}}. -% \cs{@countItoIX@bugfix} is undefined after use to save some space. -% \changes{v2.00}{2002/08/31}{moved code for \cs{AtBeginDocument} to -% \cs{@countItoIX@init}} -% \changes{v1.20}{1998/04/10}{don't use \textsf{ifthen}} -% \changes{v1.10}{1997/11/01}{\cs{ifthenelse}} -% \changes{v1.02}{1996/12/29}{destruct after usage} -% \begin{macrocode} -\newcommand*{\@countItoIX@bugfix}{ - \if@have@part - \@addtoreset{section} {part} - \@addtoreset{subsection} {part} - \@addtoreset{subsubsection}{part} - \@addtoreset{paragraph} {part} - \@addtoreset{subparagraph} {part} - \fi - \if@have@chapter - \@addtoreset{subsection} {chapter} - \@addtoreset{subsubsection}{chapter} - \@addtoreset{paragraph} {chapter} - \@addtoreset{subparagraph} {chapter} - \fi - \if@have@section - \@addtoreset{subsubsection}{section} - \@addtoreset{paragraph} {section} - \@addtoreset{subparagraph} {section} - \fi - \if@have@subsection - \@addtoreset{paragraph} {subsection} - \@addtoreset{subparagraph} {subsection} - \fi - \if@have@subsubsection - \@addtoreset{subparagraph} {subsubsection} - \fi - } -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\@countItoIX@init} -% \changes{v2.00}{2002/08/31}{new} -% \cs{@countItoIX@init} calls \cs{\@countItoIX@ifs} and -% \cs{@countItoIX@bugfix} and then frees their memory. -% This is done at \cs{begin\{document\}} via \cs{AtBeginDocument}. -% \begin{macrocode} -\newcommand*{\@countItoIX@init}{% - \message{ABD: Count1to9 initializing macros}% - \@countItoIX@ifs\let\@countItoIX@ifs\undefined - \@countItoIX@bugfix\let\@countItoIX@bugfix\undefined - } -\AtBeginDocument{\@countItoIX@init} -% \end{macrocode} -% \end{macro} -% -% -% \begin{macro}{\@countItoIX@shipout} -% \cs{@countItoIX@shipout} is used for setting \Count{1} to -% \Count{9} at each \cs{shipout}. -% \begin{macrocode} -\newcommand*{\@countItoIX@shipout}{ -% \end{macrocode} -% \Count{1} is the absolute page number, which we have to maintain -% by ourselves. -% \begin{macrocode} - \global\advance \count1 by 1 -% \end{macrocode} -% \Count{2} to \Count{8} are set with the values of -% \cs{part} to \cs{subparagraph}, if these commands are defined.^^A -% \footnote{We should probably also check the value of -% \texttt{secnumdepth}, but I don't think this is necessary.} -% \changes{v1.20}{1998/04/10}{don't use \textsf{ifthen}} -% \changes{v1.10}{1997/11/01}{\cs{ifthenelse}} -% \begin{macrocode} - \if@have@part \count2\value{part} \fi - \if@have@chapter \count3\value{chapter} \fi - \if@have@section \count4\value{section} \fi - \if@have@subsection \count5\value{subsection} \fi - \if@have@subsubsection \count6\value{subsubsection} \fi - \if@have@paragraph \count7\value{paragraph} \fi - \if@have@subparagraph \count8\value{subparagraph} \fi -% \end{macrocode} -% \Count{9} is set to~1 on odd pages and to~0 on even pages. -% \begin{macrocode} - \ifodd\count1\count9=1 \else\count9=0 \fi - } -\EveryShipout{\@countItoIX@shipout} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -%</package> -% \end{macrocode} -% -% ^^A ----------------------------- -% -% \Finale -% -% \PrintIndex\PrintChanges -% ^^A Make sure that the index is not printed twice -% ^^A (ltxdoc.cfg might have a second \PrintIndex command) -% \let\PrintChanges\relax -% \let\PrintIndex\relax diff --git a/Master/texmf-dist/source/latex/ms/count1to.ins b/Master/texmf-dist/source/latex/ms/count1to.ins deleted file mode 100644 index 1bd534ef1d6..00000000000 --- a/Master/texmf-dist/source/latex/ms/count1to.ins +++ /dev/null @@ -1,112 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{count1to.ins} - [2009/05/24 v2.1 Installation script for Count1to9 Package (MS)] -%% -%% Copyright (c) 1994..2009 by Martin Schr\"oder. All rights reserved. -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX -%% version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status `maintained'. -%% -%% The Current Maintainer of this work is Martin Schr\"oder. -%% -%% This work consists of the files count1to.dtx and count1to.ins -%% and the derived file count1to.sty. -%% -%% This file will be used by the docstrip.tex program to generate -%% fast loadable files from the doc files. -%% -%% $Id: count1to.ins 1368 2009-05-24 16:02:57Z oneiros $ -%% -%% --------------- start of docstrip commands ------------------ -\input docstrip.tex -{\ifx\endbatchfile\undefined -\Msg{**********************************************} -\Msg{*} -\Msg{* This installation requires docstrip} -\Msg{* version 2.4d or later.} -\Msg{*} -\Msg{* An older version of docstrip has been input} -\Msg{*} -\Msg{**********************************************} -\errhelp{Move or rename old docstrip.tex.} -\errmessage{Old docstrip in input path} -\batchmode -\csname @@end\endcsname -\fi} - -\Msg{***********************************************************} -\Msg{*} -\Msg{* The count1to distribution contains these files:} -\Msg{*} -\Msg{* \space\space count1to.dtx} -\Msg{* \space\space count1to.ins} -\Msg{* \space\space count1to.bug} -\Msg{*} -\Msg{* If you receive only some of these files from someone, complain!} -\Msg{*} -\Msg{***********************************************************} - -\preamble - -Copyright (c) 1994..2009 by Martin Schroeder. All rights reserved. - -This file is part of the Count1to package - -This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either version 1.3 -of this license or (at your option) any later version. -The latest version of this license is in - http://www.latex-project.org/lppl.txt -and version 1.3 or later is part of all distributions of LaTeX -version 2005/12/01 or later. - -This work has the LPPL maintenance status `maintained'. - -The Current Maintainer of this work is Martin Schroeder. - -This work consists of the files count1to.dtx and count1to.ins -and the derived file count1to.sty. - -\endpreamble -\declarepreamble\driverpreamble - -This file is part of the Count1to package ------------------------------------------ - -Copyright (c) 1994..2009 by Martin Schroeder. All rights reserved. - -To produce the documentation in the way you like you are allowed -to change this driver file. - -\endpreamble - -\keepsilent -\askforoverwritefalse -\generate{% - \file{count1to.sty}{\from{count1to.dtx}{package}} - \usepreamble\driverpreamble - \file{count1to.drv}{\from{count1to.dtx}{driver}} - } - -\Msg{***********************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* style files into a directory searched by TeX:} -\Msg{*} -\Msg{* \space\space count1to.sty} -\Msg{*} -\Msg{* To produce the documentation run the file count1to.drv} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing} -\Msg{***********************************************************} -\endbatchfile -%% -%% End of file `count1to.ins'. diff --git a/Master/texmf-dist/source/latex/ms/multitoc.drv b/Master/texmf-dist/source/latex/ms/multitoc.drv deleted file mode 100644 index db3d2802146..00000000000 --- a/Master/texmf-dist/source/latex/ms/multitoc.drv +++ /dev/null @@ -1,78 +0,0 @@ -%% -%% This is file `multitoc.drv', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% multitoc.dtx (with options: `driver') -%% -%% This file is part of the MultiToc package -%% ----------------------------------------- -%% -%% Copyright (c) [1998..1999] by Martin Schr"oder. All rights reserved. -%% -%% To produce the documentation in the way you like you are allowed -%% to change this driver file. -%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{multitoc.drv} - [1999/06/08 v2.01 Driver for MultiToc Package (MS)] -\documentclass{ltxdoc} -\usepackage{url} -\usepackage{ragged2e} -\usepackage[toc]{multitoc} -\GetFileInfo{multitoc.sty} -\setcounter{IndexColumns}{2} -\EnableCrossrefs -%%\DisableCrossrefs% Say \DisableCrossrefs if index is ready -\CodelineIndex % Index code by line number -\OnlyDescription % comment out for implementation details -%%\OldMakeIndex % use if your MakeIndex is pre-v2.9 -\setcounter{IndexColumns}{2} -\setlength{\IndexMin}{30ex} -\setlength{\premulticols}{\IndexMin} -\RaggedRight -\begin{document} - \DocInput{multitoc.dtx} -\end{document} -%% \CharacterTable -%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z -%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z -%% Digits \0\1\2\3\4\5\6\7\8\9 -%% Exclamation \! Double quote \" Hash (number) \# -%% Dollar \$ Percent \% Ampersand \& -%% Acute accent \' Left paren \( Right paren \) -%% Asterisk \* Plus \+ Comma \, -%% Minus \- Point \. Solidus \/ -%% Colon \: Semicolon \; Less than \< -%% Equals \= Greater than \> Question mark \? -%% Commercial at \@ Left bracket \[ Backslash \\ -%% Right bracket \] Circumflex \^ Underscore \_ -%% Grave accent \` Left brace \{ Vertical bar \| -%% Right brace \} Tilde \~} -%% -%% \iffalse meta-comment -%% =================================================================== -%% @LaTeX-style-file{ -%% author = {Martin Schr\"oder}, -%% version = "2.01", -%% date = "8 June 1999", -%% filename = "multitoc.sty", -%% address = {Martin Schr\"oder -%% Cr\"usemannallee 3 -%% D-28213 Bremen -%% telephone = "+49-421-2239425", -%% email = "Martin.Schroeder@ACM.org", -%% pgp-Key = "2048 bit / KeyID 292814E5", -%% pgp-fingerprint = "7E86 6EC8 97FA 2995 82C3 FEA5 2719 090E", -%% docstring = "LaTeX package which automatically sets only -%% the table of contents, list of figures and list -%% of tables in two or more columns. -%% The number of columns can be configured. -%% Uses the multicol package. -%% } -%% =================================================================== -%% \fi -\endinput -%% -%% End of file `multitoc.drv'. diff --git a/Master/texmf-dist/source/latex/ms/multitoc.dtx b/Master/texmf-dist/source/latex/ms/multitoc.dtx deleted file mode 100644 index a88e69fbe65..00000000000 --- a/Master/texmf-dist/source/latex/ms/multitoc.dtx +++ /dev/null @@ -1,537 +0,0 @@ -% \iffalse -\NeedsTeXFormat{LaTeX2e} -%<package>\ProvidesPackage{multitoc} -%<package> [1999/06/08 v2.01 MultiToc Package (MS)] -% -%<*driver> -\ProvidesFile{multitoc.drv} - [1999/06/08 v2.01 Driver for MultiToc Package (MS)] -\documentclass{ltxdoc} -\usepackage{url} -\usepackage{ragged2e} -\usepackage[toc]{multitoc} -\GetFileInfo{multitoc.sty} -\setcounter{IndexColumns}{2} -\EnableCrossrefs -%%\DisableCrossrefs% Say \DisableCrossrefs if index is ready -\CodelineIndex % Index code by line number -\OnlyDescription % comment out for implementation details -%%\OldMakeIndex % use if your MakeIndex is pre-v2.9 -\setcounter{IndexColumns}{2} -\setlength{\IndexMin}{30ex} -\setlength{\premulticols}{\IndexMin} -\RaggedRight -\begin{document} - \DocInput{multitoc.dtx} -\end{document} -%</driver> -% -% Copyright (c) [1998..1999] by Martin Schr\"oder. All rights reserved. -% -% This program may be redistributed and/or modified under the terms -% of the LaTeX Project Public License, either version 1.0 of this -% license, or (at your option) any later version. -% The latest version of this license is in -% CTAN:macros/latex/base/lppl.txt. -% -% Happy users are requested to send me a postcard. :-) -% -% For error reports in case of UNCHANGED versions see multitoc.ins -% -% \fi -% -% \CheckSum{83} -% -%% \CharacterTable -%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z -%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z -%% Digits \0\1\2\3\4\5\6\7\8\9 -%% Exclamation \! Double quote \" Hash (number) \# -%% Dollar \$ Percent \% Ampersand \& -%% Acute accent \' Left paren \( Right paren \) -%% Asterisk \* Plus \+ Comma \, -%% Minus \- Point \. Solidus \/ -%% Colon \: Semicolon \; Less than \< -%% Equals \= Greater than \> Question mark \? -%% Commercial at \@ Left bracket \[ Backslash \\ -%% Right bracket \] Circumflex \^ Underscore \_ -%% Grave accent \` Left brace \{ Vertical bar \| -%% Right brace \} Tilde \~} -%% -%% \iffalse meta-comment -%% =================================================================== -%% @LaTeX-style-file{ -%% author = {Martin Schr\"oder}, -%% version = "2.01", -%% date = "8 June 1999", -%% filename = "multitoc.sty", -%% address = {Martin Schr\"oder -%% Cr\"usemannallee 3 -%% D-28213 Bremen -%% telephone = "+49-421-2239425", -%% email = "Martin.Schroeder@ACM.org", -%% pgp-Key = "2048 bit / KeyID 292814E5", -%% pgp-fingerprint = "7E86 6EC8 97FA 2995 82C3 FEA5 2719 090E", -% checksum = "62732 556 2216 19056", -% codetable = "ISO/ASCII", -% keywords = "LaTeX, multicol, toc, lof, lot", -% dependences = "multicol", -% supported = "yes", -%% docstring = "LaTeX package which automatically sets only -%% the table of contents, list of figures and list -%% of tables in two or more columns. -%% The number of columns can be configured. -%% Uses the multicol package. -% -% The checksum field above contains a CRC-16 -% checksum as the first value, followed by -% the equivalent of the standard UNIX wc -% (word count) utility output of lines, -% words, and characters. This is produced -% by Robert Solovay's checksum utility." -%% } -%% =================================================================== -%% \fi -% -% \changes{v0.90}{1998/05/23}{New} -% \changes{v1.00}{1998/08/09}{Documentation improved} -% \changes{v2.00}{1998/08/23}{Redesign} -% \changes{v2.01}{1999/06/08}{Moved to LPPL} -% -% \newcommand*{\option}[1]{\textnormal{\sffamily#1}} -% \newcommand*{\package}[1]{\textnormal{\sffamily#1}} -% \newcommand*{\file}[1]{\textnormal{\texttt{.#1}}} -% \newcommand*{\env}[1]{\textnormal{\texttt{#1}}} -% -% -% ^^A ----------------------------- -% -% \title{\unskip -% The \textsf{multitoc} package^^A -% \thanks{^^A -% The version number of this file is \fileversion, -% last revised \filedate.\protect\newline -% The name \textsf{multitoc} is a tribute to the $8+3$ -% file-naming convention of certain ``operating -% systems''; strictly speaking it should be -% \textsf{MulticolumnToc}.} -% } -% \author{Martin Schr\"oder\\[0.5ex] -% \normalsize Cr\"usemannallee 3\\ -% \normalsize D-28213 Bremen\\ -% \normalsize Martin.Schroeder@ACM.org\\ -% \scriptsize \texttt{PGP-Key: 2048 bit / KeyID 292814E5}\\[-0.5em] -% \scriptsize \texttt{7E86 6EC8 97FA 2995~~82C3 FEA5 2719 090E}} -% \date{\filedate} -% \maketitle -% -% ^^A ----------------------------- -% -% -% \begin{abstract} -% This package allows setting only the table of contents, list of -% figures and/or list of tables in two or more columns. -% The number of columns can be configured via commands; the -% multicolumn toc(s) can be selected via package options. -% \end{abstract} -% -% \pagestyle{headings} -% -% ^^A ----------------------------- -% -% \tableofcontents -% -% ^^A ----------------------------- -% -% \section{Introduction} -% -% -% ^^A ----------------------------- -% -% \subsection{The problem\label{sec:sec:problem}} -% ^^A -% When you want to set only the table of contents of a document in two -% (or more columns), there is one known way^^A -% \footnote{^^A -% This was first used in the \package{doc} -% package\protect\cite{package:doc}. -% }^^A -% : Add an -% \begin{quote} -% |\addtocontents{toc}{\protect\begin{multicols}{2}}| -% \end{quote} -% before the \cs{tableofcontents} and an -% \begin{quote} -% |\addtocontents{toc}{\protect\end{multicols}}| -% \end{quote} -% at the end of the document. -% This way your \file{toc} will start with |\begin{multicols}{2}| -% and end with |\end{multicols}|. -% -% This can be automised by using \cs{AtBeginDocument} and -% \cs{AtEndDocument} but this has the drawback that it may -% collide with other commands inserted using \cs{AtEndDocument} that -% try to write information to the auxilary file (like the -% \package{count1to} package\cite{package:count1to}). -% This is because \TeX{} has two ways to write information to files -% \cite[p.\ 226--228]{KnuthTeXa}: immediately (when the \cs{write} is -% prefixed by \cs{immediate}) or deferred till the current page is -% finished and written out by \TeX{} (at the next \cs{shipout}). -% \cs{addtocontents} does a deferred \cs{write}, \package{count1to} -% does an immediate. -% -% \begin{quote} -% \small -% Sidenote: \cs{addtocontents} writes a command to the \file{aux} file -% to write its information to the \file{toc} file. -% The \file{aux} is read in and executed by |\end{document}| and at -% the next run by |\begin{document}|. -% So the \file{toc} is written by |\end{document}| and at the -% next run by |\begin{document}|. -% \end{quote} -% -% When you use the automised solution with \package{count1to} this may -% happen: -% \begin{enumerate} -% \item The |\addtocontents{toc}{\protect\end{multicols}}| is inserted -% using \cs{AtEndDocument} somewhere in the preamble. -% \item \package{count1to} inserts this code -% \begin{quote} -% \hfuzz135pt -% \small -% |\clearpage|\\ -% |\immediate\write\@auxout{\string\newlabel{TotalPages}{{\the\count1}{\the\count1}}}| -% \end{quote} -% via an |\AtBeginDocument{\AtEndDocument{| so it can be sure that -% this code is the \emph{last} code executed by \cs{AtEndDocument}. -% \item At the |\end{document}| first the code from step~1 is executed -% which adds the information to the current page to write the -% |\@writefile{toc}{\end{multicols}}| to the auxilary file -% \emph{when the current page is finished}. -% -% Then the code from step~2 is executed, which lets \LaTeX{} clear -% the page (to force all pending writes to be written) and -% \emph{immediately} after that write the information for the -% |TotalPages| to the auxilary file. -% -% Now suppose that the |\end{document}| is called \emph{just after} -% \LaTeX{} has finished the last page. -% The code from step~1 is never written to the file (since at the -% \cs{clearpage} \LaTeX{} has no page to finish and so the code -% waits for the \cs{shipout} which won't come), but the code from -% step~2 is. -% So you now have an \file{aux} which won't write the -% |\end{multicols}| to the \file{toc}. -% This of course produces an error at the next run. -% \end{enumerate} -% -% -% ^^A ----------------------------- -% -% \subsection{A solution} -% ^^A -% \DescribeMacro{\@starttoc} -% An easy way around this is to simply redefine \cs{@starttoc} from -% \cite{package:ltsect} which reads in the \file{toc} to wrap a -% \env{multicol} around it.\footnote{^^A -% Thanks to Frank Mittelbach for reminding me of this.}^^A -% $^{,}$^^A -% \footnote{^^A -% \raggedright -% Version~1.00 of this package provided a more elaborate solution -% to this using \cs{immediateaddtocontents}; this is no longer needed. -% But the commands from version~1.00 are still provided (see -% section~\ref{sec:sec:version100}).} -% -% -% ^^A ----------------------------- -% -% \section{Parameters} -% ^^A -% \DescribeMacro{\multicolumntoc} -% \DescribeMacro{\multicolumnlot} -% \DescribeMacro{\multicolumnlof} -% The number of columns for the table of contens, list of figures and -% list of tables can be set by redefining the commands -% \cs{multicolumntoc}, \cs{multicolumnlot} and \cs{multicolumnlof}. -% The default is two columns. -% -% -% ^^A ----------------------------- -% -% \section{Options} -% ^^A -% The package has the following options: -% \nopagebreak -% \begin{description} -% \item[\normalfont\option{toc}] -% The table of contents is set in \cs{multicolumntoc} columns. -% \item[\normalfont\option{lof}] -% The list of figures is set in \cs{multicolumnlof} columns. -% \item[\normalfont\option{lot}] -% The list of tables is set in \cs{multicolumnlot} columns. -% \end{description} -% -% -% ^^A ----------------------------- -% -% \section{Required packages} -% ^^A -% The package requires the \package{multicol} and the -% \package{ifthen} packages. -% -% -% ^^A ----------------------------- -% -% \StopEventually{^^A -% -% -% ^^A ----------------------------- -% -% \begin{thebibliography}{1} -% \raggedright -% \bibitem{package:ltfiles} -% Johannes Braams, David Carlisle, Alan Jeffrey, Leslie Lamport, -% Frank Mittelbach, Chris Rowley and Rainer Sch\"opf. -% \newblock \package{ltfiles.dtx}. -% \newblock \texttt{CTAN: tex-archive/macros/latex/base/ltfiles.dtx}. -% \newblock \LaTeXe{} kernel. -% \bibitem{package:ltsect} -% Johannes Braams, David Carlisle, Alan Jeffrey, Leslie Lamport, -% Frank Mittelbach, Chris Rowley, Tobias Oetiker and Rainer Sch\"opf. -% \newblock \package{ltsect.dtx}. -% \newblock \url{CTAN: tex-archive/macros/latex/base/ltsect.dtx}. -% \newblock \LaTeXe{} kernel. -% \bibitem{KnuthTeXa} -% Donald~E.\ Knuth. -% \newblock \emph{The {\TeX}Book}, volume~A of \emph{Computers -% and Typesetting}. -% \newblock Addison-Wes\-ley, 1986. -% \newblock Eleventh printing, revised, May 1991. -% \bibitem{package:doc} -% Frank Mittelbach. -% \newblock The \package{doc} and \package{shortvrb} package. -% \newblock \url{CTAN: tex-archive/macros/latex/base/doc.dtx}. -% \newblock \LaTeXe{} package. -% \bibitem{package:count1to} -% Martin Schr\"oder. -% \newblock The \package{count1to} package. -% \newblock \url{CTAN: tex-archive/macros/latex/contrib/supported/ms/count1to.dtx}. -% \newblock \LaTeXe{} package. -% \end{thebibliography} -% -% } -% -% -% ^^A ----------------------------- -% -% \section{The Implementation} -% ^^A -% \setlength{\parindent}{0pt} -% \begin{macrocode} -%<*package> -% \end{macrocode} -% -% We need the \package{multicol} and the \package{ifthen} packages. -% \begin{macrocode} -\RequirePackage{multicol} -\RequirePackage{ifthen} -% \end{macrocode} -% -% -% ^^A ----------------------------- -% -% \subsection{The parameters} -% ^^A -% \begin{macro}{\multicolumntoc} -% \begin{macro}{\multicolumnlot} -% \begin{macro}{\multicolumnlof} -% \mbox{} -% \begin{macrocode} -\newcommand{\multicolumntoc}{2} -\newcommand{\multicolumnlot}{2} -\newcommand{\multicolumnlof}{2} -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% -% -% ^^A ----------------------------- -% -% \subsection{Initial Code} -% ^^A -% \begin{macro}{@multitoc@toc} -% \changes{v2.00}{1998/08/23}{new} -% \cs{if@multitoc@toc} is used to flag the use of the \option{toc} -% otion. -% \begin{macrocode} -\newboolean{@multitoc@toc} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{@multitoc@lot} -% \changes{v2.00}{1998/08/23}{new} -% \cs{if@multitoc@lot} is used to flag the use of the \option{lot} -% otion. -% \begin{macrocode} -\newboolean{@multitoc@lot} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{@multitoc@lof} -% \changes{v2.00}{1998/08/23}{new} -% \cs{if@multitoc@lof} is used to flag the use of the \option{lof} -% otion. -% \begin{macrocode} -\newboolean{@multitoc@lof} -% \end{macrocode} -% \end{macro} -% -% -% ^^A ----------------------------- -% -% \subsection{The options} -% ^^A -% The options simply set the corresponding flags. -% \changes{v2.00}{1998/08/23}{Redesign} -% \changes{v1.00}{1998/08/09}{\cs{clearpage}} -% \begin{macrocode} -\DeclareOption{toc}{\setboolean{@multitoc@toc}{true}} -\DeclareOption{lot}{\setboolean{@multitoc@lot}{true}} -\DeclareOption{lof}{\setboolean{@multitoc@lof}{true}} -% \end{macrocode} -% -% -% ^^A ----------------------------- -% -% \subsection{Executing options} -% ^^A -% There are no default options. -% \begin{macrocode} -\ProcessOptions\relax -% \end{macrocode} -% -% -% ^^A ----------------------------- -% -% \subsection{Redefining \cs{@starttoc}} -% ^^A -% \begin{macro}{\@starttoc} -% From \cite{package:ltsect}: -% \begin{quote} -% The |\@starttoc|\marg{ext} command is used to define the commands:\\ -% |\tableofcontents|, |\listoffigures|, etc. -% -% For example: -% |\@starttoc{lof}| is used in |\listoffigures|. This command -% reads the |.|\meta{ext} file and sets up to write the new -% |.|\meta{ext} file. -% -% \begin{oldcomments} -% \@starttoc{EXT} == -% BEGIN -% \begingroup -% \makeatletter -% read file \jobname.EXT -% IF @filesw = true -% THEN open \jobname.EXT as file \tf@EXT -% FI -% @nobreak :=G FALSE %% added 24 May 89 -% \endgroup -% END -% \end{oldcomments} -% \end{quote} -% We store the current definition in \cs{@multitoc@starttoc} -% and wrap it in a \env{multicol} environment if the right -% option has been selected. -% We also have to determine the number of columns to use.\footnote{^^A -% This could probably be coded more effeciently, but this code -% works\ldots} -% \begin{macrocode} -\let\@multitoc@starttoc\@starttoc -\renewcommand*{\@starttoc}[1]{% - \ifthenelse{\boolean{@multitoc@toc}\and\equal{#1}{toc}}{% - \begin{multicols}{\multicolumntoc}% - \@multitoc@starttoc{#1}% - \end{multicols}% - }{}% - \ifthenelse{\boolean{@multitoc@lot}\and\equal{#1}{lot}}{% - \begin{multicols}{\multicolumnlot}% - \@multitoc@starttoc{#1}% - \end{multicols}% - }{}% - \ifthenelse{\boolean{@multitoc@lof}\and\equal{#1}{lof}}{% - \begin{multicols}{\multicolumnlof}% - \@multitoc@starttoc{#1}% - \end{multicols}% - }{}% - } -% \end{macrocode} -% \end{macro} -% -% -% ^^A ----------------------------- -% -% \subsection{Code from Version~1.00\label{sec:sec:version100}} -% ^^A -% The first version of this package took a different approach to -% solving the problem mentioned in section~\ref{sec:sec:problem} and -% provided the commands \cs{protected@write@immediate} and -% \cs{immediateaddtocontents}. -% Their code has been retained here for compatibilty reasons. -% -% \DescribeMacro{\immediateaddtocontents} -% \cs{immediateaddtocontents} is a version of \cs{addtocontents} which -% does just what the name implies: Write the information \cs{immediate}. -% -% \begin{macro}{\protected@write@immediate} -% This is a changed version of \cs{protected@write} -% from~\cite{package:ltfiles}. -% It takes three arguments: an output stream, some initialization -% code, and some text to write. -% It then writes this \emph{immediately}, with -% appropriate handling of |\protect| and |\thepage|. -% \changes{v2.00}{1998/09/06}{retained} -% \begin{macrocode} -\newcommand*{\protected@write@immediate}[3]{% - \begingroup - \let\thepage\relax - #2% - \let\protect\string - \edef\reserved@a{\immediate\write#1{#3}}% - \reserved@a - \endgroup - \if@nobreak\ifvmode\nobreak\fi\fi - } -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\immediateaddtocontents} -% This is a changed version of \cs{addtocontents} -% from~\cite{package:ltsect}. -% The |\immediateaddtocontents{|\meta{table}|}{|\meta{text}|}| command -% \emph{immediately} adds \meta{text} to the |.|\meta{table} file, -% with no page number. -% \changes{v2.00}{1998/09/06}{retained} -% \begin{macrocode} -\newcommand*{\immediateaddtocontents}[2]{% - \protected@write@immediate\@auxout - {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble}% - {\string\@writefile{#1}{#2}}} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -%</package> -% \end{macrocode} -% -% ^^A ----------------------------- -% -% \Finale -% -% \PrintIndex\PrintChanges -% ^^A Make sure that the index is not printed twice -% ^^A (ltxdoc.cfg might have a second \PrintIndex command) -% \let\PrintChanges\relax -% \let\PrintIndex\relax diff --git a/Master/texmf-dist/source/latex/ms/multitoc.ins b/Master/texmf-dist/source/latex/ms/multitoc.ins deleted file mode 100644 index 154b6ec1d5d..00000000000 --- a/Master/texmf-dist/source/latex/ms/multitoc.ins +++ /dev/null @@ -1,116 +0,0 @@ -%% \ProvidesFile{multitoc.ins} -%% [1999/06/08 v2.01 Installation script for MultiToc Package (MS)] -%% -%% Copyright (c) [1998..1999] by Martin Schr\"oder. All rights reserved. -%% -%% This program may be redistributed and/or modified under the terms -%% of the LaTeX Project Public License, either version 1.0 of this -%% license, or (at your option) any later version. -%% The latest version of this license is in -%% CTAN:macros/latex/base/lppl.txt. -%% -%% Happy users are requested to send me a postcard. :-) -%% -%% checksum = "55078 128 458 3787" -%% -%% The checksum field above contains a CRC-16 checksum as the first -%% value, followed by the equivalent of the standard UNIX wc (word -%% count) utility output of lines, words, and characters. -%% This is produced by Robert Solovay's checksum utility. -%% -%% --------------- start of docstrip commands ------------------ -\input docstrip -{\ifx\endbatchfile\undefined -\Msg{**********************************************} -\Msg{*} -\Msg{* This installation requires docstrip} -\Msg{* version 2.4d or later.} -\Msg{*} -\Msg{* An older version of docstrip has been input} -\Msg{*} -\Msg{**********************************************} -\errhelp{Move or rename old docstrip.tex.} -\errmessage{Old docstrip in input path} -\batchmode -\csname @@end\endcsname -\fi} - -\Msg{***********************************************************} -\Msg{*} -\Msg{* The multitoc distribution contains these files:} -\Msg{*} -\Msg{* \space\space multitoc.asc} -\Msg{* \space\space multitoc.dtx} -\Msg{* \space\space multitoc.dvi} -\Msg{* \space\space multitoc.ins} -\Msg{* \space\space multitoc.bug} -\Msg{*} -\Msg{* If you receive only some of these files from someone, complain!} -\Msg{*} -\Msg{***********************************************************} - -\preamble - -Copyright (c) [1998..1999] by Martin Schr"oder. All rights reserved. - -This file is part of the MultiToc package - -This program may be redistributed and/or modified under the terms -of the LaTeX Project Public License, either version 1.0 of this -license, or (at your option) any later version. -The latest version of this license is in - CTAN:macros/latex/base/lppl.txt. - -Happy users are requested to send me a postcard. :-) - -The MultiToc package contains these files: - - multitoc.asc - multitoc.dtx - multitoc.dvi - multitoc.ins - multitoc.bug - -Error Reports in case of UNCHANGED versions to - - Martin Schr"oder - Cr"usemannallee 3 - D-28213 Bremen - Martin.Schroeder@ACM.org - -\endpreamble -\declarepreamble\driverpreamble - -This file is part of the MultiToc package ------------------------------------------ - -Copyright (c) [1998..1999] by Martin Schr"oder. All rights reserved. - -To produce the documentation in the way you like you are allowed -to change this driver file. - -\endpreamble - -\keepsilent -\askforoverwritefalse -\generate{% - \file{multitoc.sty}{\from{multitoc.dtx}{package}} - \usepreamble\driverpreamble - \file{multitoc.drv}{\from{multitoc.dtx}{driver}} - } - -\Msg{***********************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* style files into a directory searched by TeX:} -\Msg{*} -\Msg{* \space\space multitoc.sty} -\Msg{*} -\Msg{* To produce the documentation run the file multitoc.drv} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing} -\Msg{***********************************************************} -\endbatchfile -%% -%% End of file `multitoc.ins'. |