diff options
author | Karl Berry <karl@freefriends.org> | 2008-06-16 13:46:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-06-16 13:46:44 +0000 |
commit | e77b0903e1c7d5c23b4780241b3b78f18317c696 (patch) | |
tree | d50406ebc76e2fd0bedd4079902e3972ff274422 | |
parent | 25a9533c7a45513e45c6b9b428791abb5ae833a6 (diff) |
standard install of eqnarray
git-svn-id: svn://tug.org/texlive/trunk@8783 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/eqnarray/README | 15 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/eqnarray/README | 15 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/eqnarray/eqnarray.bbl | 0 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/eqnarray/eqnarray.drv | 24 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/eqnarray/eqnarray.dtx | 100 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/eqnarray/eqnarray.dvi | bin | 11196 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/eqnarray/eqnarray.ins | 50 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/eqnarray/eqnarray.sty | 25 | ||||
-rwxr-xr-x | Master/tlpkg/bin/ctan2tds | 22 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 |
10 files changed, 165 insertions, 88 deletions
diff --git a/Master/texmf-dist/doc/latex/eqnarray/README b/Master/texmf-dist/doc/latex/eqnarray/README new file mode 100644 index 00000000000..762c213882f --- /dev/null +++ b/Master/texmf-dist/doc/latex/eqnarray/README @@ -0,0 +1,15 @@ +This is the package eqnarray, version 1.2a. Compared to the previous +version 1.2 no modifications have been made in the style file itself +(apart from a statement \RequirePackage{array}). I improved the +documentation and I packed everything into an easier-to-use dtx +file. To unpack everything just type `latex eqnarray.ins'. + +----------------------------------------------------------------------- + Roland Winkler + Institut fuer Theoretische Physik Phone ++49-941-943 2012 + Universitaet Regensburg Fax ++49-941-943 4382 + 93040 Regensburg + Germany Telex 65 658 unire d + + e-mail: roland.winkler@physik.uni-regensburg.de +----------------------------------------------------------------------- diff --git a/Master/texmf-dist/source/latex/eqnarray/README b/Master/texmf-dist/source/latex/eqnarray/README deleted file mode 100644 index 41236991d77..00000000000 --- a/Master/texmf-dist/source/latex/eqnarray/README +++ /dev/null @@ -1,15 +0,0 @@ -I have put in the directory /incoming of ftp.dante.de a subdirectory -eqnarray with the two files eqnarray.drv and eqnarray.dtx. They -contain version 1.2 of the equationarray style. They should replace -version 1.1 in /tex-archive/macros/latex/contrib/supported/eqnarray - --------------------------------------------------------------------------- - Roland Winkler - Institut fuer Theoretische Physik Phone: ++49-941-943 2012 - Universitaet Regensburg Fax: ++49-941-943 4382 - 93040 Regensburg - Germany Telex: 65 658 unire d - - e-mail (RFC-822): roland.winkler@physik.uni-regensburg.de - e-mail (X.400): G=Roland S=Winkler OU=physik P=uni-regensburg A=d400 C=de --------------------------------------------------------------------------- diff --git a/Master/texmf-dist/source/latex/eqnarray/eqnarray.bbl b/Master/texmf-dist/source/latex/eqnarray/eqnarray.bbl deleted file mode 100644 index e69de29bb2d..00000000000 --- a/Master/texmf-dist/source/latex/eqnarray/eqnarray.bbl +++ /dev/null diff --git a/Master/texmf-dist/source/latex/eqnarray/eqnarray.drv b/Master/texmf-dist/source/latex/eqnarray/eqnarray.drv index 6e89ff2a333..816d7951cc6 100644 --- a/Master/texmf-dist/source/latex/eqnarray/eqnarray.drv +++ b/Master/texmf-dist/source/latex/eqnarray/eqnarray.drv @@ -1,13 +1,25 @@ -% Utility for unpacking eqnarray.sty: -% -% first type 'latex docstrip' in order to obtain eqnarray.sty, -% then type 'latex eqnarray.drv' to obtain the documentation -% +%% +%% This is file `eqnarray.drv', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% eqnarray.dtx (with options: `driver') +%% +%% IMPORTANT NOTICE: +%% +%% You are not allowed to change this file. +%% +\def\fileversion{1.2a} +\def\filedate{17 July 1997} +\def\docdate{17 July 1997} \documentclass{article} \usepackage{doc} \usepackage{array} \usepackage{eqnarray} -\setlength{\parindent}{0ex} \begin{document} \DocInput{eqnarray.dtx} \end{document} +\endinput +%% +%% End of file `eqnarray.drv'. diff --git a/Master/texmf-dist/source/latex/eqnarray/eqnarray.dtx b/Master/texmf-dist/source/latex/eqnarray/eqnarray.dtx index b543d7f1e5e..dc80a40e948 100644 --- a/Master/texmf-dist/source/latex/eqnarray/eqnarray.dtx +++ b/Master/texmf-dist/source/latex/eqnarray/eqnarray.dtx @@ -1,6 +1,6 @@ -\def\fileversion{1.2} -\def\filedate{17 May 1995} -\def\docdate{17 May 1995} +\def\fileversion{1.2a} +\def\filedate{17 July 1997} +\def\docdate{17 July 1997} % % \MakeShortVerb{\|} % @@ -9,6 +9,11 @@ % Version 1.2: Piet van Oostrum <piet@cs.ruu.nl> added the code which % is necessary for the |fleqn| option. % \def\filedate{17 May 1995} \def\docdate{17 May 1995} +% Version 1.2a: \def\filedate{17 July 1997}, \def\docdate{17 July 1997} +% Apart from a statement \RequirePackage{array} no +% modifications have been made in the style file itself. +% I improved the documentation and I packed +% everything into an easier-to-use dtx file % \fi % % \title{The |equationarray| environment} @@ -16,7 +21,9 @@ % |roland.winkler@physik.uni-regensburg.de|} % \maketitle % \begin{abstract}\noindent -% The |equationarray| combines the |eqnarray| and the |array| environment. +% The |equationarray| combines the line numbering of the |eqnarray| +% and the more flexible formatting features of the |array| environment. +% This package requires the |array| package. % \end{abstract} % % \section{Introduction} @@ -26,9 +33,9 @@ % require more sophisticated mathematics, so three parts aren't % enough. Simultaneously, we would like to have our equations % numbered. If the equations aren't to be numbered, then the |array| -% environment suffices (nevertheless it is often easier to use the +% environment suffices. (Nevertheless it is often easier to use the % |equationarray*| environment than both an |equation| plus an |array| -% environment). If the equations aren't to be aligned with +% environment.) If the equations aren't to be aligned with % each other, then the |equation| environment is preferred. % % The following is a new version of Tony Li's |equationarray| @@ -43,40 +50,56 @@ % California, tli@sargas.usc.edu starting 6/15/88. % % I know that my documentation of the |equationarray| environment is -% rather short -- but maybe nobody else might like to use it and -% even this work was superfluous. So if you think that it would be +% rather short. So if you think that it would be % useful to have a better documentation please let me know. % +% % \section{Example} % % We give a short example for the use of |equationarray|. The % text is % % % \begin{verbatim} -% \newcolumntype{e}{@{}} -% \begin{equationarray}{rclel} -% \phi & = & \sum \bigg( & \frac{xxxxxxxxxx}{\phi} -% \nonumber\\*[3ex] -% & & & + \frac{yyyyyyyyyy}{\phi} \bigg) \\[4ex] -% & = & \multicolumn{2}{l}{ \frac{zzzzzzzzzz}{\phi} } +% \newcolumntype{e}{@{\quad}} +% \arraycolsep 0.2em +% \begin{equationarray}{p{2.5em}erclecercl} +% now: & - i\partial_t \psi & = & H\,\psi & \Rightarrow +% & \psi (t) & = & \psi (0) \exp (iEt) \\[3ex] +% then: & - i\partial_t \psi & = & (H+E_0) \,\psi & \Rightarrow +% & \psi (t+t_0) & = & \psi (t_0) \exp [i(E+E_0)t] % \end{equationarray} % \end{verbatim} % % -% and we obtain (usually my formulas are much longer $\ldots$) +% \noindent and we obtain % % -% \newcolumntype{e}{@{}} -% \begin{equationarray}{rclel} -% \phi & = & \sum \bigg( & \frac{xxxxxxxxxx}{\phi} -% \nonumber\\*[3ex] -% & & & + \frac{yyyyyyyyyy}{\phi} \bigg) \\[4ex] -% & = & \multicolumn{2}{l}{ \frac{zzzzzzzzzz}{\phi} } +% \newcolumntype{e}{@{\quad}} +% \arraycolsep 0.2em +% \begin{equationarray}{p{2.5em}erclecercl} +% now: & - i\partial_t \psi & = & H\,\psi & \Rightarrow +% & \psi (t) & = & \psi (0) \exp (iEt) \\[3ex] +% then: & - i\partial_t \psi & = & (H+E_0) \,\psi & \Rightarrow +% & \psi (t+t_0) & = & \psi (t_0) \exp [i(E+E_0)t] % \end{equationarray} % % -% One can avoid pagebreaks between two lines by using the +% An |equationarray| behaves very much like an |array|. +% For example, |equationarray| takes the same tokens for defining +% columns, and new column types can be defined with +% |\newcolumntype|. One can use |\multicolumn|, |\hline|, |\cline|, +% and |\vline|, and |equationarray| makes use of |\arraycolsep|, +% |\extracolsep|, and |\extrarowheight|.\footnote{Some people don't +% like the large spacing between the columns of the standard +% |eqnarray|. Don't be surprised that |equationarray| seems to have +% the same ``bug''. You just have to change the value of +% $\tt\backslash$|arraycolsep|, see the example above.} In an +% |equationarray| all these things have the same meaning like in +% an |array|. The main difference is that +% by default each entry of an |equationarray| is displayed with +% |\displaystyle| whereas |array| uses |\textstyle|. +% One can avoid page breaks between two lines by using the % star-version |\\*|. There is also the star-version |equationarray*| -% which has usually no linenumbers. But if for a particular line you -% still want a linenumber, you can use |\yesnumber|, (I find this -% easier than many lines with |\nonumber|). With the options |[l]| +% which has usually no line numbers. But if for a particular line you +% still want a line number, you can use |\yesnumber|. (I find this +% easier than many lines with |\nonumber|.) With the options |[l]| % or |[r]| the |equationarray| will appear flushleft or flushright, % with the options |[c]| the |equationarray| will be centered, % e.g. |\begin{equationarray}[l]{rclll}|. The default will be centering @@ -98,11 +121,20 @@ % % \section{The code} % +%\iffalse +%<*style> +%\fi % \begin{macrocode} \typeout{equationarray \fileversion\space<\filedate>} \typeout{English documentation\space\space<\docdate>} % \end{macrocode} % +% |equationarray| can't do anything if one doesn't provide the +% |array| package. +% \begin{macrocode} +\RequirePackage{array} +% \end{macrocode} +% % Process the |fleqn| option. % \begin{macrocode} \def\eqnarr@left{\@centering} @@ -124,6 +156,11 @@ \let\@currentlabel=\theequation \set@eqnsw \global\@eqcnt\z@ \global\@eqargcnt\z@ \let\@classz\@eqnclassz +% \end{macrocode} +% We need an extended definition of |\multicolumn| which increases +% the counter |\@eqcnt| according to the number of columns covered +% by |\multicolumn|. +% \begin{macrocode} \def\multicolumn##1##2##3{\@eqnmulticolumn{##1}{##2}{##3}% \global\advance\@eqcnt##1 \global\advance\@eqcnt\m@ne}% @@ -239,7 +276,7 @@ % \end{macro} % % \begin{macro}{\@equationcr} -% If we have |\\*| the command |\@equationcr| avoids pagebreaks +% If we have |\\*| the command |\@equationcr| avoids page breaks % \begin{macrocode} \def\@equationcr{${\ifnum0=`}\fi\@ifstar{\global\@eqpen\@M \@xequationcr}{\global\@eqpen\interdisplaylinepenalty @@ -304,5 +341,14 @@ \@namedef{endequationarray*}{\endequationarray} % \end{macrocode} % \end{macro} -% +%\iffalse +%</style> +%<+driver>\documentclass{article} +%<+driver>\usepackage{doc} +%<+driver>\usepackage{array} +%<+driver>\usepackage{eqnarray} +%<+driver>\begin{document} +%<+driver> \DocInput{eqnarray.dtx} +%<+driver>\end{document} +%\fi \endinput diff --git a/Master/texmf-dist/source/latex/eqnarray/eqnarray.dvi b/Master/texmf-dist/source/latex/eqnarray/eqnarray.dvi Binary files differdeleted file mode 100644 index 1cfd76ce439..00000000000 --- a/Master/texmf-dist/source/latex/eqnarray/eqnarray.dvi +++ /dev/null diff --git a/Master/texmf-dist/source/latex/eqnarray/eqnarray.ins b/Master/texmf-dist/source/latex/eqnarray/eqnarray.ins index ec8031fb843..4f9d6754927 100644 --- a/Master/texmf-dist/source/latex/eqnarray/eqnarray.ins +++ b/Master/texmf-dist/source/latex/eqnarray/eqnarray.ins @@ -1,5 +1,47 @@ +%% +%% This file will generate fast loadable file eqnarray.sty from +%% eqnarray.dtx when run through LaTeX or TeX +%% +%% This system is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +%% +%% IMPORTANT NOTICE: +%% +%% Permission is granted to distribute verbatim copies of this file +%% +%% No other permissions to copy or distribute this file in any form +%% are granted and in particular no permission to modify its contents. +%% +%% roland.winkler@physik.uni-regensburg.de +%% +%% --------------- start of docstrip commands ------------------ +%% \def\batchfile{eqnarray.ins} -\input docstrip - \keepsilent - \generateFile{eqnarray.sty}f{\from{eqnarray.dtx}{code}} -\end +\input docstrip.tex +\keepsilent +\preamble + +IMPORTANT NOTICE: + +You are not allowed to change this file. + +\endpreamble + +\generateFile{eqnarray.sty}{t}{% + \from{eqnarray.dtx}{style}} + +\generateFile{eqnarray.drv}{t}{% + \from{eqnarray.dtx}{driver}} + +\Msg{***********************************************************} +\Msg{*} +\Msg{* To finish the installation move the following} +\Msg{* style file into a directory searched by LaTeX:} +\Msg{*} +\Msg{* \space\space eqnarray.sty} +\Msg{*} +\Msg{* To produce the documentation run the file} +\Msg{* `eqnarray.drv' through LaTeX.} +\Msg{*} +\Msg{***********************************************************} diff --git a/Master/texmf-dist/tex/latex/eqnarray/eqnarray.sty b/Master/texmf-dist/tex/latex/eqnarray/eqnarray.sty index b4335d3d061..52399f0bba0 100644 --- a/Master/texmf-dist/tex/latex/eqnarray/eqnarray.sty +++ b/Master/texmf-dist/tex/latex/eqnarray/eqnarray.sty @@ -1,26 +1,21 @@ -%% +%% %% This is file `eqnarray.sty', %% generated with the docstrip utility. -%% +%% %% The original source files were: -%% -%% eqnarray.dtx (with options: `code') +%% +%% eqnarray.dtx (with options: `style') %% %% IMPORTANT NOTICE: %% -%% For the copyright see the source file. +%% You are not allowed to change this file. %% -%% You are *not* allowed to modify this file. -%% -%% You are *not* allowed to distribute this file. -%% For distribution of the original source see -%% the terms for copying and modification in the file eqnarray.dtx. -%% -\def\fileversion{1.2} -\def\filedate{17 May 1995} -\def\docdate{17 May 1995} +\def\fileversion{1.2a} +\def\filedate{17 July 1997} +\def\docdate{17 July 1997} \typeout{equationarray \fileversion\space<\filedate>} \typeout{English documentation\space\space<\docdate>} +\RequirePackage{array} \def\eqnarr@left{\@centering} \let\eqnarr@opts\relax \DeclareOption{fleqn}{ @@ -120,5 +115,5 @@ \let\set@eqnsw=\nonumber \equationarray} \@namedef{endequationarray*}{\endequationarray} \endinput -%% +%% %% End of file `eqnarray.sty'. diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index 09b2a539779..f22573a0140 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -147,7 +147,6 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'epix', "die 'skipping, needs C++'", 'eplain', "&MAKEcopy", 'epstopdf', "die 'skipping, needs .pl vs. noext + man help, sorry'", - 'eqnarray', "&MAKEeqnarray", 'eskdx', "&MAKEeskdx", 'esvect', "&MAKEflatten", 'ethiop', "&MAKEflatten", @@ -2318,25 +2317,8 @@ sub MAKEeplain { } -sub MAKEeqnarray { - &setup; - chdir("$DEST/doc/$whichdocformat/$package"); -open(TMP,">eqnarray.ins"); - print TMP "\\def\\batchfile{eqnarray.ins}\n"; -print TMP "\\input docstrip\n"; -print TMP " \\keepsilent\n"; -print TMP " \\generateFile{eqnarray.sty}f{\\from{eqnarray.dtx}{code}}\n"; -print TMP "\\end\n"; - close(TMP); - &buildfilelist; - &runins($standardins); - &dodvi; - &dotex; - &domakeindex; - &dosource; -} - -sub MAKEfeynmf { +sub MAKEfeynmf +{ &setup; chdir("$DEST/doc/$whichdocformat/$package"); &SYSTEM("gunzip manual.ps"); diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index a527c51642e..93805c5f541 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -69,7 +69,7 @@ my @WorkingTLP = qw( engrec enumitem envbig environ envlab epigrafica epigraph epiolmec eplain epsdice epsf epsincl epslatex-fr epspdfconversion - eqlist eqparbox errata es-tex-faq + eqlist eqnarray eqparbox errata es-tex-faq ESIEEcv esdiff esint esint-type1 eskd eskdx eso-pic esvect etaremune ethiop ethiop-t1 etoolbox euenc eulervm euproposal euro europecv eurosans everypage exam |