From 400d3bebea20efe3db54f2609c09401b4d2e5dd4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 21 Jul 2024 20:21:34 +0000 Subject: subeqnarray (21jul24) git-svn-id: svn://tug.org/texlive/trunk@71865 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/subeqnarray/CATALOG | 17 +++++ Master/texmf-dist/doc/latex/subeqnarray/MANIFEST | 19 +++++ Master/texmf-dist/doc/latex/subeqnarray/README | 16 ++++ .../texmf-dist/doc/latex/subeqnarray/manifest.txt | 15 ---- .../doc/latex/subeqnarray/subeqnarray-sample.pdf | Bin 0 -> 68356 bytes .../doc/latex/subeqnarray/subeqnarray-sample.tex | 79 +++++++++++++++++++ .../doc/latex/subeqnarray/subeqnarray.pdf | Bin 126532 -> 212013 bytes .../doc/latex/subeqnarray/subeqnarray.tex | 79 ------------------- .../source/latex/subeqnarray/subeqnarray.dtx | 85 +++++++++------------ .../source/latex/subeqnarray/subeqnarray.ins | 56 +++++++------- .../tex/latex/subeqnarray/subeqnarray.sty | 17 ++--- 11 files changed, 197 insertions(+), 186 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/subeqnarray/CATALOG create mode 100644 Master/texmf-dist/doc/latex/subeqnarray/MANIFEST create mode 100644 Master/texmf-dist/doc/latex/subeqnarray/README delete mode 100644 Master/texmf-dist/doc/latex/subeqnarray/manifest.txt create mode 100644 Master/texmf-dist/doc/latex/subeqnarray/subeqnarray-sample.pdf create mode 100644 Master/texmf-dist/doc/latex/subeqnarray/subeqnarray-sample.tex delete mode 100644 Master/texmf-dist/doc/latex/subeqnarray/subeqnarray.tex diff --git a/Master/texmf-dist/doc/latex/subeqnarray/CATALOG b/Master/texmf-dist/doc/latex/subeqnarray/CATALOG new file mode 100644 index 00000000000..5e037823f88 --- /dev/null +++ b/Master/texmf-dist/doc/latex/subeqnarray/CATALOG @@ -0,0 +1,17 @@ +Name: subeqnarray +Problems-To: texniek at texniek.nl +Author: J.L. Braams, Donald Arsenau, Stephen Gildea +Version: 2.1e + +Description: + +The subeqnarray package provides two new environments subeqnarray and +subeqnarray* which behave like LaTeX's eqnarray and subeqnarray environments +except the individual lines are numbered like 1a, 1b, 1c etc. +This package is not compatible with the package subeqn. + +Keywords: latex equations, + +Address: +TeXniek +The Netherlands diff --git a/Master/texmf-dist/doc/latex/subeqnarray/MANIFEST b/Master/texmf-dist/doc/latex/subeqnarray/MANIFEST new file mode 100644 index 00000000000..7c253639719 --- /dev/null +++ b/Master/texmf-dist/doc/latex/subeqnarray/MANIFEST @@ -0,0 +1,19 @@ +% +% CONTENTS OF THE SUBEQNARRAY PACKAGE +% =================================== +% +% README -- A short introduction +% MANIFEST -- A list of files +% CATALOG -- An entry for the macro catalog +% +% subeqnarray.dtx -- Numbering of individual lines of an eqnarray +% environment as subexpressions; not compatible +% with subeqn.dtx +% subeqnarray.pdf -- A `printed´ version of subeqnarray.dtx +% subeqnarray-sample.pdf -- The `printed' versino of the sample file +% +% Installation script for the various parts: +% ------------------------------------------- +% +% subeqnarray.ins -- produces subeqnarray.sty and subeqnarray.tex + diff --git a/Master/texmf-dist/doc/latex/subeqnarray/README b/Master/texmf-dist/doc/latex/subeqnarray/README new file mode 100644 index 00000000000..e52f27f0bb9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/subeqnarray/README @@ -0,0 +1,16 @@ + subeqnarray bundle + + July 20, 2024 + +This bundle contains a package that provides two new environments +subeqnarray and subeqnarray* which behave like LaTeX's eqnarray and +subeqnarray environments except the individual lines are numbered like +1a, 1b, 1c etc. +This package is not compatible with the package subeqn. + +Copyright (C) 2024 Johannes L. Braams texniek(at)texniek.nl + +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.3c of the License, or any later version. diff --git a/Master/texmf-dist/doc/latex/subeqnarray/manifest.txt b/Master/texmf-dist/doc/latex/subeqnarray/manifest.txt deleted file mode 100644 index f54bba3c8a8..00000000000 --- a/Master/texmf-dist/doc/latex/subeqnarray/manifest.txt +++ /dev/null @@ -1,15 +0,0 @@ -% -% CONTENTS OF THE SUBEQNARRAY PACKAGE -% =================================== -% -% manifest.txt -- This file -% -% subeqnarray.dtx -- Numbering of individual lines of an eqnarray -% environment as subexpressions; not compatible -% with subeqn.dtx -% subeqnarray.pdf -- A `printed´ version of subeqnarray.dtx -% -% Installation script for the various parts: -% ------------------------------------------- -% -% subeqnarray.ins -- produces subeqnarray.sty and subeqnarray.tex diff --git a/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray-sample.pdf b/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray-sample.pdf new file mode 100644 index 00000000000..2345c08f589 Binary files /dev/null and b/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray-sample.pdf differ diff --git a/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray-sample.tex b/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray-sample.tex new file mode 100644 index 00000000000..b2a63516d3f --- /dev/null +++ b/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray-sample.tex @@ -0,0 +1,79 @@ +%% +%% This is file `subeqnarray-sample.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% subeqnarray.dtx (with options: `sample') +%% +%% Copyright (C) 1999-2024 Johannes Braams. All rights reserved. +%% +%% This file was generated from file(s) of the subeqnarray package. +%% ---------------------------------------------------------------- +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% 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.3c or later is part of all distributions of LaTeX +%% version 2008 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the +%% subeqnarray package. You may however distribute the subeqnarray +%% package without such generated files. +%% +%% The list of all files belonging to the subeqnarray package is +%% given in the file `manifest.txt. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% +%% Error reports please to: J. Braams +%% TeXniek +%% Email: texniek at texniek.nl +\ProvidesFile{subeqnarray-sample.tex} + [2024/07/20 v2.1e subeqnarray package] +\documentclass[fleqn]{article} +\usepackage{subeqnarray} +\begin{document} +\title{Sample subeqnarray} +\author{Johannes L. Braams} +\date{\today} +\maketitle + +This document shows an example of the use of the \emph{subeqnarray} +environment. Here is one: +\begin{subeqnarray} +\label{eqw} +\slabel{eq0} + x & = & a \times b \\ +\slabel{eq1} + & = & z + t\\ +\slabel{eq2} + & = & z + t +\end{subeqnarray} +The first equation is number~\ref{eq0}, the last is~\ref{eq2}. The +equation as a whole can be referred to as equation~\ref{eqw}. + +To show that equation numbers behave normally, here's an +\emph{eqnarray} environment. +\begin{eqnarray} +\label{eq10} + x & = & a \times b \\ +\label{eq11} + & = & z + t\\ +\label{eq12} + & = & z + t +\end{eqnarray} + +These are equations~\ref{eq10},~\ref{eq11} and~\ref{eq12}. +\end{document} +\endinput +%% +%% End of file `subeqnarray-sample.tex'. diff --git a/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray.pdf b/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray.pdf index 937120f21dc..d69c2335130 100644 Binary files a/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray.pdf and b/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray.pdf differ diff --git a/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray.tex b/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray.tex deleted file mode 100644 index c119fe16b10..00000000000 --- a/Master/texmf-dist/doc/latex/subeqnarray/subeqnarray.tex +++ /dev/null @@ -1,79 +0,0 @@ -%% -%% This is file `subeqnarray.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% subeqnarray.dtx (with options: `sample') -%% -%% Copyright (C) 1999-2004 Johannes Braams. All rights reserved. -%% -%% This file was generated from file(s) of the subeqnarray package. -%% ---------------------------------------------------------------- -%% -%% It 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 2003/12/01 or later. -%% -%% This work has the LPPL maintenance status "maintained". -%% -%% The Current Maintainer of this work is Johannes Braams. -%% -%% This file may only be distributed together with a copy of the -%% subeqnarray package. You may however distribute the subeqnarray -%% package without such generated files. -%% -%% The list of all files belonging to the subeqnarray package is -%% given in the file `manifest.txt. -%% -%% The list of derived (unpacked) files belonging to the distribution -%% and covered by LPPL is defined by the unpacking scripts (with -%% extension .ins) which are part of the distribution. -%% Copyright (C) 1988--2004 by Johannes Braams, -%% all rights resserved -%% -%% Error reports please to: J. Braams -%% TeXniek -%% Kooienswater 62 -%% 2715 AJ Zoetermeer -%% The Netherlands -%% Email: texniek at braams.cistron.nl -\ProvidesFile{subeqnarray.tex} - [2004/04/15 v2.1c subeqnarray package] -\documentclass[fleqn]{article} -\usepackage{subeqnarray} -\begin{document} -This document shows an example of the use of the \emph{subeqnarray} -environment. Here is one: -\begin{subeqnarray} -\label{eqw} -\slabel{eq0} - x & = & a \times b \\ -\slabel{eq1} - & = & z + t\\ -\slabel{eq2} - & = & z + t -\end{subeqnarray} -The first equation is number~\ref{eq0}, the last is~\ref{eq2}. The -equation as a whole can be referred to as equation~\ref{eqw}. - -To show that equation numbers behave normally, here's an -\emph{eqnarray} environment. -\begin{eqnarray} -\label{eq10} - x & = & a \times b \\ -\label{eq11} - & = & z + t\\ -\label{eq12} - & = & z + t -\end{eqnarray} - -These are equations~\ref{eq10},~\ref{eq11} and~\ref{eq12}. -\end{document} -\endinput -%% -%% End of file `subeqnarray.tex'. diff --git a/Master/texmf-dist/source/latex/subeqnarray/subeqnarray.dtx b/Master/texmf-dist/source/latex/subeqnarray/subeqnarray.dtx index 5b3555c3120..d460ccfca32 100644 --- a/Master/texmf-dist/source/latex/subeqnarray/subeqnarray.dtx +++ b/Master/texmf-dist/source/latex/subeqnarray/subeqnarray.dtx @@ -1,43 +1,40 @@ % \iffalse meta-comment % -% Copyright 1994-2004 Johannes Braams. All rights reserved. -% +% Copyright 1998-2024 Johannes L. Braams. All rights reserved. +% % This file is part of the subeqnarray package. % --------------------------------------------- -% +% % It may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % 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 2003/12/01 or later. -% +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008 or later. +% % This work has the LPPL maintenance status "maintained". -% +% % The Current Maintainer of this work is Johannes Braams. -% -% The list of all files belonging to the subeqnarray package is -% given in the file `manifest.txt'. -% +% +% The list of all files belonging to the supertabular package is +% given in the file `MANIFEST'. +% % The list of derived (unpacked) files belonging to the distribution % and covered by LPPL is defined by the unpacking scripts (with % extension .ins) which are part of the distribution. % \fi -% \CheckSum{259} -%\iffalse +% +% \CheckSum{264} +% +% \iffalse % % Subeqnarray package to use with LaTeX2e % -%% Copyright (C) 1988--2004 by Johannes Braams, -%% all rights resserved %% %% Error reports please to: J. Braams %% TeXniek -%% Kooienswater 62 -%% 2715 AJ Zoetermeer -%% The Netherlands -%% Email: texniek at braams.cistron.nl +%% Email: texniek at texniek.nl % % \section{Producing the documentation} % @@ -48,10 +45,10 @@ % %\NeedsTeXFormat{LaTeX2e}[1998/06/01] %\ProvidesPackage{subeqnarray} -%\ProvidesFile{subeqnarray.tex} +%\ProvidesFile{subeqnarray-sample.tex} %\ProvidesFile{subeqnarray.drv} %\ProvidesFile{subeqnarray.dtx} - [2004/04/15 v2.1c subeqnarray package] + [2024/07/20 v2.1e subeqnarray package] %<*driver> \documentclass{ltxdoc} @@ -82,10 +79,8 @@ % % \author{Johannes Braams\\ % \TeX niek\\ -% Kersengaarde 33\\ -% 2723 BP Zoetermeer\\ % The Netherlands\\ -% Internet: \texttt{TeXniek at braams.cistron.nl}} +% Internet: \texttt{texniek at texniek.nl}} % % \date{\filedate} % @@ -114,8 +109,8 @@ % \changes{2.0}{1993/11/02}{Added support for the leqno option} % \changes{2.0}{1993/11/02}{Added support for the fleqn option} % \changes{2.1}{1994/02/09}{Upgrade for LaTeX2e} -% \changes{2.1b}{1999/03/03}{Changed licensing remarks to use LPPL} -% \changes{2.1c}{2004/04/15}{Updated address information} +% \changes{v2.1b}{1999/03/03}{Changed licensing remarks to use LPPL} +% \changes{v2.1e}{2024/07/20}{Updated contact info} % % \section{Initial Code} % @@ -129,8 +124,8 @@ % \end{macro} % % \begin{macro}{\thesubequation} -% The representation o the counter \texttt{subequation} includes -% the \texttt{equation} counter +% The representation of the counter \texttt{subequation} includes +% the \texttt{equation} counter. % \begin{macrocode} \def\thesubequation{\theequation\alph{subequation}} % \end{macrocode} @@ -197,7 +192,7 @@ \ExecuteOptions{reqno,deqn} % \end{macrocode} % -% Now see if the use specified any options. +% Now see if the user specified any options. % \begin{macrocode} \ProcessOptions % \end{macrocode} @@ -206,9 +201,9 @@ % % \begin{macro}{\slabel} % A new label command to refer to subequations. It works -% like the |\label| command and was taken from \texttt{latex.tex}. +% like the |\label| command and was taken from \texttt{latex.ltx}. % -% |\slabel{FOO}| writes the following on file |\@auxout| +% |\slabel{FOO}| writes the following on file |\@auxout|: % % |\newlabel{FOO}{{eval(\@currentlabel)}{eval(\thepage)}}| % @@ -285,7 +280,7 @@ % \end{macro} % % \begin{macro}{\@@subeqncr} -% Ceck the number of columns, and insert extra |&| if needed. If +% Check the number of columns, and insert extra |&| if needed. If % there appear to be more than 3 columns an error is signalled. % \begin{macrocode} \def\@@subeqncr{\let\@tempa\relax @@ -314,7 +309,6 @@ % \begin{macrocode} \let\@ssubeqncr\@subeqncr % -%<*sample> % \end{macrocode} % \end{macro} % @@ -328,6 +322,11 @@ \documentclass[fleqn]{article} \usepackage{subeqnarray} \begin{document} +\title{Sample subeqnarray} +\author{Johannes L. Braams} +\date{\today} +\maketitle + This document shows an example of the use of the \emph{subeqnarray} environment. Here is one: \begin{subeqnarray} @@ -360,20 +359,4 @@ These are equations~\ref{eq10},~\ref{eq11} and~\ref{eq12}. % % \Finale \endinput -% -%% \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 \~} -%% +% \ No newline at end of file diff --git a/Master/texmf-dist/source/latex/subeqnarray/subeqnarray.ins b/Master/texmf-dist/source/latex/subeqnarray/subeqnarray.ins index efa2d4da606..f28eb4717a2 100644 --- a/Master/texmf-dist/source/latex/subeqnarray/subeqnarray.ins +++ b/Master/texmf-dist/source/latex/subeqnarray/subeqnarray.ins @@ -1,53 +1,49 @@ -%% +% %% This file will generate fast loadable files and documentation %% driver files from the doc files in this package when run through %% LaTeX or TeX. %% -%% Copyright 1989-2004 Johannes L. Braams. All rights reserved. -%% -%% This file is part of the subeqnarray package. -%% --------------------------------------------- -%% +%% Copyright (C) 1999-2024 Johannes L. Braams. All rights reserved. +%% +%% This file is part of the eqnarray distribution. +%% ----------------------------------------------- +%% %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 +%% conditions of the LaTeX Project Public License, either version 1.3c %% 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 2003/12/01 or later. -%% -%% This work has the LPPL maintenance status "maintained". -%% -%% The Current Maintainer of this work is Johannes Braams. -%% -%% The list of all files belonging to the subeqnarray package is -%% given in the file `manifest.txt. -%% -%% The list of derived (unpacked) files belonging to the distribution -%% and covered by LPPL is defined by the unpacking scripts (with -%% extension .ins) which are part of the distribution. +%% https://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2008 or later. +%% +%% This file has the LPPL maintenance status "maintained". +%% +%% As this file contains legal notices, it is NOT PERMITTED to modify +%% this file in any way that the legal information placed into +%% generated files is changed (i.e., the files generated when the +%% original file is executed). This restriction does not apply if +%% (parts of) the content is reused in a different WORK producing its +%% own generated files. %% %% --------------- start of docstrip commands ------------------ %% -% ignored commands -\def\filedate{2004/04/15} -\def\batchfile{subeqnarray.ins} + \input docstrip.tex \preamble -Copyright (C) 1999-2004 Johannes Braams. All rights reserved. +Copyright (C) 1999-2024 Johannes Braams. All rights reserved. This file was generated from file(s) of the subeqnarray package. ---------------------------------------------------------------- It may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either version 1.3 +conditions of the LaTeX Project Public License, either version 1.3c 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 2003/12/01 or later. +and version 1.3c or later is part of all distributions of LaTeX +version 2008 or later. This work has the LPPL maintenance status "maintained". @@ -71,7 +67,7 @@ extension .ins) which are part of the distribution. % The sample file -\generateFile{subeqnarray.tex}{t}{\from{subeqnarray.dtx}{sample}} +\generateFile{subeqnarray-sample.tex}{t}{\from{subeqnarray.dtx}{sample}} \Msg{***********************************************************} \Msg{*} @@ -89,4 +85,4 @@ extension .ins) which are part of the distribution. \Msg{* Happy TeXing} \Msg{***********************************************************} -\endinput +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/subeqnarray/subeqnarray.sty b/Master/texmf-dist/tex/latex/subeqnarray/subeqnarray.sty index 1223f1bb376..1703304b514 100644 --- a/Master/texmf-dist/tex/latex/subeqnarray/subeqnarray.sty +++ b/Master/texmf-dist/tex/latex/subeqnarray/subeqnarray.sty @@ -6,18 +6,18 @@ %% %% subeqnarray.dtx (with options: `package') %% -%% Copyright (C) 1999-2004 Johannes Braams. All rights reserved. +%% Copyright (C) 1999-2024 Johannes Braams. All rights reserved. %% %% This file was generated from file(s) of the subeqnarray package. %% ---------------------------------------------------------------- %% %% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 +%% conditions of the LaTeX Project Public License, either version 1.3c %% 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 2003/12/01 or later. +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2008 or later. %% %% This work has the LPPL maintenance status "maintained". %% @@ -33,18 +33,13 @@ %% The list of derived (unpacked) files belonging to the distribution %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. -%% Copyright (C) 1988--2004 by Johannes Braams, -%% all rights resserved %% %% Error reports please to: J. Braams %% TeXniek -%% Kooienswater 62 -%% 2715 AJ Zoetermeer -%% The Netherlands -%% Email: texniek at braams.cistron.nl +%% Email: texniek at texniek.nl \NeedsTeXFormat{LaTeX2e}[1998/06/01] \ProvidesPackage{subeqnarray} - [2004/04/15 v2.1c subeqnarray package] + [2024/07/20 v2.1e subeqnarray package] \newcounter{subequation}[equation] \def\thesubequation{\theequation\alph{subequation}} \DeclareOption{leqno}{% -- cgit v1.2.3