diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/ms/prelim2e.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/ms/prelim2e.dtx | 129 |
1 files changed, 78 insertions, 51 deletions
diff --git a/Master/texmf-dist/source/latex/ms/prelim2e.dtx b/Master/texmf-dist/source/latex/ms/prelim2e.dtx index d595659bdba..e0a4b812b9d 100644 --- a/Master/texmf-dist/source/latex/ms/prelim2e.dtx +++ b/Master/texmf-dist/source/latex/ms/prelim2e.dtx @@ -2,45 +2,68 @@ % \iffalse \NeedsTeXFormat{LaTeX2e}[1995/12/01] %<package>\ProvidesPackage{prelim2e} -%<package> [2001/02/17 v1.23 prelim2e Package (MS)] +%<package> [2009/05/29 v1.3 prelim2e Package (MS)] % %<*driver> \ProvidesFile{prelim2e.drv} - [1999/06/08 v1.22 Driver for prelim2e Package (MS)] -\documentclass{ltxdoc} + [2009/05/29 v1.3 Driver for prelim2e Package (MS)] +\documentclass[a4paper]{ltxdoc} +\usepackage[T1]{fontenc} \usepackage{url} \usepackage[toc]{multitoc} +\usepackage{lmodern,microtype,svn} +\usepackage{hypdoc} +\usepackage{geometry} \usepackage[scrtime]{prelim2e} \GetFileInfo{prelim2e.sty} -\setcounter{IndexColumns}{2} \EnableCrossrefs +\RecordChanges % Gather update information %%\DisableCrossrefs% Say \DisableCrossrefs if index is ready \CodelineIndex % Index code by line number -\OnlyDescription % comment out for implementation details +%\OnlyDescription % comment out for implementation details %%\OldMakeIndex % use if your MakeIndex is pre-v2.9 \setcounter{IndexColumns}{2} +% onecolumn glossary +\makeatletter + \renewenvironment{theglossary}{% + \glossary@prologue + \setlength\emergencystretch{5em} + \GlossaryParms \let\item\@idxitem \ignorespaces}{} +\makeatother \setlength{\IndexMin}{40ex} \setlength{\columnseprule}{.4pt} +\addtolength{\oddsidemargin}{2cm} +\addtolength{\textwidth}{-2cm} \begin{document} \DocInput{prelim2e.dtx} + \PrintIndex\PrintChanges + % Make sure that the index is not printed twice + % (ltxdoc.cfg might have a second \PrintIndex command) + \let\PrintChanges\relax + \let\PrintIndex\relax \end{document} %</driver> % -% Copyright (C) [1995..2001] by Martin Schr\"oder. All rights reserved. +% Copyright (C) 1995..2009 by Martin Schr\"oder. % -% 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. +% 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 -% CTAN:macros/latex/base/lppl.txt. +% 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. % -% Happy users are requested to send me a postcard. :-) +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Martin Schröder % -% For error reports in case of UNCHANGED versions see prelim2e.ins +% This work consists of the files prelim2e.dtx and prelim2e.ins +% and the derived files prelim2e.sty % % \fi % -% \CheckSum{125} +% \CheckSum{129} % %% \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 @@ -62,44 +85,38 @@ %% =================================================================== %% @LaTeX-package-file{ %% author = {Martin Schr\"oder}, -%% version = "1.23", -%% date = "17 February 2001", +%% version = "1.3", +%% date = "29 May 2009", %% filename = "prelim2e.sty", %% address = {Martin Schr\"oder -%% Cr\"usemannallee 3 -%% 28213 Bremen +%% Barmer Stra\"se 14 +%% 44137 Dortmund %% Germany}, -%% telephone = "+49-421-2239425", +%% telephone = "+49-231-1206574", %% email = "martin@oneiros.de", -%% pgp-Key = "2048 bit / KeyID 292814E5", -%% pgp-fingerprint = "7E86 6EC8 97FA 2995 82C3 FEA5 2719 090E", -% checksum = "63323 610 2225 20370", % codetable = "ISO/ASCII", % keywords = "LaTeX2e, preliminary versions, versions", % dependences = "everyshi, scrtime", % supported = "yes", %% docstring = "LaTeX package which allows the marking of -%% preliminary versions of a document. -% -% 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." +%% preliminary versions of a document." %% } %% =================================================================== %% \fi % +% \SVN $Rev: 1374 $ +% \SVNdate $Date: 2009-05-30 22:23:36 +0200 (Sa, 30. Mai 2009) $ +% % \renewcommand{\PrelimWords}{^^A % \package{prelim2e} package -- -% Version \fileversion{} -- +% Version \fileversion (\SVNRev) -- % Documentation \LaTeX{}ed^^A % } % % \changes{v1.00}{1995/01/26}{New} % \changes{v1.21}{1998/08/09}{Documentation improved} % \changes{v1.22}{1999/06/08}{Moved to LPPL} +% \changes{v1.3}{2009/05/29}{LPPL 1.3} % % \newcommand*{\option}[1]{\textnormal{\sffamily#1}} % \newcommand*{\package}[1]{\textnormal{\sffamily#1}} @@ -116,19 +133,16 @@ % ^^A ----------------------------- % % \title{\unskip -% The \package{prelim2e} package^^A -% \thanks{^^A -% The version number of this file is \fileversion, -% last revised \filedate.}^^A +% The \package{prelim2e} package^^A +% \thanks{^^A +% The version number of this file is \fileversion, subversion +% revision~\#\SVNRev, last revised \protect\SVNDate.}^^A % } % \author{Martin Schr\"oder\\[0.5ex] -% \normalsize Cr\"usemannallee 3\\ -% \normalsize 28213 Bremen\\ +% \normalsize Barmer Stra\ss{}e 14\\ +% \normalsize 44137 Dortmund\\ % \normalsize Germany\\ -% \normalsize martin@oneiros.de\\ -% \scriptsize \texttt{PGP-Key: 2048 bit / KeyID 292814E5}\\[-0.5em] -% \scriptsize \texttt{7E86 6EC8 97FA 2995~~82C3 FEA5 2719 090E}} -% \date{\filedate} +% \normalsize \href{mailto:martin@oneiros.de}{\texttt{martin@oneiros.de}}} % \maketitle % % ^^A ----------------------------- @@ -174,7 +188,7 @@ %\begin{verbatim} %\renewcommand{\PrelimWords}{% % \textsf{prelim2e} package -- -% Version \fileversion{} -- +% Version \fileversion (\svnInfoRevision) -- % Documentation \LaTeX{}ed% % } %\end{verbatim} @@ -216,6 +230,11 @@ % \NEWfeature{2001/02/17} % This sets the text to ``Versione preliminare''. % It does not use the \package{babel} package. +% \item[\normalfont\option{norsk}] +% \changes{v1.3}{2009/05/29}{\option{norsk} option added} +% \NEWfeature{2009/05/29} +% This sets the text to ``Forel\o{}pig versjon''. +% It does not use the \package{babel} package. % \item[\normalfont\option{time}] % \changes{v1.10}{1996/01/01}{\option{time} option added} % \NEWdescription{1997/05/12} @@ -293,9 +312,11 @@ % the text for the \option{french} option, % Arne J\o{}rgensen (\texttt{arne.jorgensen@tug.dk}) % provided the text for the \option{danish} option, -% and Davide Giovanni Maria Salvetti (\texttt{salve@debian.org}) +% Davide Giovanni Maria Salvetti (\texttt{salve@debian.org}) % and Riccardo Murri (\texttt{murri@phc.unipi.it}) % both provided the text for the \option{italian} option, +% and Sveinung Heggen (\texttt{sveinung.heggen@orkla.no}) provided the +% text for the \option{norsk} option. % % As usual Rebecca Stiels improved the quality of this documentation. % @@ -402,11 +423,12 @@ % % \subsubsection{Language options} % ^^A -% \option{danish}, \option{english}, \option{french}, \option{german} and -% \option{italian} control the content of \cs{PrelimWords}. +% \option{danish}, \option{english}, \option{french}, \option{german}, +% \option{italian} and \option{norsk} control the content of \cs{PrelimWords}. % \changes{v1.20}{1997/05/12}{\option{french} option added} % \changes{v1.23}{2001/02/17}{\option{danish} option added} % \changes{v1.23}{2001/02/17}{\option{italian} option added} +% \changes{v1.3}{2009/05/29}{\option{norsk} option added} % \begin{macrocode} \DeclareOption{danish}{% \renewcommand{\PrelimWords}{Forel\o{}big version}} @@ -418,6 +440,8 @@ \renewcommand{\PrelimWords}{Vorl\"aufige Version}} \DeclareOption{italian}{% \renewcommand{\PrelimWords}{Versione preliminare}} +\DeclareOption{norsk}{% + \renewcommand{\PrelimWords}{Forel\o{}pig versjon}} % \end{macrocode} % % @@ -498,8 +522,8 @@ % \begin{macrocode} \newcommand{\PrelimText}{% \textnormal{% - \footnotesize% - \PrelimTextStyle% + \footnotesize + \PrelimTextStyle \PrelimWords{} -- \today \if@prelim@time \ -- \thistime @@ -529,6 +553,8 @@ % % \begin{macro}{\@Prelim@EveryShipout} % \changes{v1.10}{1996/01/01}{\cs{hbox to}$\rightarrow$\cs{hb@xt@}} +% \changes{v1.24}{2004/03/28}{Bugfix: Add missing \%. +% Bug reported by Carsten Heinz (\texttt{cheinz@gmx.de}).} % \cs{@Prelim@EveryShipout} puts the text produced by \cs{PrelimText} % below the page. % To do this we modify \cs{box255}: We append a \cs{vbox} with height @@ -536,7 +562,7 @@ % \cs{hbox} with the width of \cs{box255} in which \cs{PrelimText} % is centered. % \begin{macrocode} -\newcommand{\@Prelim@EveryShipout}{ +\newcommand{\@Prelim@EveryShipout}{% \bgroup % \end{macrocode} % First we save the dimensions of \cs{box255}: height, width and depth; @@ -556,7 +582,7 @@ \global\setbox\@cclv\vbox to \dimen\thr@@{% \hb@xt@\dimen\z@{% \box\@cclv% - \hss% + \hss }% % \end{macrocode} % To this we append the text produced by \cs{PrelimText}. @@ -568,11 +594,11 @@ \vbox to \z@{% \hb@xt@\dimen\z@{% \let\protect\relax - \hfill\PrelimText\hfill% + \hfill\PrelimText\hfill }% - \vss% + \vss }% - \vss% + \vss }% % \end{macrocode} % Finally we set the dimensions of \cs{box255} to the values they had @@ -608,3 +634,4 @@ % ^^A ----------------------------- % % \Finale +% ^^A vim:tw=70:ts=2 |