| 1 |
% lineno.4ht (2024-11-24-07:37), generated from tex4ht-4ht.tex |
| 2 |
% Copyright 2009-2024 TeX Users Group |
| 3 |
% Copyright 2000-2009 Eitan M. Gurari |
| 4 |
% |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3c of this license or (at your option) any |
| 8 |
% later version. The latest version of this license is in |
| 9 |
% http://www.latex-project.org/lppl.txt |
| 10 |
% and version 1.3c or later is part of all distributions |
| 11 |
% of LaTeX version 2005/12/01 or later. |
| 12 |
% |
| 13 |
% This work has the LPPL maintenance status "maintained". |
| 14 |
% |
| 15 |
% The Current Maintainer of this work |
| 16 |
% is the TeX4ht Project <http://tug.org/tex4ht>. |
| 17 |
% |
| 18 |
% If you modify this program, changing the |
| 19 |
% version identification would be appreciated. |
| 20 |
\immediate\write-1{version 2024-11-24-07:37} |
| 21 |
|
| 22 |
|
| 23 |
\let\:tempc\linelabel |
| 24 |
\pend:defI\:tempc{\let\sv:efloat\end@float \HRestore\end@float } |
| 25 |
\append:defI\:tempc{\let\end@float\sv:efloat } |
| 26 |
\HLet\linelabel\:tempc |
| 27 |
|
| 28 |
\def\:tempc{\@tempdima\dp\@cclv \unvbox\@cclv |
| 29 |
\sbox\@tempboxa{\hbox to\z@{\a:lineno\makeLineNumber\b:lineno}}% |
| 30 |
\stepcounter{linenumber}% |
| 31 |
\dp\@tempboxa=\@tempdima\ht\@tempboxa=\z@ |
| 32 |
\nointerlineskip\kern-\@tempdima\box\@tempboxa |
| 33 |
\ifnum\outputpenalty=-\linenopenaltypar\else |
| 34 |
\@tempcnta\outputpenalty |
| 35 |
\advance\@tempcnta -\linenopenalty |
| 36 |
\penalty\@tempcnta |
| 37 |
\fi |
| 38 |
} |
| 39 |
\HLet\MakeLineNo\:tempc |
| 40 |
\NewConfigure{lineno}{2} |
| 41 |
|
| 42 |
% \linenumbers don't have any sense in the HTML output |
| 43 |
% moreover, they cause equations and possibly other elements to fail |
| 44 |
\def\:tempa{\@ifnextchar [{\resetlinenumber }{\@ifstar {\resetlinenumber }{}}} |
| 45 |
\HLet\linenumbers\:tempa |
| 46 |
|
| 47 |
|
| 48 |
% if \linenumbers were used in the document preamble, we must disable them now: |
| 49 |
\LineNumbersfalse |
| 50 |
|
| 51 |
\Hinput{lineno} |
| 52 |
\endinput |
| 53 |
|