texlive[73638] Master/texmf-dist: lineno (29jan25)
commits+karl at tug.org
commits+karl at tug.org
Wed Jan 29 21:30:48 CET 2025
Revision: 73638
https://tug.org/svn/texlive?view=revision&revision=73638
Author: karl
Date: 2025-01-29 21:30:47 +0100 (Wed, 29 Jan 2025)
Log Message:
-----------
lineno (29jan25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/lineno/CHANGEs.txt
trunk/Master/texmf-dist/doc/latex/lineno/README.md
trunk/Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt
trunk/Master/texmf-dist/doc/latex/lineno/fnlineno.pdf
trunk/Master/texmf-dist/doc/latex/lineno/fnlineno.tex
trunk/Master/texmf-dist/doc/latex/lineno/lineno.pdf
trunk/Master/texmf-dist/doc/latex/lineno/lineno.tex
trunk/Master/texmf-dist/doc/latex/lineno/linenoamsmathdemo.pdf
trunk/Master/texmf-dist/doc/latex/lineno/lnosuppl.pdf
trunk/Master/texmf-dist/doc/latex/lineno/lnosuppl.tex
trunk/Master/texmf-dist/doc/latex/lineno/ulineno.pdf
trunk/Master/texmf-dist/doc/latex/lineno/ulineno.tex
trunk/Master/texmf-dist/tex/latex/lineno/edtable.sty
trunk/Master/texmf-dist/tex/latex/lineno/fnlineno.sty
trunk/Master/texmf-dist/tex/latex/lineno/lineno.sty
Modified: trunk/Master/texmf-dist/doc/latex/lineno/CHANGEs.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lineno/CHANGEs.txt 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/doc/latex/lineno/CHANGEs.txt 2025-01-29 20:30:47 UTC (rev 73638)
@@ -1,3 +1,8 @@
+CHANGES for lineno pkg v5.4 2025/01/29:
+
+1. Option to allow ~\linelabel~ with ~\nolinenumbers~.
+
+
CHANGES for lineno pkg v5.3 2023/05/20:
1. Handle special value of \prevdepth=-1000pt;
Modified: trunk/Master/texmf-dist/doc/latex/lineno/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lineno/README.md 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/doc/latex/lineno/README.md 2025-01-29 20:30:47 UTC (rev 73638)
@@ -1,6 +1,6 @@
-# lineno.sty v5.3, fnlineno.sty v0.55
+# lineno.sty v5.4, fnlineno.sty v0.55
-2023-05-20
+2025-01-29
The LaTeX package lineno.sty provides line numbers on paragraphs. After TeX has
broken a paragraph into lines there will be line numbers attached to them, with
@@ -10,7 +10,7 @@
- Copyright 1995--2003 Stephan I. Böttcher
- Copyright 2002--2005 Uwe Lück for versions 4.x and code from former Ednotes
- Copyright 2011 Uwe Lück for fnlineno.sty/tex/pdf
-- Copyright 2021--2023 Karl Wette for versions 5.x
+- Copyright 2021--2025 Karl Wette for versions 5.x
The files can be redistributed and/or modified under
the terms of the LaTeX Project Public License; either
@@ -108,10 +108,10 @@
** o `Files' and **
** o `Installation and usage'. ] **
- 2004-09-13 Uwe L"uck [(UL)] is new maintainer for lineno.sty.
+ 2004-09-13 Uwe Lück [(UL)] is new maintainer for lineno.sty.
lineno.sty served the purpose for which I wrote it years ago. Uwe
- L"uck uses lineno.sty with his Ednotes package, which required quite a
+ Lück uses lineno.sty with his Ednotes package, which required quite a
few changes and fixes. His package depends on lineno, therefore
Uwe agreed to take over the maintenance of lineno.sty.
Modified: trunk/Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/doc/latex/lineno/SRCFILEs.txt 2025-01-29 20:30:47 UTC (rev 73638)
@@ -1,10 +1,10 @@
ednmath0.sty 2005/01/10 v0.2b math support for lineno/ednotes (ul)
edtable.sty 2005/10/03 v1.3c arrays with lineno + ednotes (ul)
fnlineno.sty 2011/01/07 v0.55 numbers to footnote lines (UL)
-lineno.sty 2023/05/20 line numbers on paragraphs v5.3
+lineno.sty 2025/01/29 line numbers on paragraphs v5.4
vplref.sty 2005/04/25 v0.2a page-line cross-refs
fnlineno.tex 2011/02/14 documenting fnlineno.sty (UL)
-lineno.tex 2023/05/20 line numbers on paragraphs v5.3
+lineno.tex 2025/01/29 line numbers on paragraphs v5.4
lnosuppl.tex 2011/02/16 documenting supplementary files
ulineno.tex 2001/08/03 lineno.sty users manual
linenoamsmathdemo.tex 2021/09/30 Make amsmath work with lineno
Modified: trunk/Master/texmf-dist/doc/latex/lineno/fnlineno.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lineno/fnlineno.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lineno/fnlineno.tex 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/doc/latex/lineno/fnlineno.tex 2025-01-29 20:30:47 UTC (rev 73638)
@@ -10,7 +10,154 @@
\MakeJobDoc{17}{\SectionLevelThreeParseInput} %% 2010/12/16
}
\documentclass{article}%% TODO paper dimensions!?
-\input{makedoc.cfg} %% shared formatting settings
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% \ProvidesFile{makedoc.cfg}[{2013/03/25 documentation settings}]
+%%
+%% \author{Uwe L\"uck\thanks{%
+%% \url{http://contact-ednotes.sty.de.vu}}}
+%%
+%% 'hyperref':
+\RequirePackage{ifpdf}
+\usepackage[%
+ \ifpdf
+% bookmarks=false, %% 2010/12/22
+% bookmarksnumbered,
+ bookmarksopen, %% 2011/01/24!?
+ bookmarksopenlevel=2, %% 2011/01/23
+% pdfpagemode=UseNone,
+% pdfstartpage=10,
+ pdfstartview=FitH, %% 2012/11/26 again
+% pdfstartview=0 0 100, %% 2011/08/22
+% pdfstartview={XYZ null null 1}, %% 2011/08/25
+% pdfstartview={XYZ null null null},%% 2011/08/25
+% pdfstartview={XYZ null null .5}, %% 2011/08/26
+% pdffitwindow=true, %% 2011/08/22
+ citebordercolor={ .6 1 .6},
+ filebordercolor={1 .6 1},
+ linkbordercolor={1 .9 .7},
+ urlbordercolor={ .7 1 1}, %% playing 2011/01/24
+ \fi
+]{hyperref}
+\hypersetup{%
+ pdfauthor={Uwe L\374ck}%
+}
+%% metadata, |\MDkeywords{<text>}|, |\MDkeywordsstring|:
+%% %% 2011/08/22:
+\makeatletter
+ \newcommand*{\MDkeywords}[1]{%
+ \gdef\MDkeywordsstring{#1}%
+ \hypersetup{pdfkeywords=\MDkeywordsstring}%% TODO!?
+ }
+ \@onlypreamble\MDkeywords
+%% |\MDaddtoabstract{<par-head>}|, `:' added:
+ \newcommand*{\MDaddtoabstract}[1]{% %% 2012/05/10
+ \par\smallskip\noindent
+ \strong{#1:}\quad\ignorespaces}
+%% \pagebreak[2]
+%% |\printMDkeywords|:
+ \newcommand*{\printMDkeywords}{%
+ \MDaddtoabstract{Keywords}%
+ \MDkeywordsstring
+% \global\let\MDkeywordsstring\relax %% `%' 2012/11/12
+ }
+%% The previous definitions mainly are useful with a variant
+%% |\begin{MDabstract}| of \LaTeX's `{abstract}' environment:
+ \newenvironment{MDabstract}
+ {\abstract\noindent
+ \hspace{1sp}%% for niceverb
+ \ignorespaces}
+ {\@ifundefined{MDkeywordsstring}%
+ {}%
+ {\printMDkeywords}%
+ \global\let\MDabstract\relax %% 2012/11/12
+ \global\let\endMDabstract\relax %% 2012/11/12
+ \endabstract}
+%% |\[MD]docnewline| 2012/11/12 from `readprov.tex':
+ \newcommand*{\MDdocnewline}{\leavevmode\@normalcr[\topsep]}
+%% <- `\leavevmode' for use with `\paragraph'.
+%% Sometimes needs to be preceded by a space.
+%%
+%% |\MDfinaldatechecks[<tex-script>]| with \ctanpkgref{filedate}:
+ \newcommand*{\MDfinaldatechecks}[1][fdatechk]{%
+ \AtEndDocument{%
+% \clearpage %% 2013/03/25 no avail -- with `filedate'!
+ \def\@pkgextension{sty}%
+ \def\NeedsTeXFormat##1[##2]{}%
+ \noNiceVerb %% 2013/03/22
+ \input{#1}%
+ }}
+ \@onlypreamble\MDfinaldatechecks
+\makeatother
+%% Use other packages:
+\RequirePackage{niceverb}[2011/01/24]
+\RequirePackage{readprov} %% 2010/12/08
+\RequirePackage{hypertoc} %% 2011/01/23
+\RequirePackage{texlinks} %% 2011/01/24
+\RequirePackage{relsize} %% 2011/06/27
+\RequirePackage{color} %% 2011/08/06
+\RequirePackage{lmodern} %% 2012/10/29
+\RequirePackage{filedate} %% 2012/11/12
+\RequirePackage{filesdo} %% 2013/03/22
+%% \pagebreak[3]
+%% Logical markup:\qquad |\strong{<chars>}|, |\meta{<chars>}|,
+%% |\acro{<chars>}|, |\pkg{<chars>}|,
+%% |\code{<chars>}|, |\file{<chars>}|:{\sloppy\par}
+\makeatletter
+ \def\do#1#2{\@ifdefinable#1{\let#1#2}}%% 2012/07/13
+ \do\strong\textbf \do\file\texttt \do\acro\textsmaller
+ %% <- wrong tests before 2012/07/13
+ \do\meta\textit \do \pkg\textsf \do\code\texttt
+ \ifpdf
+ \pdfstringdefDisableCommands{%
+ \let\acro\textrm
+ \let\file\textrm %% 2011/11/09
+ \let\code\textrm %% 2011/11/20
+ \let\pkg \textrm %% 2012/03/23
+ }
+ \fi
+ %% TODO 2011/07/22 -> `htlogml.sty'
+\makeatother
+%% |\qtdcode{<text>}|: 2012/10/24:
+ \newcommand*{\qtdcode}[1]{`\code{#1}'}
+%% |\pkgtitle{<package-name>}{<caption>}|
+\newcommand*{\pkgtitle}[2]{% %% 2012/07/13
+ \global\let\pkgtitle\relax
+ \pkg{\huge #1}\\---\\#2\thanks{This
+ document describes version
+ \textcolor{blue}{\UseVersionOf{\jobname.sty}}
+ of \textsf{\jobname.sty} as of \UseDateOf{\jobname.sty}.}}
+%% TODO: %% |\TODO| bad with `mdoccorr.cfg'
+\newcommand*{\TODO}{\textcolor{blue}{\acro{TODO}}} %% 2012/11/06
+%% `\MDsampleinput[{<file>}' was added 2012/11/06.
+%% Problems with `myfilist.tex' were due to 'parskip.sty'
+%% there. On 2012/11/12, we change the former simple macro to a
+%% much more complex
+%% |\MDsamplecodeinput[<add-hfuss>]{<file>}|
+\newcommand*{\MDsamplecodeinput}[2][]{%
+ \begingroup
+ \vskip\bigskipamount \hrule
+ \nobreak\vskip-\parskip
+% \nobreak\vskip\medskipamount
+%% Previous mistake (same below) due to manual change
+%% of `\topsep' in the file `myfilist.tex' (2012/11/30).
+ \ifx\\#1\\\else
+ \hfuzz=\textwidth \advance\hfuzz#1\relax
+ \fi
+ \noNiceVerb \verbatiminput{#2}%
+% \nobreak\vskip\medskipamount
+ \hrule \vskip-\parskip
+ \bigskip %%% \bigbreak
+%% `\bigbreak' made much larger space in `myfilist.tex'.
+ \endgroup
+}
+%% |\ctanpkgdref{<pkg-id>}| adds the printed link to
+%% `ctan.org/pkg' as a footnote. There is a little space
+%% for coloured link borders:
+\newcommand*{\ctanpkgdref}[1]{%
+ \ctanpkgref{#1}\,\urlfoot{CtanPkgRef}{#1}}
+\errorcontextlines=4
+\pagestyle{headings}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 2022/07/30 \newcommand*{\lt}{<} \newcommand*{\gt}{>} %% 2010/12/22
\providecommand*{\strong}{\textbf} %% 2010/12/15
\ReadPackageInfos{fnlineno}
@@ -25,9 +172,9 @@
\maketitle
\begin{abstract}\noindent
'fnlineno.sty' extends
-% Stephan~I. B\"ottcher's
+% Stephan~I. Böttcher's
\CtanPkgRef{lineno}{lineno.sty}\urlpkgfoot{lineno}
-(created by Stephan~I. B\"ottcher)
+(created by Stephan~I. Böttcher)
such that even
`\footnote' %% `\' 2010/12/09
lines are numbered and can be referred to
Modified: trunk/Master/texmf-dist/doc/latex/lineno/lineno.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lineno/lineno.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lineno/lineno.tex 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/doc/latex/lineno/lineno.tex 2025-01-29 20:30:47 UTC (rev 73638)
@@ -1,4 +1,4 @@
-\def\fileversion{v5.3} \def\filedate{2023/05/20}
+\def\fileversion{v5.4} \def\filedate{2025/01/29}
\title{\texttt{\itshape
lineno.sty \ \fileversion\ \filedate
@@ -6,8 +6,8 @@
A \LaTeX\ package to attach
\\ line numbers to paragraphs
\unskip}\author{%
-Stephan I. B\"ottcher
-\\ Uwe L\"uck
+Stephan I. Böttcher
+\\ Uwe Lück
\\ Karl Wette
\unskip}\date{%
\url{https://github.com/latex-lineno/lineno}
@@ -19,8 +19,7 @@
\catcode`\_\active\let_~
\def~{\verb~}
\let\lessthan<
-\catcode`\<\active
-\def<#1>{$\langle${\itshape#1}\/$\rangle$}
+\def\angle#1{$\langle${\itshape#1}\/$\rangle$}
\catcode`\|\active
\def|#1{\ttfamily\string#1}
\newenvironment{code}
@@ -98,10 +97,10 @@
~lineno.sty~ has been maintained by Stephan until version_v3.14.
From version_v4.00 onwards, maintenance is shifting towards
-Uwe L\"uck (UL), who is the author of v4\dots code and of v4\dots
+Uwe Lück (UL), who is the author of v4\dots code and of v4\dots
changes in documentation. This came about as follows.
-Since late 2002, Christian Tapp and Uwe L\"uck have employed
+Since late 2002, Christian Tapp and Uwe Lück have employed
~lineno.sty~ for their ~ednotes.sty~, a package supporting
critical editions, while you find ~ednotes.sty~ and surrounding files in
CTAN folder \path{macros/latex/contrib/ednotes}.
@@ -846,7 +845,7 @@
~\@par~ and ~\par~ are only touched, when they are ~\let~
to ~\@@@par~/~\linenumberpar~. The line number may be
reset to 1 with the star-form, or set by an optional
-argument ~[~<number>~]~.
+argument ~[~\angle{number}~]~.
(New v4.00) We add ~\ifLineNumbers~ etc.\ since
a number of our new adjustments need to know whether
@@ -1088,7 +1087,7 @@
% numbered float was considered to be a marginpar.
%
% The float box number ~\@currbox~ is used to transfer the
-% label name in a macro called ~\@LNL@~<box-number>.
+% label name in a macro called ~\@LNL@~\angle{box-number}.
\end{verbatim}
\end{old}
A ~\newlabel~ is written to the aux-file. The reference
@@ -1164,8 +1163,8 @@
\subsection{%
The \scs{linelabel} command
\unskip}\label{ss:LL}
-To refer to a place in line ~\ref{~<foo>~}~ at page
-~\pageref{~<foo>~}~ you place a ~\linelabel{~<foo>~}~ at
+To refer to a place in line ~\ref{~\angle{foo}~}~ at page
+~\pageref{~\angle{foo}~}~ you place a ~\linelabel{~\angle{foo}~}~ at
that place.
\linelabel{demo}
@@ -1522,7 +1521,7 @@
\end{code}
Each numbered line gives a line to the aux file
\begin{verse}
-~\@LN{~<line>~}{~<page>~}~
+~\@LN{~\angle{line}~}{~\angle{page}~}~
\end{verse}
very similar to the ~\newlabel~ business, except that we need
an arabic representation of the page number, not what
@@ -1580,7 +1579,7 @@
it for list macros anyway.
(/UL) (/New v4.00)
-From the aux-file we get one macro ~\LN at P~<page> for each
+From the aux-file we get one macro ~\LN at P~\angle{page} for each
page with line numbers on it. This macro calls four other
macros with one argument each. These macros are
dynamically defined to do tests and actions, to find out
@@ -1611,10 +1610,10 @@
\end{code}
Now, this is the tricky part. First of all, the whole
definition of ~\@LN~ is grouped, to avoid accumulation
-on the save stack. Somehow ~\csname~<cs>~\endcsname~ pushes
-an entry, which stays after an ~\xdef~ to that <cs>.
+on the save stack. Somehow ~\csname~\angle{cs}~\endcsname~ pushes
+an entry, which stays after an ~\xdef~ to that \angle{cs}.
-If ~\LN at P~<page> is undefined, initialize it with the
+If ~\LN at P~\angle{page} is undefined, initialize it with the
current page and line number, with the
\emph{pointer-to-the-next-page} pointing to nothing. And
the macro for the previous page will be redefined to point
@@ -1645,7 +1644,7 @@
\end{code}
The previous page macro gets its pointer to the
current one, replacing the ~\relax~ with the cs-token
-~\LN at P~<page>.
+~\LN at P~\angle{page}.
\begin{code}\begin{verbatim}
\def\@@@LN#1#2{{\def\nextLN##1{\noexpand\nextLN\noexpand#2}%
\xdef#1{#1}}}
@@ -2023,7 +2022,7 @@
\end{code}
No counter, little values allowed only---OK?---(UL)
The change is local---OK? The good thing is that
-~\global\firstlinenumber{~<number>~}~ works. Moreover,
+~\global\firstlinenumber{~\angle{number}~}~ works. Moreover,
~\modulolinenumbers~ acts locally as well. (/UL)
(New v4.31)
@@ -2415,6 +2414,12 @@
}
\end{verbatim}
\end{code}
+(New 5.4) Option to allow ~\linelabel~ with ~\nolinenumbers~.
+\begin{code}\begin{verbatim}
+\DeclareVoidOption{nolinelabelerror}{\def\@LN at LLerror{\relax}}
+\end{verbatim}
+\end{code}
+(/New 5.4)
(/New v4.3)
(New v4.1)
@@ -2597,16 +2602,16 @@
To refer to a pagewise line number with offset:
\begin{quote}
-~\linerefp[~<OFFSET>~]{~<LABEL>~}~
+~\linerefp[~\angle{OFFSET}~]{~\angle{LABEL}~}~
\end{quote}
To refer to a running line number with offset:
\begin{quote}
-~\linerefr[~<OFFSET>~]{~<LABEL>~}~
+~\linerefr[~\angle{OFFSET}~]{~\angle{LABEL}~}~
\end{quote}
To refer to a line number labeled in the same mode as currently
selected:
\begin{quote}
-~\lineref[~<OFFSET>~]{~<LABEL>~}~
+~\lineref[~\angle{OFFSET}~]{~\angle{LABEL}~}~
\end{quote}
\begin{code}\begin{verbatim}
\newcommand\lineref{%
@@ -2757,25 +2762,25 @@
\begin{code}\begin{verbatim}
\ifdefined\AddToHook
- \def\linenoamsmath at patches#1{\AddToHook{package/amsmath/after}{#1}}
+ \def\@LN at amsmath@patches#1{\AddToHook{package/amsmath/after}{#1}}
\else
\ifdefined\endgather
- \def\linenoamsmath at patches#1{#1}
+ \def\@LN at amsmath@patches#1{#1}
\else
\PackageWarningNoLine{lineno}%
{`amsmath' must be loaded before `lineno' for patches to be applied}
- \def\linenoamsmath at patches#1{\relax}
+ \def\@LN at amsmath@patches#1{\relax}
\fi
\fi
-\linenoamsmath at patches{
- \newcommand*\linenoamsmath at patch[1]{%
+\@LN at amsmath@patches{
+ \newcommand*\@LN at amsmath@patch[1]{%
\cspreto{#1}{\linenomath}%
\cspreto{#1*}{\linenomath}%
\csappto{end#1}{\endlinenomath}%
\csappto{end#1*}{\endlinenomath}%
}
- \newcount\linenoamsmath at ams@eqpen
+ \newcount\@LN at amsmath@ams at eqpen
\cspreto{math at cr@}{%
%%% Uncommenting the following 2 lines restores the line number on a line
%%% ended with \\*, by making \\* act just like \\. This is probably
@@ -2782,42 +2787,42 @@
%%% undesirable, however, so these lines are disabled.
% \global\@eqpen%
% \ifnum\dspbrk at lvl <\z@ \interdisplaylinepenalty \else -\@getpen\dspbrk at lvl \fi%
- \advance\@eqpen\linenoamsmath at ams@eqpen\relax%
+ \advance\@eqpen\@LN at amsmath@ams at eqpen\relax%
}
- \newcommand*\linenoamsmath at patch@ams[1]{%
+ \newcommand*\@LN at amsmath@patch at ams[1]{%
\cspreto{#1}{%
\linenomath%
\postdisplaypenalty=0%
- \global\linenoamsmath at ams@eqpen\interdisplaylinepenalty%
+ \global\@LN at amsmath@ams at eqpen\interdisplaylinepenalty%
}%
\cspreto{#1*}{%
\linenomath%
\postdisplaypenalty=0%
- \global\linenoamsmath at ams@eqpen\interdisplaylinepenalty%
+ \global\@LN at amsmath@ams at eqpen\interdisplaylinepenalty%
}%
\csappto{end#1}{%
- \global\linenoamsmath at ams@eqpen\z@%
+ \global\@LN at amsmath@ams at eqpen\z@%
\endlinenomath%
}%
\csappto{end#1*}{%
- \global\linenoamsmath at ams@eqpen\z@%
+ \global\@LN at amsmath@ams at eqpen\z@%
\endlinenomath%
}%
}
- \linenoamsmath at patch{equation}
- \linenoamsmath at patch@ams{multline}
- \linenoamsmath at patch@ams{gather}
- \linenoamsmath at patch@ams{align}
- \linenoamsmath at patch@ams{alignat}
- \linenoamsmath at patch@ams{flalign}
- \let\linenoamsmath at ams@mmeasure\mmeasure@
+ \@LN at amsmath@patch{equation}
+ \@LN at amsmath@patch at ams{multline}
+ \@LN at amsmath@patch at ams{gather}
+ \@LN at amsmath@patch at ams{align}
+ \@LN at amsmath@patch at ams{alignat}
+ \@LN at amsmath@patch at ams{flalign}
+ \let\@LN at amsmath@ams at mmeasure\mmeasure@
\def\mmeasure@#1{%
- \global\linenoamsmath at ams@eqpen\z@%
+ \global\@LN at amsmath@ams at eqpen\z@%
\begingroup%
\interdisplaylinepenalty=0%
- \linenoamsmath at ams@mmeasure{#1\\}%
+ \@LN at amsmath@ams at mmeasure{#1\\}%
\endgroup%
- \global\linenoamsmath at ams@eqpen\interdisplaylinepenalty%
+ \global\@LN at amsmath@ams at eqpen\interdisplaylinepenalty%
}
}
\end{verbatim}
@@ -3075,9 +3080,9 @@
\item
[|\linenumbers*] \ \par$\qquad$
and reset the line number to 1.
-\def\NL{<number>]}\item
+\def\NL{\angle{number}]}\item
[|\linenumbers[\NL] \ \par$\qquad$
-and start with <number>.
+and start with \angle{number}.
\item
[|\nolinenumbers] \ \par
Turn off line numbering.
@@ -3097,7 +3102,7 @@
\item
[|\resetlinenumber[\NL] \ \par
Reset ~[~Set~]~ the line number to 1
-~[~<number>~]~.
+~[~\angle{number}~]~.
\item
[|\setrunninglinenumbers] \ \par
Switch to ~running~ line number mode. Do \emph{not}
@@ -3131,9 +3136,9 @@
\item
[|\modulolinenumbers[\NL] \ \par
Give a number only to lines which are multiples of
-~[~<number>~]~. If <number> is not specified, the
+~[~\angle{number}~]~. If \angle{number} is not specified, the
current value in the counter ~linenumbermodulo~ is
-retained. <number>=1 turns this off without changing
+retained. \angle{number}=1 turns this off without changing
~linenumbermodulo~. The counter is initialized to 5.
\item
[|\modulolinenumbers*[\NL] \ \par
@@ -3150,13 +3155,13 @@
line-numbering.
\item
[|\firstlinenumber] \ \par
-~\firstlinenumber{~<filino>~}~ brings about that
-(after it) line numbers less than <filino> do
+~\firstlinenumber{~\angle{filino}~}~ brings about that
+(after it) line numbers less than \angle{filino} do
\emph{not} appear in the margin. Moreover, with
-~\modulolinenumbers[~<number>~]~, just the line
-numbers which are <filino> plus a multiple of
-<number> are printed.---If you had
-~\firstlinenumber{~<pos>~}~ with some $\mbox{<pos>}>0$
+~\modulolinenumbers[~\angle{number}~]~, just the line
+numbers which are \angle{filino} plus a multiple of
+\angle{number} are printed.---If you had
+~\firstlinenumber{~\angle{pos}~}~ with some $\mbox{\angle{pos}}>0$
and want to switch to printing multiples of, e.g.,
4, you best do ~\modulolinenumbers[4]~ and
~\firstlinenumber{0}~. (See subsection_\ref{ss:Mod}
@@ -3174,37 +3179,37 @@
~{linenomath*}~ environment. This is the default.
\item
[|\linelabel] \ \par
-Set a ~\linelabel{~<foo>~}~ to the line number where
+Set a ~\linelabel{~\angle{foo}~}~ to the line number where
this commands is in. Refer to it with the \LaTeX\
-referencing commands ~\ref{~<foo>~}~ and
-~\pageref{~<foo>~}~.
+referencing commands ~\ref{~\angle{foo}~}~ and
+~\pageref{~\angle{foo}~}~.
\end{description}
The commands can be used globally, locally within groups
or as environments. It is important to know that they
take action only when the ~\par~ is executed. The
-~\end{~<mode>~linenumbers}~ commands provide a ~\par~.
+~\end{~\angle{mode}~linenumbers}~ commands provide a ~\par~.
Examples:
\begin{verse}
-~{\linenumbers~ <text> ~\par}~ \\
+~{\linenumbers~ \angle{text} ~\par}~ \\
\ \\
~\begin{linenumbers}~ \\
-<text> \\
+\angle{text} \\
~\end{linenumbers}~ \\
\ \\
-<paragraph> ~{\linenumbers\par}~ \\
+\angle{paragraph} ~{\linenumbers\par}~ \\
\ \\
~\linenumbers~ \\
-<text> ~\par~ \\
+\angle{text} ~\par~ \\
~\nolinenumbers~ \\
\ \\
~\linenumbers~ \\
-<paragraph> ~{\nolinenumbers\par}~ \\
+\angle{paragraph} ~{\nolinenumbers\par}~ \\
\end{verse}
(New v4.00)
-However, the examples containing <paragraph> show what you
+However, the examples containing \angle{paragraph} show what you
should \emph{not} do, at least if you use ~\pagebreak~,
~\nopagebreak~, ~\vspace~, ~\\*~ or
-~\\[~<space>~]~---cf._section_\ref{s:MVadj}.
+~\\[~\angle{space}~]~---cf._section_\ref{s:MVadj}.
The same care should be applied to the ``wizard'' devices
~\ifLineNumbers~ (subsection_\ref{ss:OnOff}) and
Modified: trunk/Master/texmf-dist/doc/latex/lineno/linenoamsmathdemo.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lineno/lnosuppl.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lineno/lnosuppl.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lineno/lnosuppl.tex 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/doc/latex/lineno/lnosuppl.tex 2025-01-29 20:30:47 UTC (rev 73638)
@@ -5,7 +5,7 @@
to the \textit{lineno.sty} distribution \\[1ex]
\normalfont \Large
Lazy \texttt{ASCII}\,$\to$\,\texttt{PDF} listings}
-\author{Uwe L\"uck}
+\author{Uwe Lück}
\documentclass[10pt]{article}
\usepackage{verbatim}
%% hyperref settings from makedoc.cfg 2011/02/14:
@@ -23,8 +23,6 @@
filebordercolor={1 .6 1},
linkbordercolor={1 .9 .7},
urlbordercolor={ .7 1 1}, %% playing 2011/01/24
- \else
- draft
\fi
]{hyperref}
\usepackage{hypertoc}
@@ -47,7 +45,7 @@
\section*{Preface}
\texttt{lineno.sty} is a macro package made by
-Stephan~I.~B\"ottcher for attaching line numbers to
+Stephan~I.~Böttcher for attaching line numbers to
\LaTeX\ documents. Some people have used it for revising
submittings in collaboration with referees or co-authors.
Documentations are nowadays preferred to be in
Modified: trunk/Master/texmf-dist/doc/latex/lineno/ulineno.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/lineno/ulineno.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lineno/ulineno.tex 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/doc/latex/lineno/ulineno.tex 2025-01-29 20:30:47 UTC (rev 73638)
@@ -24,7 +24,7 @@
\title{ \lineno.sty
\\ Users Manual
}
-\author{ Stephan I. B\"ottcher
+\author{ Stephan I. Böttcher
}
\usepackage{lineno}
@@ -31,11 +31,10 @@
\usepackage{url}
\def~{\verb~}
-\catcode`\<\catcode`\~
-\def<#1>{$\langle${\itshape#1}\/$\rangle$}
+\def\angle#1{$\langle${\itshape#1}\/$\rangle$}
\catcode`\|\catcode`\~
\def|#1{{\ttfamily\string#1}}
-\def\NL{<number>]}
+\def\NL{\angle{number}]}
\begin{document}
\begin{runninglinenumbers}
@@ -105,12 +104,12 @@
As any other \LaTeXe\ package, you need to load it with
\begin{quote}
- ~\usepackage[~<options>~]{lineno}~
+ ~\usepackage[~\angle{options}~]{lineno}~
\end{quote}
\subsection{Package options}
-The available <options> are:
+The available \angle{options} are:
\begin{description}
\item[\texttt{[left]}:] Put the line numbers into the left margin
@@ -276,7 +275,7 @@
You can reset the line number with
\begin{quote}
- ~\resetlinenumber[~<number>~]~
+ ~\resetlinenumber[~\angle{number}~]~
\end{quote}
where the default is to reset the line number to one.
@@ -283,10 +282,10 @@
Alternatively, you can give the line number in an optional argument to
any command that turns on the line numbering in this mode:
\begin{quote}\obeylines
- ~\linenumbers[~<number>~]~
- ~\runninglinenumbers[~<number>~]~
- ~\begin{linenumbers}[~<number>~]~
- ~\begin{runninglinenumbers}[~<number>~]~
+ ~\linenumbers[~\angle{number}~]~
+ ~\runninglinenumbers[~\angle{number}~]~
+ ~\begin{linenumbers}[~\angle{number}~]~
+ ~\begin{runninglinenumbers}[~\angle{number}~]~
\end{quote}
or reset the line number to 1 with any of the following:
\begin{quote}\obeylines
@@ -480,9 +479,9 @@
\subsection{Numbering only one in five lines}
You can ask lineno to print the line numbers only if they devide by
-<n>, by saying
+\angle{n}, by saying
\begin{quote}
- ~\modulolinenumbers[~<n>~]~
+ ~\modulolinenumbers[~\angle{n}~]~
\end{quote}
If you omit the optional argument, it will be every fifth line, or
whatever you used last (the current value of the counter
@@ -489,7 +488,7 @@
~linenumbermodulo~). You get the same effect by giving the package
option ~[modulo]~.
-If you set <n> to 1, the modulo value is not changed, but modulo
+If you set \angle{n} to 1, the modulo value is not changed, but modulo
numbering is turned off.
Changing the counter ~linenumbermodulo~ does not turn on modulo
@@ -539,7 +538,7 @@
\end{quote}
The distance on the left margin can be changed with
\begin{quote}
- ~\setlength\linenumbersep{~<distance>~}~
+ ~\setlength\linenumbersep{~\angle{distance}~}~
\end{quote}
The distance on the right margin is ~\linenumbersep~ plus
~\linenumberwidth~, both are set to 10\,pt by default.
@@ -657,8 +656,8 @@
\section[Line number references]
{Line number references\linelabel{ll1}}
-\lineno.sty allows to refer to a line number with ~\ref{~<label>~}~.
-The label is set by ~\linelabel{~<label>~}~, anywhere in a paragraph
+\lineno.sty allows to refer to a line number with ~\ref{~\angle{label}~}~.
+The label is set by ~\linelabel{~\angle{label}~}~, anywhere in a paragraph
that gets line numbers. If you put a ~\linelabel~ somewhere else, the
line number it refers to is pretty meaningless, but no error message
is issued. (This section begins on line \ref{ll1}, page
@@ -816,7 +815,7 @@
This should not impose problems with inline math, since you can attach
the label just outside the math shift, like\linelabel{rll1}
\begin{quote}
- ~... \linelabel{~<label>~}$x=f(y)$ ...~
+ ~... \linelabel{~\angle{label}~}$x=f(y)$ ...~
\end{quote}
but to refer to a line in display math, you cannot label it directly.
\end{runninglinenumbers}
@@ -831,17 +830,17 @@
to that number, plus 1 or, in case of multiline displays, by any other
offset.\linelabel{rll2}
\begin{quote}
- ~...\linelabel{~<label>~}~ \\
+ ~...\linelabel{~\angle{label}~}~ \\
~\begin{equation}~ \\
~ y=f'(x)~ \\
~\end{equation}~ \\
- ~... the formula in line \lineref[+1]{~<label>~}~
+ ~... the formula in line \lineref[+1]{~\angle{label}~}~
\end{quote}
The offset calculation is different for pagewise or running line
numbers, and you will have to make sure the right method is used.
\end{pagewiselinenumbers}
-The macro ~\lineref[~<offset>~]{~<label>~}~ uses the method of the
+The macro ~\lineref[~\angle{offset}~]{~\angle{label}~}~ uses the method of the
currently selected mode (line numbering need not be activated). To
specify the mode explicitly, use ~\linerefr~ or ~\linerefp~ for
running or pagewise mode respectively.
Modified: trunk/Master/texmf-dist/tex/latex/lineno/edtable.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lineno/edtable.sty 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/tex/latex/lineno/edtable.sty 2025-01-29 20:30:47 UTC (rev 73638)
@@ -23,7 +23,7 @@
%
% The package is made for the background of the LaTeX2e macro
% package and enhances functionality of the following packages:
-% 1.) Stephan I. B"ottcher's `lineno.sty' for printing line
+% 1.) Stephan I. Böttcher's `lineno.sty' for printing line
% numbers in the margin and a \label version \linelabel
% relating labels to line numbers;
% 2.) our `ednotes.sty' for indicating variant readings and
@@ -178,7 +178,7 @@
%
%% * Acknowledgements: *
%
-% Stephan I. B"ottcher told us how to do it in extensive discussion
+% Stephan I. Böttcher told us how to do it in extensive discussion
% and by providing some first code lines. We changed these essentially
% in some respects, but kept his general ideas and some parts of his
% macros, the latter even without knowing what we are doing.
Modified: trunk/Master/texmf-dist/tex/latex/lineno/fnlineno.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lineno/fnlineno.sty 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/tex/latex/lineno/fnlineno.sty 2025-01-29 20:30:47 UTC (rev 73638)
@@ -20,7 +20,7 @@
%% by the Deutsche Forschungsgemeinschaft (DFG),
%% organized %% 2010/12/18 TODO!?
%% by Prof.~Dr.\ Dr.\ Christian Tapp
-%% at Ruhr-Universit\"at Bochum, Germany.}
+%% at Ruhr-Universität Bochum, Germany.}
%% %% 2010/12/18:
%% Christian also has constructed some critical tests.
%%
Modified: trunk/Master/texmf-dist/tex/latex/lineno/lineno.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lineno/lineno.sty 2025-01-29 20:30:38 UTC (rev 73637)
+++ trunk/Master/texmf-dist/tex/latex/lineno/lineno.sty 2025-01-29 20:30:47 UTC (rev 73638)
@@ -3,11 +3,11 @@
Macro file lineno.sty for LaTeX: attach line numbers, refer to them.
\fi
-\def\fileversion{v5.3} \def\filedate{2023/05/20} %VERSION
+\def\fileversion{v5.4} \def\filedate{2025/01/29} %VERSION
%%% Copyright 1995--2003 Stephan I. Böttcher
%%% Copyright 2002--2005 Uwe Lück for versions 4.x and code from former Ednotes
-%%% Copyright 2021--2023 Karl Wette for versions 5.x
+%%% Copyright 2021--2025 Karl Wette for versions 5.x
%%%
%%% This file can be redistributed and/or modified under
%%% the terms of the LaTeX Project Public License; either
@@ -26,8 +26,8 @@
% A \LaTeX\ package to attach
% \\ line numbers to paragraphs
% \unskip}\author{%
-% Stephan I. B\"ottcher
-% \\ Uwe L\"uck
+% Stephan I. Böttcher
+% \\ Uwe Lück
% \\ Karl Wette
% \unskip}\date{%
% \url{https://github.com/latex-lineno/lineno}
@@ -41,8 +41,7 @@
%% %% Beware math!? (/New v4.00)
% \def~{\verb~}
% \let\lessthan<
-% \catcode`\<\active
-% \def<#1>{$\langle${\itshape#1}\/$\rangle$}
+% \def\angle#1{$\langle${\itshape#1}\/$\rangle$}
% \catcode`\|\active
%% (New v4.1: \tt star; in box anyway.)
% \def|#1{\ttfamily\string#1}
@@ -130,10 +129,10 @@
%
% ~lineno.sty~ has been maintained by Stephan until version_v3.14.
% From version_v4.00 onwards, maintenance is shifting towards
-% Uwe L\"uck (UL), who is the author of v4\dots code and of v4\dots
+% Uwe Lück (UL), who is the author of v4\dots code and of v4\dots
% changes in documentation. This came about as follows.
%
-% Since late 2002, Christian Tapp and Uwe L\"uck have employed
+% Since late 2002, Christian Tapp and Uwe Lück have employed
% ~lineno.sty~ for their ~ednotes.sty~, a package supporting
% critical editions, while you find ~ednotes.sty~ and surrounding files in
% CTAN folder \path{macros/latex/contrib/ednotes}.
@@ -289,7 +288,7 @@
%% v3.08b 2002/01/27 SiB: enquotation typo fix
%% v3.09 2003/01/14 SIB: hyperref detection fix
%% v3.10 2003/04/15 FMi: \MakeLineNo fix for deep boxes
-%% v3.10a 2003/11/12 Uwe L\xFCck: \lineref typo fix
+%% v3.10a 2003/11/12 Uwe Lück: \lineref typo fix
%% v4.00 2004/09/02 UL: included linenox0, linenox1, lnopatch code with
%% documentation, usually indicated by `New v4.00';
%% discussions of old code, indicated by `UL';
@@ -394,6 +393,7 @@
%% Add package options `sep' and `width' for
%% setting line number separation and width.
%% Add `twocolumn` support for `bframe` env.
+%% v5.4 2025/01/29 KW: Option to allow ~\linelabel~ with ~\nolinenumbers~.
%%
%% Acknowledgements:
%% v3.06: Donald Arseneau, pointed to mparhack.sty.
@@ -1051,7 +1051,7 @@
% ~\@par~ and ~\par~ are only touched, when they are ~\let~
% to ~\@@@par~/~\linenumberpar~. The line number may be
% reset to 1 with the star-form, or set by an optional
-% argument ~[~<number>~]~.
+% argument ~[~\angle{number}~]~.
%
% (New v4.00) We add ~\ifLineNumbers~ etc.\ since
% a number of our new adjustments need to know whether
@@ -1294,7 +1294,7 @@
% % numbered float was considered to be a marginpar.
% %
% % The float box number ~\@currbox~ is used to transfer the
-% % label name in a macro called ~\@LNL@~<box-number>.
+% % label name in a macro called ~\@LNL@~\angle{box-number}.
% \end{verbatim}
% \end{old}
% A ~\newlabel~ is written to the aux-file. The reference
@@ -1366,8 +1366,8 @@
% \subsection{%
% The \scs{linelabel} command
% \unskip}\label{ss:LL}
-% To refer to a place in line ~\ref{~<foo>~}~ at page
-% ~\pageref{~<foo>~}~ you place a ~\linelabel{~<foo>~}~ at
+% To refer to a place in line ~\ref{~\angle{foo}~}~ at page
+% ~\pageref{~\angle{foo}~}~ you place a ~\linelabel{~\angle{foo}~}~ at
% that place.
%
% \linelabel{demo}
@@ -1719,7 +1719,7 @@
% Each numbered line gives a line to the aux file
% \begin{verse}
-% ~\@LN{~<line>~}{~<page>~}~
+% ~\@LN{~\angle{line}~}{~\angle{page}~}~
% \end{verse}
% very similar to the ~\newlabel~ business, except that we need
% an arabic representation of the page number, not what
@@ -1778,7 +1778,7 @@
% it for list macros anyway.
% (/UL) (/New v4.00)
%
-% From the aux-file we get one macro ~\LN at P~<page> for each
+% From the aux-file we get one macro ~\LN at P~\angle{page} for each
% page with line numbers on it. This macro calls four other
% macros with one argument each. These macros are
% dynamically defined to do tests and actions, to find out
@@ -1806,10 +1806,10 @@
% Now, this is the tricky part. First of all, the whole
% definition of ~\@LN~ is grouped, to avoid accumulation
-% on the save stack. Somehow ~\csname~<cs>~\endcsname~ pushes
-% an entry, which stays after an ~\xdef~ to that <cs>.
+% on the save stack. Somehow ~\csname~\angle{cs}~\endcsname~ pushes
+% an entry, which stays after an ~\xdef~ to that \angle{cs}.
%
-% If ~\LN at P~<page> is undefined, initialize it with the
+% If ~\LN at P~\angle{page} is undefined, initialize it with the
% current page and line number, with the
% \emph{pointer-to-the-next-page} pointing to nothing. And
% the macro for the previous page will be redefined to point
@@ -1839,7 +1839,7 @@
% The previous page macro gets its pointer to the
% current one, replacing the ~\relax~ with the cs-token
-% ~\LN at P~<page>.
+% ~\LN at P~\angle{page}.
\def\@@@LN#1#2{{\def\nextLN##1{\noexpand\nextLN\noexpand#2}%
\xdef#1{#1}}}
@@ -2215,7 +2215,7 @@
%%
% No counter, little values allowed only---OK?---(UL)
% The change is local---OK? The good thing is that
-% ~\global\firstlinenumber{~<number>~}~ works. Moreover,
+% ~\global\firstlinenumber{~\angle{number}~}~ works. Moreover,
% ~\modulolinenumbers~ acts locally as well. (/UL)
%
% (New v4.31)
@@ -2596,7 +2596,14 @@
}%
}%
}
+%%
+% (New 5.4) Option to allow ~\linelabel~ with ~\nolinenumbers~.
+\DeclareVoidOption{nolinelabelerror}{\def\@LN at LLerror{\relax}}
+
+% (/New 5.4)
+%%
+
% (/New v4.3)
%
% (New v4.1)
@@ -2781,16 +2788,16 @@
%
% To refer to a pagewise line number with offset:
% \begin{quote}
-% ~\linerefp[~<OFFSET>~]{~<LABEL>~}~
+% ~\linerefp[~\angle{OFFSET}~]{~\angle{LABEL}~}~
% \end{quote}
% To refer to a running line number with offset:
% \begin{quote}
-% ~\linerefr[~<OFFSET>~]{~<LABEL>~}~
+% ~\linerefr[~\angle{OFFSET}~]{~\angle{LABEL}~}~
% \end{quote}
% To refer to a line number labeled in the same mode as currently
% selected:
% \begin{quote}
-% ~\lineref[~<OFFSET>~]{~<LABEL>~}~
+% ~\lineref[~\angle{OFFSET}~]{~\angle{LABEL}~}~
% \end{quote}
\newcommand\lineref{%
@@ -2938,25 +2945,25 @@
%
\ifdefined\AddToHook
- \def\linenoamsmath at patches#1{\AddToHook{package/amsmath/after}{#1}}
+ \def\@LN at amsmath@patches#1{\AddToHook{package/amsmath/after}{#1}}
\else
\ifdefined\endgather
- \def\linenoamsmath at patches#1{#1}
+ \def\@LN at amsmath@patches#1{#1}
\else
\PackageWarningNoLine{lineno}%
{`amsmath' must be loaded before `lineno' for patches to be applied}
- \def\linenoamsmath at patches#1{\relax}
+ \def\@LN at amsmath@patches#1{\relax}
\fi
\fi
-\linenoamsmath at patches{
- \newcommand*\linenoamsmath at patch[1]{%
+\@LN at amsmath@patches{
+ \newcommand*\@LN at amsmath@patch[1]{%
\cspreto{#1}{\linenomath}%
\cspreto{#1*}{\linenomath}%
\csappto{end#1}{\endlinenomath}%
\csappto{end#1*}{\endlinenomath}%
}
- \newcount\linenoamsmath at ams@eqpen
+ \newcount\@LN at amsmath@ams at eqpen
\cspreto{math at cr@}{%
%%% Uncommenting the following 2 lines restores the line number on a line
%%% ended with \\*, by making \\* act just like \\. This is probably
@@ -2963,42 +2970,42 @@
%%% undesirable, however, so these lines are disabled.
% \global\@eqpen%
% \ifnum\dspbrk at lvl <\z@ \interdisplaylinepenalty \else -\@getpen\dspbrk at lvl \fi%
- \advance\@eqpen\linenoamsmath at ams@eqpen\relax%
+ \advance\@eqpen\@LN at amsmath@ams at eqpen\relax%
}
- \newcommand*\linenoamsmath at patch@ams[1]{%
+ \newcommand*\@LN at amsmath@patch at ams[1]{%
\cspreto{#1}{%
\linenomath%
\postdisplaypenalty=0%
- \global\linenoamsmath at ams@eqpen\interdisplaylinepenalty%
+ \global\@LN at amsmath@ams at eqpen\interdisplaylinepenalty%
}%
\cspreto{#1*}{%
\linenomath%
\postdisplaypenalty=0%
- \global\linenoamsmath at ams@eqpen\interdisplaylinepenalty%
+ \global\@LN at amsmath@ams at eqpen\interdisplaylinepenalty%
}%
\csappto{end#1}{%
- \global\linenoamsmath at ams@eqpen\z@%
+ \global\@LN at amsmath@ams at eqpen\z@%
\endlinenomath%
}%
\csappto{end#1*}{%
- \global\linenoamsmath at ams@eqpen\z@%
+ \global\@LN at amsmath@ams at eqpen\z@%
\endlinenomath%
}%
}
- \linenoamsmath at patch{equation}
- \linenoamsmath at patch@ams{multline}
- \linenoamsmath at patch@ams{gather}
- \linenoamsmath at patch@ams{align}
- \linenoamsmath at patch@ams{alignat}
- \linenoamsmath at patch@ams{flalign}
- \let\linenoamsmath at ams@mmeasure\mmeasure@
+ \@LN at amsmath@patch{equation}
+ \@LN at amsmath@patch at ams{multline}
+ \@LN at amsmath@patch at ams{gather}
+ \@LN at amsmath@patch at ams{align}
+ \@LN at amsmath@patch at ams{alignat}
+ \@LN at amsmath@patch at ams{flalign}
+ \let\@LN at amsmath@ams at mmeasure\mmeasure@
\def\mmeasure@#1{%
- \global\linenoamsmath at ams@eqpen\z@%
+ \global\@LN at amsmath@ams at eqpen\z@%
\begingroup%
\interdisplaylinepenalty=0%
- \linenoamsmath at ams@mmeasure{#1\\}%
+ \@LN at amsmath@ams at mmeasure{#1\\}%
\endgroup%
- \global\linenoamsmath at ams@eqpen\interdisplaylinepenalty%
+ \global\@LN at amsmath@ams at eqpen\interdisplaylinepenalty%
}
}
@@ -3260,10 +3267,10 @@
% \item
% [|\linenumbers*] \ \par$\qquad$
% and reset the line number to 1.
-% \def\NL{<number>]}\item
+% \def\NL{\angle{number}]}\item
%% %% Boldface italic occurs here, which is evil. (UL)
% [|\linenumbers[\NL] \ \par$\qquad$
-% and start with <number>.
+% and start with \angle{number}.
% \item
% [|\nolinenumbers] \ \par
% Turn off line numbering.
@@ -3283,7 +3290,7 @@
% \item
% [|\resetlinenumber[\NL] \ \par
% Reset ~[~Set~]~ the line number to 1
-% ~[~<number>~]~.
+% ~[~\angle{number}~]~.
% \item
% [|\setrunninglinenumbers] \ \par
% Switch to ~running~ line number mode. Do \emph{not}
@@ -3317,9 +3324,9 @@
% \item
% [|\modulolinenumbers[\NL] \ \par
% Give a number only to lines which are multiples of
-% ~[~<number>~]~. If <number> is not specified, the
+% ~[~\angle{number}~]~. If \angle{number} is not specified, the
% current value in the counter ~linenumbermodulo~ is
-% retained. <number>=1 turns this off without changing
+% retained. \angle{number}=1 turns this off without changing
% ~linenumbermodulo~. The counter is initialized to 5.
%%
%% %% TODO v4.4+: `counter', he says. Cf._above.
@@ -3342,13 +3349,13 @@
%% (New v4.00)
% \item
% [|\firstlinenumber] \ \par
-% ~\firstlinenumber{~<filino>~}~ brings about that
-% (after it) line numbers less than <filino> do
+% ~\firstlinenumber{~\angle{filino}~}~ brings about that
+% (after it) line numbers less than \angle{filino} do
% \emph{not} appear in the margin. Moreover, with
-% ~\modulolinenumbers[~<number>~]~, just the line
-% numbers which are <filino> plus a multiple of
-% <number> are printed.---If you had
-% ~\firstlinenumber{~<pos>~}~ with some $\mbox{<pos>}>0$
+% ~\modulolinenumbers[~\angle{number}~]~, just the line
+% numbers which are \angle{filino} plus a multiple of
+% \angle{number} are printed.---If you had
+% ~\firstlinenumber{~\angle{pos}~}~ with some $\mbox{\angle{pos}}>0$
% and want to switch to printing multiples of, e.g.,
% 4, you best do ~\modulolinenumbers[4]~ and
% ~\firstlinenumber{0}~. (See subsection_\ref{ss:Mod}
@@ -3367,10 +3374,10 @@
% ~{linenomath*}~ environment. This is the default.
% \item
% [|\linelabel] \ \par
-% Set a ~\linelabel{~<foo>~}~ to the line number where
+% Set a ~\linelabel{~\angle{foo}~}~ to the line number where
% this commands is in. Refer to it with the \LaTeX\
-% referencing commands ~\ref{~<foo>~}~ and
-% ~\pageref{~<foo>~}~.
+% referencing commands ~\ref{~\angle{foo}~}~ and
+% ~\pageref{~\angle{foo}~}~.
% \end{description}
% The commands can be used globally, locally within groups
% or as environments. It is important to know that they
@@ -3381,29 +3388,29 @@
%%
%% %% TODO: sure? ~\modulo...~, e.g.? well, in a sense ...
%%
-% ~\end{~<mode>~linenumbers}~ commands provide a ~\par~.
+% ~\end{~\angle{mode}~linenumbers}~ commands provide a ~\par~.
% Examples:
% \begin{verse}
-% ~{\linenumbers~ <text> ~\par}~ \\
+% ~{\linenumbers~ \angle{text} ~\par}~ \\
% \ \\
% ~\begin{linenumbers}~ \\
-% <text> \\
+% \angle{text} \\
% ~\end{linenumbers}~ \\
% \ \\
-% <paragraph> ~{\linenumbers\par}~ \\
+% \angle{paragraph} ~{\linenumbers\par}~ \\
% \ \\
% ~\linenumbers~ \\
-% <text> ~\par~ \\
+% \angle{text} ~\par~ \\
% ~\nolinenumbers~ \\
% \ \\
% ~\linenumbers~ \\
-% <paragraph> ~{\nolinenumbers\par}~ \\
+% \angle{paragraph} ~{\nolinenumbers\par}~ \\
% \end{verse}
% (New v4.00)
-% However, the examples containing <paragraph> show what you
+% However, the examples containing \angle{paragraph} show what you
% should \emph{not} do, at least if you use ~\pagebreak~,
% ~\nopagebreak~, ~\vspace~, ~\\*~ or
-% ~\\[~<space>~]~---cf._section_\ref{s:MVadj}.
+% ~\\[~\angle{space}~]~---cf._section_\ref{s:MVadj}.
%
% The same care should be applied to the ``wizard'' devices
% ~\ifLineNumbers~ (subsection_\ref{ss:OnOff}) and
More information about the tex-live-commits
mailing list.