diff options
author | Norbert Preining <preining@logic.at> | 2006-10-04 08:43:01 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2006-10-04 08:43:01 +0000 |
commit | ba9472aebfed07843bc4faa00c7b96bc86194691 (patch) | |
tree | 4a952a012e2f1663beaac6384dec265fb50dd361 /Master/texmf-dist/tex/latex/lineno/lineno.sty | |
parent | a88bdfe70c672cfced299babf0a54881a916bcca (diff) |
Fix ctan2tds for pgf installation
comment powerdot-doc-vn in tpm-ctan-check, it always breaks
Update of the following packages:
labelcas pstricks-add sectionbox ltxmisc frenchle flowfram verse emulateapj
pst-pdf poemscol babelbib dk-bib breakurl screenplay ncctools xkeyval bibleref
muthesis pst-labo pgf ncclatex active-conf xcolor commath lineno dottex makeplo
git-svn-id: svn://tug.org/texlive/trunk@2240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lineno/lineno.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lineno/lineno.sty | 251 |
1 files changed, 147 insertions, 104 deletions
diff --git a/Master/texmf-dist/tex/latex/lineno/lineno.sty b/Master/texmf-dist/tex/latex/lineno/lineno.sty index f9cd1db616a..53a7b5242ab 100644 --- a/Master/texmf-dist/tex/latex/lineno/lineno.sty +++ b/Master/texmf-dist/tex/latex/lineno/lineno.sty @@ -3,7 +3,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \fi -\def\fileversion{v4.32} \def\filedate{2005/10/17} %VERSION +\def\fileversion{v4.41} \def\filedate{2005/11/02} %VERSION %%% Copyright 1995--2003 Stephan I. B"ottcher <boettcher@physik.uni-kiel.de>; %%% Copyright 2002--2005 Uwe L"uck, http://www.contact-ednotes.sty.de.vu @@ -380,6 +380,17 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. %% linenomath environment is not needed. %% v4.32ab /10/15 UL: Observe \if@nobreak with support for \addvspace. %% v4.32 2005/10/17 UL: Just made it official and sent it to CTAN. +%% v4.33b /10/23 UL: \if@nobreak\nobreak\fi -> \nobreak . +%% v4.33ab /10/24 UL: \LineNoLaTeXOutput without \@tempswafalse; +%% undid v4.22: \[unv]box\@outputbox (space is OK, +%% \unvbox pushes short columns down); \@LN@kern@z@ . +%% v4.4b 2005/10/24 UL: Another tidying-up of the discussion of +%% \stepcounter{linenumber}; \@LN@screenoff@pen +%% replaces \@LN@kern@z@, \@LN@depthbox . +%% v4.4 2005/10/27 UL: Just made official for CTAN. +%% v4.4a 2005/10/29 UL: Undid change of discussion of +%% \stepcounter{linenumber} (confusion again). +%% v4.41 2005/11/02 UL: Raised \CheckCommand*. %% %% Acknowledgements: %% v3.06: Donald Arseneau, pointed to mparhack.sty. @@ -392,6 +403,11 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. %% v4.3: `displaymath' default by Erik Luijten's suggestion. %% v4.31: \modulolinenumbers* is an idea of Hillel Chayim Yisraeli's. %% v4.32: Support for \addvspace due to Saravanan M.'s observation. +%% v4.33: Different support for \addvspace due to bug reports by +%% Saravanan M.'s and David Josef Dev. +%% v4.4: David Josef Dev points out that \kern\z@ after a paragraph +%% tends to place its final baseline wrongly. +% % % \section{% % Put the line numbers to the lines @@ -424,7 +440,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \newcount\linenopenalty\linenopenalty=-100000 -%% TODO v4.3+: +%% TODO v4.4+: % (UL) Hm. It is never needed below % that this is a counter. ~\def\linenopenalty{-100000\relax}~ % would do. (I guess this consumes more memory, but it @@ -482,7 +498,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % (New v4.00) Two further complications are added. %% %% TODO v4.3+: Or three, ~\@nobreakfalse~ after ~\MakeLineNo~ -%% for getting rid of ~\my@nopagebreak~. +%% for getting rid of ~\@LN@nopagebreak~. % \begin{itemize}\item % [(i)] Problems with footnotes formerly resulted from % \LaTeX's ~\@reinserts~ in ~\@specialoutput~ which Stephan's @@ -601,7 +617,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \let\@@par\@@@par \ifnum\interlinepenalty<-\linenopenaltypar \advance\interlinepenalty-\linenopenalty - \my@nobreaktrue + \@LN@nobreaktrue \fi \@tempswatrue \ifnum\outputpenalty>-\linenopenaltypar\else @@ -611,12 +627,12 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \fi } -\def\my@nobreaktrue{\let\if@nobreak\iftrue} +\def\@LN@nobreaktrue{\let\if@nobreak\iftrue} % renamed v4.33 -% (UL) I would prefer ~\@LN@nobreaktrue~.---I thought here were +% (UL) I thought here were % another case of the save stack problem explained in \TeX book, % p._301, namely through both local and global changing -% ~\if@nobreak~. However, ~\my@nobreak~ is called during +% ~\if@nobreak~. However, ~\@LN@nobreak~ is called during % ~\@LN@output~ only, while ~\@nobreaktrue~ is called by \LaTeX's % ~\@startsection~ only. The latter never happens during % ~\@LN@output~. So there is no local value of ~\if@nobreak~ on @@ -643,7 +659,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % (See there for expanding on the problem.) % This requires returning the special absolute value of % ~\holdinginserts~ that ~lineno.sty~ finds at the end of a newly -% typeset paragraph---now done in subsection_\ref{ss:CtrlLN} +% typeset paragraph---now done in subsection_\ref{ss:calls} % (~\linenumberpar~). % The former ~\LineNoHoldInsertsTest~ has been filled into here. %% ---`3' is replaced by ~\thr@@~ for a while. ~\thr@@~ is @@ -656,22 +672,20 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % for cooperating with other packages that use ~\holdinginserts~. \def\LineNoLaTeXOutput{% - \ifnum \holdinginserts=\thr@@ \@tempswafalse \fi -%% <- Previous ~\LineNoHoldInsertsTest~. - \if@tempswa + \ifnum \holdinginserts=\thr@@ % v4.33 without \@tempswafalse + \global\holdinginserts-\thr@@ + \unvbox\@cclv + \ifnum \outputpenalty=\@M \else \penalty\outputpenalty \fi + \else \if@twocolumn \let\@makecol\@LN@makecol \fi \the\@LN@output % finally following David Kastrup's advice. \ifnum \holdinginserts=-\thr@@ \global\holdinginserts\thr@@ \fi - \else - \global\holdinginserts-\thr@@ - \unvbox\@cclv - \ifnum \outputpenalty=\@M \else \penalty\outputpenalty \fi \fi } % \textit{More on dealing with output routines from other -% packages:} +% packages:} % Since ~lineno.sty~'s output routine is called at least once % for each output line, I think it should be in \TeX's % original ~\output~, while output routines dealing with @@ -773,8 +787,10 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % advantage of the difference between our mechanism and the % original one that the user here can actually override low % penalties by ~\nopagebreak~, which may be what a lay \LaTeX\ -% user would expect.---Zero glue would do instead of zero -% penalty! This could make things easier. Maybe next time. %% TODO v4.3+ +% user would expect. +%% ---Zero glue would do instead of zero +%% penalty! This could make things easier. Maybe next time. +%% <- v4.4: No, problem with column depth. % (/UL, /New v4.00) \def\MakeLineNo{% @@ -807,14 +823,16 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. %% \stepLineNumber %% -% (/New v4.00) +% (New v4.4) Now %% - \dp\@tempboxa=\@tempdima\ht\@tempboxa=\z@ - \nointerlineskip\kern-\@tempdima\box\@tempboxa + \ht\@tempboxa\z@ \@LN@depthbox %% -% (New v4.00) -% The line number has now been placed (it may be invisible -% depending on the modulo feature), so we can insert the +% appends the box containing the line number without changing +% ~\prevdepth~---see end of section. +% Now is the time for inserting the $\dots$ (/New v4.4) +%% The line number has now been placed (it may be invisible +%% depending on the modulo feature), so +%% we can insert the % ~\vadjust~ items. We cannot do this much later, because % their right place is above the artificial interline % penalty which Stephan's code will soon insert @@ -844,12 +862,13 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % effect---but this will make a difference after headings only, % where nobody should place such a thing anyway. %% - \xdef\@LN@parpgbrk{\penalty\the\count@ - \gdef\noexpand\@LN@parpgbrk{\kern\z@}}% -%% %% TODO v4.3+: Stephan's advice -%% -- but this happens rarely. + \xdef\@LN@parpgbrk{% + \penalty\the\count@ + \global\let\noexpand\@LN@parpgbrk + \noexpand\@LN@screenoff@pen}% v4.4 +%% % That penalty will replace former ~\kern\z@~ in -% ~\linenumberpar~, see subsection_\ref{ss:CtrlLN}.---A +% ~\linenumberpar~, see subsection_\ref{ss:calls}.---A % few days earlier, I tried to send just a penalty value. % However, the ~\kern\z@~ in ~\linenumberpar~ is crucial, % as I then found out. See below.---The final penalty is @@ -893,14 +912,24 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \newcommand\stepLineNumber{\stepcounter{linenumber}} % For reason, see use above. (/New v4.00) -%% %% TODO v4.3+: ~\newcommand~ more often!? +%% %% TODO v4.4+: ~\newcommand~ more often!? +% +% (New v4.4) The depth preserving trick is drawn here from +% ~\MakeLineNo~ because it will be used again in +% section_\ref{ss:calls}. + +\def\@LN@depthbox{% + \dp\@tempboxa=\@tempdima + \nointerlineskip \kern-\@tempdima \box\@tempboxa} + +% (/New v4.4) % % \section{% % Control line numbering % \unskip} % \subsection{% -% Basic code %% own subsec. v4.2. -% \unskip}\label{ss:CtrlLN} +% Inserting \scs{output} calls %% own subsec. v4.4. +% \unskip}\label{ss:calls} % The line numbering is controlled via ~\par~. \LaTeX\ % saved the \TeX-primitive ~\par~ in ~\@@par~. We push it % one level further out, and redefine ~\@@par~ to insert @@ -927,27 +956,18 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % somewhat slow. I think I will use ~\mathchardef~ next time. % Or has any user used ~\linenoprevgraf~? (/UL) -\def\linenumberpar{\ifvmode\@@@par\else\ifinner\@@@par\else - \xdef\@LN@outer@holdins{\the\holdinginserts}% v4.2 - \advance\interlinepenalty \linenopenalty - \linenoprevgraf\prevgraf - \global\holdinginserts\thr@@ - \@@@par -%% -% (New v4.32) -% A ~\belowdisplayskip~ may be here when the paragraph ends on a -% display-math; or there may be a ~\topsep~ from a list, etc. -% ~\addvspace~ couldn't take account for it unless we move that -% skip down: -%% - \skip@\lastskip - \if@nobreak \nobreak \fi \vskip-\skip@ -%% -% (/New v4.32) -%% - \ifnum\prevgraf>\linenoprevgraf - \penalty-\linenopenaltypar - \fi +%% v4.33: changed code alignment for better understanding. +\def\linenumberpar{% + \ifvmode \@@@par \else + \ifinner \@@@par \else + \xdef\@LN@outer@holdins{\the\holdinginserts}% v4.2 + \advance \interlinepenalty \linenopenalty + \linenoprevgraf \prevgraf + \global \holdinginserts \thr@@ + \@@@par + \ifnum\prevgraf>\linenoprevgraf + \penalty-\linenopenaltypar + \fi %% % (New v4.00) % \begin{old}\begin{verbatim} @@ -959,7 +979,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % interline penalty is changed into 10000. At the end of a % paragraph, the ~\parskip~ would follow that penalty of 10000, % so there could be a page break neither at the -% ~\parskip~ nor at the ~\baselineskip~ (\TeX book p. 110)---so +% ~\parskip~ nor at the ~\baselineskip~ (\TeX book p._110)---so % there could never be a page break between two paragraphs. % So something must screen off the 10000 penalty. % Indeed, the ~\kern~ is a place to break. @@ -972,26 +992,47 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % \end{old} % ---but this allows a page break after heading. So: %% - \@LN@parpgbrk - \if@nobreak \nobreak \fi \vskip\skip@ % v4.32 + \@LN@parpgbrk %% -% After heading, ~\kern\z@~ resulting from previous line -% (see below) is followed by ~\write~ or ~\penalty10000~, -% so causes no page break. +%% After heading, ~\kern\z@~ resulting from previous line +%% (see below) is followed by ~\write~ or ~\penalty10000~, +%% so causes no page break. % % These and similar changes were formerly done by ~linenox1.sty~. % (/New v4.00) -%% - \global\holdinginserts\@LN@outer@holdins % v4.2 - \advance\interlinepenalty -\linenopenalty - \fi\fi} - -% (New v4.00) Initialize ~\@LN@parpgbrk~: - -\gdef\@LN@parpgbrk{\kern\z@} - -% (/New v4.00) % +% (New v4.4) +% A ~\belowdisplayskip~ may precede the previous when the paragraph +% ends on a display-math; or there may be a ~\topsep~ from a list, etc. +% ~\addvspace~ couldn't take account for it with ~\kern\z@~ +% here. v4.32 therefore moved the space down -- with at least two +% bad consequences. +% Moreover, David Josef Dev observes that ~\kern\z@~ may +% inappropriately yield column depth 0pt. +% For these reasons, we introduce ~\@LN@screenoff@pen~ below. +% (/New v4.4) +%% + \global\holdinginserts\@LN@outer@holdins % v4.2 + \advance\interlinepenalty -\linenopenalty + \fi % from \ifinner ... \else + \fi} % from \ifvmode ... \else + +% (New v4.00, v4.4) Initialize ~\@LN@parpgbrk~, accounting +% for earlier space and for appropriate columndepth. +% We use former ~\MakeLineNo~'s depth-preverving trick +% ~\@LN@depthbox~ again: + +\def\@LN@screenoff@pen{% + \ifdim\lastskip=\z@ + \@tempdima\prevdepth \setbox\@tempboxa\null + \@LN@depthbox \fi} + +\global\let\@LN@parpgbrk\@LN@screenoff@pen + +% (/New v4.4, v4.00) +% \subsection{% +% Turning on/off %% own subsec. v4.4. +% \unskip}\label{ss:OnOff} % The basic commands to enable and disable line numbers. % ~\@par~ and ~\par~ are only touched, when they are ~\let~ % to ~\@@@par~/~\linenumberpar~. The line number may be @@ -1012,7 +1053,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. %% % (New v4.3) Just noticed: Such tricks have been % disallowed with v4.11, see subsections_\ref{ss:LL} -% and_\ref{ss:CtrlLN}.---Moreover, the switching between +% and_\ref{ss:OnOff}.---Moreover, the switching between % meanings of ~\linelabel~ for a possible error message % as of v4.11 is removed. Speed is difficult to esteem % and also depends on applications. Just use the most @@ -1079,7 +1120,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % of environments, including the suppression of the % following paragraph's indentation. % -%% TODO: v4.3+: +%% TODO: v4.4+: % (UL) I am drawing the following % private thoughts of Stephan's to publicity so that others may % think about them---or to remind myself of them in an efficient @@ -1333,7 +1374,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % \end{verbatim} % \end{old} % This trick is better not allowed---see subsections_\ref{ss:LL} -% and_\ref{ss:CtrlLN}. +% and_\ref{ss:OnOff}. % (/New v4.11) % % ~\linelabel~ @@ -1594,7 +1635,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % (v4.22: I had made much fuss about resetting subordinate % counters here---removed, somewhat postponed.) % -%% TODO v4.3+: +%% TODO v4.4+: %% \newcommand*\resetlinenumber[1][\@ne]{% %% \ifx\c@linenumber\c@runninglinenumber %% \global\c@linenumber#1\relax @@ -1942,7 +1983,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % file. \AtBeginDocument{% v4.2, revtex4.cls (e.g.). - % <- TODO v4.3+: Or better in \LineNoLaTeXOutput!? + % <- TODO v4.4+: Or better in \LineNoLaTeXOutput!? \let\@LN@orig@makecol\@makecol} \def\@LN@makecol{% \@LN@orig@makecol @@ -1951,7 +1992,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \protected@write\@auxout{}{% \string\@LN@col{\if@firstcolumn1\else2\fi}% }% - \unvbox\@outputbox % v4.22, was \box + \box\@outputbox }% \vbox } %% TODO cf. revtexln.sty. @@ -2024,7 +2065,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % \end{old} % (UL) This was somewhat slow. This arithmetic % happens at every line. This time I tend to declare an extra -%% TODO v4.3+ +%% TODO v4.4+ % line counter (as opposed to my usual recommendations to use % counters as rarely as possible) which is stepped every line. % It could be incremented in the same way as ~\c@LN@truepage~ @@ -2034,7 +2075,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % and ~\thelinenumber~ is executed.---It gets much slower by my % support of controlling the first line number below. I should % improve this.---On -%% %% TODO v4.3+--pagewise!? +%% %% TODO v4.4+--pagewise!? % the other hand, time expense means very little nowadays, % while the number of \TeX\ counters still is limited. % @@ -2046,7 +2087,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. %% %% I wonder about Stephan's group. Its only effect is that %% ~\@tempcnta~ is restored after using it. What for is this? -%% I tend to remove the group braces. %% TODO v4.3+ +%% I tend to remove the group braces. %% TODO v4.4+ % (/UL) % % Here is the new code. It is very near to my ~lnopatch.sty~ @@ -2695,7 +2736,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \advance\c@internallinenumbers\m@ne \expandafter\makeinternalLinenumbers\fi } - % TODO v4.3+: star: line numbers right!? cf. lnocapt.sty + % TODO v4.4+: star: line numbers right!? cf. lnocapt.sty % % \subsection{% @@ -2747,7 +2788,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \newcommand*\@linerefadd[2]{\c@linenumber=#1\@@linerefadd\relax \thelinenumber} -%% TODO v4.3+: Insert `LN' in internal command names? +%% TODO v4.4+: Insert `LN' in internal command names? % % \subsection{% % Numbered quotation environments @@ -2764,7 +2805,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % Default is to count from one. % % (v4.22: A local version using ~\c@internallinenumber~ -% might be useful, see subsection_\ref{ss:ILN}.) %% TODO v4.3+ +% might be useful, see subsection_\ref{ss:ILN}.) %% TODO v4.4+ \newcommand\quotelinenumbers {\@ifstar\linenumbers{\@ifnextchar[\linenumbers{\linenumbers*}}} @@ -2846,17 +2887,17 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % This section completes reviving ~\pagebreak~, ~\nopagebreak~, % ~\vspace~, and the star and optional form of ~\\~. This was % started in section_\ref{ss:output} and resumed in -% section_\ref{ss:MLN} and subsection_\ref{ss:CtrlLN}. +% section_\ref{ss:MLN} and subsection_\ref{ss:calls}. % The problem was explained in section_\ref{ss:output}: % ~\vadjust~ items come out at a bad position, and the % \LaTeX\ commands named before work with ~\vadjust~ indeed. % Our solution was sketched there as well. % -% According to the caveat in subsection_\ref{ss:CtrlLN} concerning +% According to the caveat in subsection_\ref{ss:OnOff} concerning % ~\ifLineNumbers~, the \LaTeX\ commands enumerated may go % wrong if you switch line numbering inside or at the end of % a paragraph. -%% %% TODO v4.3+ +%% %% TODO v4.4+ % % \subsection{% % Redefining \scs{vadjust} @@ -2933,11 +2974,11 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % coming from a \LaTeX\ command should be ~\PostponeVadjust~. % ~\marginpar~s and floats seem to be the only cases which % are not explicitly dealt with in the present section. -% This would be a way to avoid ~\my@nobreaktrue~! +% This would be a way to avoid ~\@LN@nobreaktrue~! % Of course, the ~\vadjust~s that the present package uses % then must be replaced by ~\@LN@@vadjust~.---Maybe % next time. (/UL) -%% %% TODO v4.3+ +%% %% TODO v4.4+ % % The next command and something else will be added to the % \LaTeX\ commands we are concerned with here. @@ -2949,13 +2990,17 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. } % (UL) What about math mode? Math display? Warn? (/UL) -%% %% TODO v4.3+ +%% %% TODO v4.4+ % % ~\@tempa~ will now become a two place macro which adds first % argument (single token), enclosed by ~\ifLineNumbers~\,\dots % ~\fi~ to the left of second argument. As long as we need it, % we can't use the star form of ~\DeclareRobustCommand~ or % the like, because AMS-\LaTeX\ uses ~\@tempa~ for ~\@ifstar~. +% (New v4.41) And for the same reason, that ~\CheckCommand*~ +% had to be raised! (/New v4.41) + +\CheckCommand*\@parboxrestore{\@arrayparboxrestore\let\\\@normalcr} \def\@tempa#1#2{% \expandafter \def \expandafter#2\expandafter{\expandafter @@ -2977,10 +3022,8 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. \@tempa\nolinenumbers\@arrayparboxrestore % We hope this suffices $\dots$ let's check one thing -% at least: - -\CheckCommand*\@parboxrestore{\@arrayparboxrestore\let\\\@normalcr} - +% at least: [(New v4.41) see ~\CheckCommand~ above (/New v4.41)] +% % Now for the main theme of the section. % The next lines assume that ~\vspace~, ~\pagebreak~, and % ~\nopagebreak~ use ~\vadjust~ whenever they occur outside @@ -2999,7 +3042,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % (and we use ~\@ifstar~!). %% %% \@ifstar reimplemented 1995/10/16, but seems to be much older. -%% TODO v4.3+: +%% TODO v4.4+: %% \def\@LN@cr{% %% \@ifnextchar*{\@LN@changevadjust\@normalcr}% %% {\@ifnextchar[{\@LN@changevadjust\@normalcr}\@normalcr}% @@ -3008,7 +3051,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. %% % (Using a copy of ~\\~ would be safer, but an ugly repetition % of ~\protect~.) -%% %% TODO v4.3+ +%% %% TODO v4.4+ \DeclareRobustCommand\\{% \ifLineNumbers @@ -3153,7 +3196,7 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % retained. <number>=1 turns this off without changing % ~linenumbermodulo~. The counter is initialized to 5. %% -%% %% TODO v4.3+: `counter', he says. Cf._above. +%% %% TODO v4.4+: `counter', he says. Cf._above. %% %% (New v4.31) % \item @@ -3237,13 +3280,13 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % ~\\[~<space>~]~---cf._section_\ref{s:MVadj}. % % The same care should be applied to the ``wizard'' devices -% ~\ifLineNumbers~ (subsection_\ref{ss:CtrlLN}) and +% ~\ifLineNumbers~ (subsection_\ref{ss:OnOff}) and % ~\PostponeVadjust~ (section_\ref{ss:PVadj}). % (/New v4.00) % % (New v4.11) Oh, and the commands and environments of % section_{s:Xt} are missing. Sorry, I am in a hurry now. -% May be next time.% %% TODO v4.3+ +% May be next time.% %% TODO v4.4+ % ---And the environments ~{linenomath}~ and ~{linenomath*}~should % get an own paragraph. In short, each math display, equation, % or ~{eqnarray}~ should be ``wrapped'' in one of ~{linenomath}~ @@ -3323,10 +3366,10 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. % \end{document}%D ------------------------------------------------------------------------------ %SSTOPP -%% TODO v4.3+: Check for unwanted comment marks in new comments +%% TODO v4.4+: Check for unwanted comment marks in new comments %% (resulting from manual aligning): search `New v4.2' %% and/or ` % '! -%% TODO v4.3+: Check for missing comment marks where a paragraph +%% TODO v4.4+: Check for missing comment marks where a paragraph %% should end/start. Also to prevent empty "code" lines. %% Especially, new comments at section ends must be %% followed by comment mark lines. @@ -3334,20 +3377,20 @@ Macro file lineno.sty for LaTeX: attach line numbers, refer to them. %% See `visual space' above. %% For proper appearance in lineno.tex, note that a comment %% in a final code line changes behaviour. -%% TODO v4.3+: Require README for redistribution? -%% TODO v4.3+: Since discussions of code have increased so much, it +%% TODO v4.4+: Require README for redistribution? +%% TODO v4.4+: Since discussions of code have increased so much, it %% would be appropriate not to give to this file %% extension `.sty' (e.g., `dty'!??). ?? Is quickly read though! %% A .sty extraction may be possible even if the present %% file is neither a .doc nor a .dtx. (!???) %% Use awk line below (etc.) for .doc at least; + .ins or so. %% ^ must not be caps! To escape awk. -%% TODO v4.3+: Underfull lines!? (due to long code quotations) -%% TODO v4.3+: Sometimes paragraph indents may be appropriate. +%% TODO v4.4+: Underfull lines!? (due to long code quotations) +%% TODO v4.4+: Sometimes paragraph indents may be appropriate. %% TODO Swap first line (`\iffalse...') with corresponding below. Or do *not* swap, maybe nawk is more reliable. -%% TODO v4.3+: Ponder Stephan's mail from 2004/09/02. -%% TODO v4.3+: +%% TODO v4.4+: Ponder Stephan's mail from 2004/09/02. +%% TODO v4.4+: %% use \@ET@makeLineNumber. %% plus almost all `(UL)' %% plus lots of bad boxes messages |