summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/onlyamsmath
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-03 00:19:12 +0000
committerKarl Berry <karl@freefriends.org>2012-01-03 00:19:12 +0000
commitb66ea5c66b9c6b02df3cbd82a85cd2aa2501dad9 (patch)
treed2cc242981d74f2d2dfe14b6258279ac7b4b25e5 /Master/texmf-dist/source/latex/onlyamsmath
parent20d68fe66aecde758e45ff238550f92ecff39cac (diff)
onlyamsmath (2jan12)
git-svn-id: svn://tug.org/texlive/trunk@25006 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/onlyamsmath')
-rw-r--r--Master/texmf-dist/source/latex/onlyamsmath/Makefile56
-rw-r--r--Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx42
-rw-r--r--Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins6
3 files changed, 25 insertions, 79 deletions
diff --git a/Master/texmf-dist/source/latex/onlyamsmath/Makefile b/Master/texmf-dist/source/latex/onlyamsmath/Makefile
deleted file mode 100644
index e194a0fea8c..00000000000
--- a/Master/texmf-dist/source/latex/onlyamsmath/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# $Id: Makefile,v 1.2 2001/03/12 17:22:36 harders Exp $
-
-.SUFFIXES: .sty .ins .dtx .dvi .ps
-
-
-.ins.sty:
- latex $<
-
-.dtx.dvi:
- latex $<
- latex $<
- makeindex -s gind.ist $(*D)/$(*F)
- makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo
- latex $<
-
-.dvi.ps:
- dvips -o $(*D)/$(*F).ps $(*D)/$(*F)
-
-
-all: onlyamsmath onlyamsmath.dvi onlyamsmath.ps message
-
-onlyamsmathtest.dvi:
- latex onlyamsmathtest
-
-
-onlyamsmath:
- latex onlyamsmath.ins
-
-
-
-clean:
- @-rm -f onlyamsmath.{glo,gls,idx,ilg,ind,aux,log,toc}
- @-rm -f onlyamsmathtest.{log,aux}
- @-rm -f *~
-
-distclean: clean
- @-rm -f onlyamsmath.{sty,dvi,ps}
- @-rm -f onlyamsmathtest.{dvi,ps}
-
-tar: all clean
- echo Lege onlyamsmath.tar.gz an
- -rm -f onlyamsmath.tar.gz
- cd ..; tar czf onlyamsmath.tar.gz \
- onlyamsmath/README onlyamsmath/Makefile \
- onlyamsmath/onlyamsmath.{dtx,ins,dvi} \
- onlyamsmath/onlyamsmathtest.tex \
- onlyamsmath/onlyamsmath.xml
- mv ../onlyamsmath.tar.gz .
-
-
-message:
- @echo "Please copy onlyamsmath.sty to a directory"
- @echo "in the LaTeX search path"
- @echo "Then run \`latex onlyamsmathtest' to see an example"
-
-
diff --git a/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx b/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx
index f4c1ee14d75..de29c387262 100644
--- a/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx
+++ b/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx
@@ -1,16 +1,9 @@
% \iffalse meta comment
-% File: onlyams.dtx Copyright (C) 2001 Harald Harders
-% $Id:$
+% File: onlyamsmath.dtx Copyright (C) 2001, 2012 Harald Harders
% \fi
%
% \iffalse
%
-%<*package>
-\def\onlyamspackagename{onlyams}
-\def\onlyamsversion{0.04}
-\def\onlyamsfiledate{2001/10/04}
-\def\onlyamsdocdate{2001/10/04}
-%</package>
%<*driver>
\documentclass[fleqn]{ltxdoc}
\usepackage{amsmath}
@@ -39,18 +32,22 @@
\DoNotIndex{\setcounter,\space,\begingroup,\endgroup}
\CodelineNumbered
\RecordChanges
-\CheckSum{94}
+\CheckSum{91}
+\input{onlyamsmath-v.tex}
+\GetFileInfo{onlyamsmath-v.tex}
+\title{The \texttt{onlyamsmath} package}
+\author{Harald Harders\\\texttt{h.harders@tu-bs.de}}
+\date{Version \fileversion, \filedate, printed \today}
\begin{document}
- \title{The \texttt{onlyamsmath} package\thanks{This file is version
- \onlyamsversion\ last revision \onlyamsfiledate, documentation
- from \onlyamsdocdate.}}
- \author{Harald Harders\\\texttt{h.harders@tu-bs.de}}
- \date{File date \onlyamsfiledate, compiled \today}
\DocInput{onlyamsmath.dtx}
\end{document}
%</driver>
% \fi
%
+% \changes{0.10}{2012/01/01}{Explicitly state date and version in
+% \cs{ProvidesPackage} statement}
+% \changes{0.10}{2012/01/01}{Update documentation}
+% \changes{0.10}{2012/01/01}{Update e-mail address}
% \changes{0.01}{2001/09/21}{First version}
%
% \maketitle
@@ -65,7 +62,7 @@
% \tableofcontents
%
% \section*{Copyright}
-% Copyright 2001 Harald Harders.
+% Copyright 2001, 2012 Harald Harders.
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
@@ -84,6 +81,7 @@
% a=b\,.
% $$
%
+% \DescribeMacro{eqnarray}
% One further option is \verb|eqnarray| to switch off
% the |eqnarray| and |eqnarray*| environments that add an unwished
% space before and after the aligned part of the formula as shown
@@ -97,6 +95,7 @@
% a&=b\,.
% \end{align*}
%
+% \DescribeMacro{all}
% The most brutal option is |all| that inhibits the writer to use any
% of the \TeX\ and \LaTeX\ math environments for non-inlined equations
% I know (|$$|\dots|$$|, |eqnarray|, |eqnarray*|, |displaymath|.
@@ -109,12 +108,14 @@
% variant. See the User's Guide of the |amsmath| package for further
% details \cite{amsmath1999}.
%
+% \DescribeMacro{error}
% There are two more options that control the behaviour of the package
% if you still use one of the ``forbidden'' environments.
% If using |error| which is the default \LaTeX\ generates an error
% message that reminds you to use the environments of the |amsmath|
% package.
%
+% \DescribeMacro{warning}
% If using |warning| \LaTeX\ only produces warnings and proceeds.
%
% \section*{Acknowledgement}
@@ -129,15 +130,16 @@
% \StopEventually{\PrintBibliography \PrintChanges \PrintIndex}
%
% \section{The implementation}
-% \iffalse
-%<*package>
-% \fi
%
% Package header:
% \begin{macrocode}
-\ProvidesPackage{onlyamsmath}[\onlyamsfiledate\space
-v\onlyamsversion\space destroy the standard math environments]
+%<package>\ProvidesPackage{onlyamsmath}
+%<version>\ProvidesFile{onlyamsmath-v.tex}
+%<package,version> [2012/01/01 v0.10 Destroy the standard math environments]
% \end{macrocode}
+% \iffalse
+%<*package>
+% \fi
% Load |amsmath| package:
% \begin{macrocode}
\RequirePackage{amsmath}
diff --git a/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins b/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins
index 76dde3650b0..b1d64a5b64c 100644
--- a/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins
+++ b/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins
@@ -1,22 +1,22 @@
-%% $Id: onlyamsmath.ins,v 1.2 2001/03/12 09:17:56 harders Exp $
\def\batchfile{onlyamsmath.ins}
\input docstrip.tex
\preamble
onlyamsmath package
- Copyright 2001 Harald Harders
+ Copyright 2001, 2012 Harald Harders
This program can be redistributed and/or modified under the terms
of the LaTeX Project Public License Distributed from CTAN
archives in directory macros/latex/base/lppl.txt; either
version 1 of the License, or any later version.
- h.harders@tu-bs.de
+ harald.harders@gmx.de
\endpreamble
% Files
%%%%%%%%%%%%%%%%%%%%%%
\generateFile{onlyamsmath.sty}{f}{\from{onlyamsmath.dtx}{package}}
+\generateFile{onlyamsmath-v.tex}{f}{\from{onlyamsmath.dtx}{version}}
\Msg{* Fertig}