From 2777f1280916d66fc387772aa366124197d9252d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 5 Dec 2022 21:31:24 +0000 Subject: rm linenoamsmath, obsolete on ctan git-svn-id: svn://tug.org/texlive/trunk@65209 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/linenoamsmath/README | 15 - .../doc/latex/linenoamsmath/linenoamsmath.pdf | Bin 224791 -> 0 bytes .../source/latex/linenoamsmath/linenoamsmath.dtx | 583 --------------------- .../source/latex/linenoamsmath/linenoamsmath.ins | 26 - .../tex/latex/linenoamsmath/linenoamsmath.sty | 76 --- Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/libexec/ctan2tds | 1 + Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc | 1 - Master/tlpkg/tlpsrc/linenoamsmath.tlpsrc | 0 9 files changed, 2 insertions(+), 702 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/linenoamsmath/README delete mode 100644 Master/texmf-dist/doc/latex/linenoamsmath/linenoamsmath.pdf delete mode 100644 Master/texmf-dist/source/latex/linenoamsmath/linenoamsmath.dtx delete mode 100644 Master/texmf-dist/source/latex/linenoamsmath/linenoamsmath.ins delete mode 100644 Master/texmf-dist/tex/latex/linenoamsmath/linenoamsmath.sty delete mode 100644 Master/tlpkg/tlpsrc/linenoamsmath.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/linenoamsmath/README b/Master/texmf-dist/doc/latex/linenoamsmath/README deleted file mode 100644 index 7e3cef33bd9..00000000000 --- a/Master/texmf-dist/doc/latex/linenoamsmath/README +++ /dev/null @@ -1,15 +0,0 @@ -linenoamsmath -- Make the `amsmath' package work with the `lineno' package - -Karl Wette, 2021/09/29 - -This package patches the `amsmath' package to work with the `lineno' -package. The code I've used is largely based on the posts at -https://tex.stackexchange.com/a/461192 and -https://tex.stackexchange.com/a/443201; credit is due to their author. -In addition I've made a few refinements to handle some corner cases. - -This work is licensed under the LaTeX Project Public License 1.3 or -any later version. - -History: -* v1.0 (2021/09/29) Initial version diff --git a/Master/texmf-dist/doc/latex/linenoamsmath/linenoamsmath.pdf b/Master/texmf-dist/doc/latex/linenoamsmath/linenoamsmath.pdf deleted file mode 100644 index c150b242e9a..00000000000 Binary files a/Master/texmf-dist/doc/latex/linenoamsmath/linenoamsmath.pdf and /dev/null differ diff --git a/Master/texmf-dist/source/latex/linenoamsmath/linenoamsmath.dtx b/Master/texmf-dist/source/latex/linenoamsmath/linenoamsmath.dtx deleted file mode 100644 index 09c5bb66e57..00000000000 --- a/Master/texmf-dist/source/latex/linenoamsmath/linenoamsmath.dtx +++ /dev/null @@ -1,583 +0,0 @@ -% \iffalse meta-comment -% -% linenoamsmath.dtx -% Copyright 2021 Karl Wette -% -% 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 Karl Wette. -% -% This work consists of the files linenoamsmath.dtx and -% linenoamsmath.ins and the derived file linenoamsmath.sty. -% -% \fi -% -% \iffalse -%<*driver> -\ProvidesFile{linenoamsmath.dtx} -% -%<*package> -\NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{linenoamsmath} - [2021/09/29 v1.0 Make the amsmath package work with the lineno package] -% -% -%<*driver> -\documentclass{ltxdoc} -\usepackage[leqno]{amsmath} -\usepackage[mathlines]{linenoamsmath}[2021/09/29] -\usepackage{lipsum} -\usepackage{hyperref} -\RecordChanges -\begin{document} -\DocInput{linenoamsmath.dtx} -\end{document} -% -% \fi -% -% \CheckSum{74} -% -% \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 \~} -% -% \changes{v1.0}{2021/09/29}{Initial version} -% -% \GetFileInfo{linenoamsmath.sty} -% -% \title{The \textsf{linenoamsmath} package\thanks{This document -% corresponds to \textsf{linenoamsmath}~\fileversion, dated \filedate.}} -% \author{Karl Wette} -% -% \maketitle -% -% This package patches the -% \textsf{amsmath}\footnote{\url{https://ctan.org/pkg/amsmath}} package to work -% with the \textsf{lineno}\footnote{\url{https://ctan.org/pkg/lineno}} -% package. The code I've used is largely based on the posts at -% \url{https://tex.stackexchange.com/a/461192} and -% \url{https://tex.stackexchange.com/a/443201}; credit is due to their author. -% In addition I've made a few refinements to handle some corner cases. -% -% \section{Usage} -% -% Just include the package; it will automatically include \textsf{amsmath} and \textsf{lineno}: -% \begin{verse} -% |\usepackage{linenoamsmath}| \\ -% ... \\ -% |\linenumbers| \\ -% ... Text with line numbers ... \\ -% |\begin{align}| \\ -% ... Equations without line numbers ... \\ -% |\end{align}| -% \end{verse} -% All options to this package are passed through to \textsf{lineno}, -% so e.g.\ if you want to add line numbers to equations you can specity the -% |[mathlines]| option: -% \begin{verse} -% |\usepackage[mathlines]{linenoamsmath}| \\ -% ... \\ -% |\linenumbers| \\ -% ... Text with line numbers ... \\ -% |\begin{align}| \\ -% ... Equations with line numbers ... \\ -% |\end{align}| -% \end{verse} -% If you need to pass options to \textsf{amsmath}, you can include it manually first: -% \begin{verse} -% |\usepackage[...]{amsmath}| \\ -% |\usepackage[mathlines]{linenoamsmath}| -% \end{verse} -% -% \section{Demonstration} -% -% This section demonstrates that, with this package, line numbers are correctly -% formatted when using \textsf{amsmath} math environments. -% -% \newcounter{lipsumparagraph} -% \newcommand{\nextlipsum}{\stepcounter{lipsumparagraph}\lipsum[\thelipsumparagraph][1-4]} -% \newcommand{\crs}{\qquad\qquad\texttt{[\textbackslash\textbackslash{}*]}\\*} -% -% \linenumbers -% -% \subsection{Normal text} -% -% \nextlipsum -% -% \subsection{\texttt{equation}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{equation} -% E = m c^2 \,. -% \end{equation} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{equation} -% E = m c^2 \,. -% \end{equation} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{equation*}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{equation*} -% E = m c^2 \,. -% \end{equation*} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{equation*} -% E = m c^2 \,. -% \end{equation*} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{\textbackslash[\ldots\textbackslash]}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \[ -% E = m c^2 \,. -% \] -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \[ -% E = m c^2 \,. -% \] -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{multline}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{multline} -% \frac{1}{1 + x} = 1 - x + x^{2} - x^{3} + x^{4} - x^{5} + x^{6} - x^{7} + x^{8} - x^{9} + \mathcal{O}(x^{10}) \,. -% \end{multline} -% \nextlipsum -% \begin{multline} -% \frac{1}{1 + x} = 1 - x + x^{2} - x^{3} + x^{4} - x^{5} + x^{6} - x^{7} + x^{8} - x^{9} \\ -% + x^{10} - x^{11} + x^{12} - x^{13} + x^{14} - x^{15} + x^{16} - x^{17} + x^{18} - x^{19} + \mathcal{O}(x^{20}) \,. -% \end{multline} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{multline} -% \frac{1}{1 + x} = 1 - x + x^{2} - x^{3} + x^{4} - x^{5} + x^{6} - x^{7} + x^{8} - x^{9} + \mathcal{O}(x^{10}) \,. -% \end{multline} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{multline} -% \frac{1}{1 + x} = 1 - x + x^{2} - x^{3} + x^{4} - x^{5} + x^{6} - x^{7} + x^{8} - x^{9} \\ -% + x^{10} - x^{11} + x^{12} - x^{13} + x^{14} - x^{15} + x^{16} - x^{17} + x^{18} - x^{19} + \mathcal{O}(x^{20}) \,. -% \end{multline} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{multline*}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{multline*} -% \frac{1}{1 + x} = 1 - x + x^{2} - x^{3} + x^{4} - x^{5} + x^{6} - x^{7} + x^{8} - x^{9} + \mathcal{O}(x^{10}) \,. -% \end{multline*} -% \nextlipsum -% \begin{multline*} -% \frac{1}{1 + x} = 1 - x + x^{2} - x^{3} + x^{4} - x^{5} + x^{6} - x^{7} + x^{8} - x^{9} \crs -% + x^{10} - x^{11} + x^{12} - x^{13} + x^{14} - x^{15} + x^{16} - x^{17} + x^{18} - x^{19} + \mathcal{O}(x^{20}) \,. -% \end{multline*} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{multline*} -% \frac{1}{1 + x} = 1 - x + x^{2} - x^{3} + x^{4} - x^{5} + x^{6} - x^{7} + x^{8} - x^{9} + \mathcal{O}(x^{10}) \,. -% \end{multline*} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{multline*} -% \frac{1}{1 + x} = 1 - x + x^{2} - x^{3} + x^{4} - x^{5} + x^{6} - x^{7} + x^{8} - x^{9} \\ -% + x^{10} - x^{11} + x^{12} - x^{13} + x^{14} - x^{15} + x^{16} - x^{17} + x^{18} - x^{19} + \mathcal{O}(x^{20}) \,. -% \end{multline*} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{gather}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{gather} -% E = m c^2 \,. -% \end{gather} -% \nextlipsum -% \begin{gather} -% E = m c^2 \,, \\ -% E^2 = p^2 c^2 + m_0^2 c^4 \,. -% \end{gather} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{gather} -% E = m c^2 \,. -% \end{gather} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{gather} -% E = m c^2 \,, \\ -% E^2 = p^2 c^2 + m_0^2 c^4 \,. -% \end{gather} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{gather*}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{gather*} -% E = m c^2 \,. -% \end{gather*} -% \nextlipsum -% \begin{gather*} -% E = m c^2 \,, \crs -% E^2 = p^2 c^2 + m_0^2 c^4 \,. -% \end{gather*} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{gather*} -% E = m c^2 \,. -% \end{gather*} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{gather*} -% E = m c^2 \,, \\ -% E^2 = p^2 c^2 + m_0^2 c^4 \,. -% \end{gather*} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{align}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{align} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{align} -% \nextlipsum -% \begin{align} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{align} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{align} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{align} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{align} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{align} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{align*}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{align*} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{align*} -% \nextlipsum -% \begin{align*} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \crs -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{align*} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{align*} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{align*} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{align*} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{align*} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{alignat}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{alignat}{2} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{alignat} -% \nextlipsum -% \begin{alignat}{2} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{alignat} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{alignat}{2} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{alignat} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{alignat}{2} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{alignat} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{alignat*}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{alignat*}{2} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{alignat*} -% \nextlipsum -% \begin{alignat*}{2} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \crs -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{alignat*} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{alignat*}{2} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{alignat*} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{alignat*}{2} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{alignat*} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{flalign}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{flalign} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{flalign} -% \nextlipsum -% \begin{flalign} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{flalign} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{flalign} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{flalign} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{flalign} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{flalign} -% \end{linenomath*} -% \nextlipsum -% -% \subsection{\texttt{flalign*}} -% -% \subsection{With line numbers in equations} -% \nextlipsum -% \begin{flalign*} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{flalign*} -% \nextlipsum -% \begin{flalign*} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \crs -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{flalign*} -% \nextlipsum -% -% \subsection{Without line numbers in equations} -% \nextlipsum -% \begin{linenomath*} -% \begin{flalign*} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,. -% \end{flalign*} -% \end{linenomath*} -% \nextlipsum -% \begin{linenomath*} -% \begin{flalign*} -% \nabla \cdot \vec E = 0 \,, &\quad \nabla \times \vec E = - \frac{\partial \vec B}{\partial t} \,, \\ -% \nabla \cdot \vec B = 0 \,, &\quad \nabla \times \vec B = \frac{1}{c^2} \frac{\partial \vec E}{\partial t} \,. -% \end{flalign*} -% \end{linenomath*} -% \nextlipsum -% -% \nolinenumbers -% -% \StopEventually{} -% -% \section{Implementation} -% -% All options to this package are passed through to \textsf{lineno}. -% \begin{macrocode} -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{lineno}} -\ProcessOptions\relax -% \end{macrocode} -% Include \textsf{amsmath} and \textsf{lineno}. -% \begin{macrocode} -\RequirePackage{amsmath} -\RequirePackage{lineno} -% \end{macrocode} -% Needs \textsf{etoolbox} for patching macros. -% \begin{macrocode} -\RequirePackage{etoolbox} -% \end{macrocode} -% Patch math environments: -% \begin{itemize} -% -% \item Setting |\postdisplaypenalty=0| removes extra line numbers from -% \textsf{amsmath} math environments. -% -% \item Patching |\math@cr@| to add |\linenoamsmath@ams@eqpen| to |\@eqpen|, -% then setting |\linenoamsmath@ams@eqpen| to |\interdisplaylinepenalty|, -% preserves line numbers when equations are separated using the |\\*| line -% break instead of |\\|. -% -% \end{itemize} -% \begin{macrocode} -\newcommand*\linenoamsmath@patch[1]{% - \cspreto{#1}{\linenomath}% - \cspreto{#1*}{\linenomath}% - \csappto{end#1}{\endlinenomath}% - \csappto{end#1*}{\endlinenomath}% -} -\newcount\linenoamsmath@ams@eqpen -\cspreto{math@cr@}{\global\@eqpen\numexpr\@eqpen+\linenoamsmath@ams@eqpen\relax} -\newcommand*\linenoamsmath@patch@ams[1]{% - \cspreto{#1}{% - \linenomath% - \postdisplaypenalty=0% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% - }% - \cspreto{#1*}{% - \linenomath% - \postdisplaypenalty=0% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% - }% - \csappto{end#1}{% - \global\linenoamsmath@ams@eqpen\z@% - \endlinenomath% - }% - \csappto{end#1*}{% - \global\linenoamsmath@ams@eqpen\z@% - \endlinenomath% - }% -} -\linenoamsmath@patch{equation} -\linenoamsmath@patch@ams{multline} -\linenoamsmath@patch@ams{gather} -\linenoamsmath@patch@ams{align} -\linenoamsmath@patch@ams{alignat} -\linenoamsmath@patch@ams{flalign} -% \end{macrocode} -% Patch |\mmeasure@| which is used internally by |multline|: -% \begin{itemize} -% -% \item Setting |\interdisplaylinepenalty=0| removes an extra line number from -% the beginning of a multi-line |multline| where line numbers in equations are -% turned on. -% -% \item Adding |\\| to the end of the argument of |\mmeasure@| removes an extra -% line number from the beginning of a single-line |multline| where line -% numbers in equations are turned off. -% -% \item Need to set |\linenoamsmath@ams@eqpen| to zero while in this macro to -% avoid creating extra line numbers. -% -% \end{itemize} -% \begin{macrocode} -\let\linenoamsmath@ams@mmeasure\mmeasure@ -\def\mmeasure@#1{% - \global\linenoamsmath@ams@eqpen\z@% - \begingroup% - \interdisplaylinepenalty=0% - \linenoamsmath@ams@mmeasure{#1\\}% - \endgroup% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% -} -% \end{macrocode} -% -% \PrintChanges -% \Finale -\endinput -% \endinput -% Local Variables: -% mode: doctex -% TeX-master: t -% End: diff --git a/Master/texmf-dist/source/latex/linenoamsmath/linenoamsmath.ins b/Master/texmf-dist/source/latex/linenoamsmath/linenoamsmath.ins deleted file mode 100644 index 0bf4ed10b1e..00000000000 --- a/Master/texmf-dist/source/latex/linenoamsmath/linenoamsmath.ins +++ /dev/null @@ -1,26 +0,0 @@ -% linenoamsmath.ins -% Copyright 2021 Karl Wette -% -% 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 Karl Wette. -% -% This work consists of the files linenoamsmath.dtx and -% linenoamsmath.ins and the derived file linenoamsmath.sty. - -\input docstrip.tex -\keepsilent - -\usedir{tex/latex/linenoamsmath} - -\generate{\file{linenoamsmath.sty}{\from{linenoamsmath.dtx}{package}}} - -\endbatchfile diff --git a/Master/texmf-dist/tex/latex/linenoamsmath/linenoamsmath.sty b/Master/texmf-dist/tex/latex/linenoamsmath/linenoamsmath.sty deleted file mode 100644 index 5915e6c0237..00000000000 --- a/Master/texmf-dist/tex/latex/linenoamsmath/linenoamsmath.sty +++ /dev/null @@ -1,76 +0,0 @@ -%% -%% This is file `linenoamsmath.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% linenoamsmath.dtx (with options: `package') -%% -%% IMPORTANT NOTICE: -%% -%% For the copyright see the source file. -%% -%% Any modified versions of this file must be renamed -%% with new filenames distinct from linenoamsmath.sty. -%% -%% For distribution of the original source see the terms -%% for copying and modification in the file linenoamsmath.dtx. -%% -%% This generated file may be distributed as long as the -%% original source files, as listed above, are part of the -%% same distribution. (The sources need not necessarily be -%% in the same archive or directory.) -\NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{linenoamsmath} - [2021/09/29 v1.0 Make the amsmath package work with the lineno package] -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{lineno}} -\ProcessOptions\relax -\RequirePackage{amsmath} -\RequirePackage{lineno} -\RequirePackage{etoolbox} -\newcommand*\linenoamsmath@patch[1]{% - \cspreto{#1}{\linenomath}% - \cspreto{#1*}{\linenomath}% - \csappto{end#1}{\endlinenomath}% - \csappto{end#1*}{\endlinenomath}% -} -\newcount\linenoamsmath@ams@eqpen -\cspreto{math@cr@}{\global\@eqpen\numexpr\@eqpen+\linenoamsmath@ams@eqpen\relax} -\newcommand*\linenoamsmath@patch@ams[1]{% - \cspreto{#1}{% - \linenomath% - \postdisplaypenalty=0% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% - }% - \cspreto{#1*}{% - \linenomath% - \postdisplaypenalty=0% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% - }% - \csappto{end#1}{% - \global\linenoamsmath@ams@eqpen\z@% - \endlinenomath% - }% - \csappto{end#1*}{% - \global\linenoamsmath@ams@eqpen\z@% - \endlinenomath% - }% -} -\linenoamsmath@patch{equation} -\linenoamsmath@patch@ams{multline} -\linenoamsmath@patch@ams{gather} -\linenoamsmath@patch@ams{align} -\linenoamsmath@patch@ams{alignat} -\linenoamsmath@patch@ams{flalign} -\let\linenoamsmath@ams@mmeasure\mmeasure@ -\def\mmeasure@#1{% - \global\linenoamsmath@ams@eqpen\z@% - \begingroup% - \interdisplaylinepenalty=0% - \linenoamsmath@ams@mmeasure{#1\\}% - \endgroup% - \global\linenoamsmath@ams@eqpen\interdisplaylinepenalty% -} -\endinput -%% -%% End of file `linenoamsmath.sty'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 2fd78858ea8..2eb78cb1d5c 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -484,7 +484,7 @@ my @TLP_working = qw( libgreek librarian librebaskerville librebodoni librecaslon librefranklin libris lie-hasse liftarm light-latex-make ligtype lilyglyphs limap limecv lineara linebreaker linegoal - lineno linenoamsmath ling-macros linguex linguisticspro linop + lineno ling-macros linguex linguisticspro linop lion-msc lipsum lisp-on-tex listbib listing listings listings-ext listingsutf8 listlbls listliketab listofitems listofsymbols diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 09a35432e67..99a1a74e0a8 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -812,6 +812,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'linearA', "die 'skipping, use lineara'", 'LinearA', "die 'skipping, use lineara'", 'lineno', "&MAKEflatten", + 'linenoamsmath', "skipping, obsolete on CTAN", 'lintex', "die 'skipping, compiled program'", 'list', "die 'skipping, part of knuth-local'", 'listofanswers', "die 'skipping, noinfo license'", diff --git a/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc b/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc index 00064f73139..9fc550ad572 100644 --- a/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc @@ -127,7 +127,6 @@ depend karnaughmap depend kvmap depend letterswitharrows depend lie-hasse -depend linenoamsmath depend logicproof depend longdivision depend lpform diff --git a/Master/tlpkg/tlpsrc/linenoamsmath.tlpsrc b/Master/tlpkg/tlpsrc/linenoamsmath.tlpsrc deleted file mode 100644 index e69de29bb2d..00000000000 -- cgit v1.2.3