diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 5 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/lineno.4ht | 54 |
3 files changed, 41 insertions, 31 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 085632739ab..71266ccef6a 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,8 @@ +2023-05-03 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (lineno.4ht): disable line numbering. + https://github.com/michal-h21/make4ht/issues/119 + 2023-05-02 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (latex.4ht): disable newlines when caption is diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 4016ee14f0e..00d7732742b 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1326 2023-05-02 11:50:33Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1327 2023-05-03 12:01:08Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2023 TeX Users Group @@ -32632,8 +32632,8 @@ the fancy page style. \<lineno.4ht\><<< %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% lineno.4ht |version % -% Copyright (C) |CopyYear.2000. Eitan M. Gurari % +% lineno.4ht (|version), generated from |jobname.tex +% Copyright (C) 2000-2009 Eitan M. Gurari % |<TeX4ht copyright|> \let\:tempc\linelabel @@ -32655,6 +32655,13 @@ the fancy page style. \HLet\MakeLineNo\:tempc \NewConfigure{lineno}{2} +% \linenumbers don't have any sense in the HTML output +% moreover, they cause equations and possibly other elements to fail +\HLet\linenumbers\relax + +% if \linenumbers were used in the document preamble, we must disable them now: +\LineNumbersfalse + \Hinput{lineno} \endinput >>> \AddFile{9}{lineno} diff --git a/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht b/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht index 224992c6ceb..c84236794d8 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht @@ -1,38 +1,29 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% lineno.4ht 2009-05-21-09:32 % -% Copyright (C) 2000--2009 Eitan M. Gurari % -% % -% This work may be distributed and/or modified under the % -% conditions of the LaTeX Project Public License, either % -% version 1.3c of this license or (at your option) any % -% later version. The latest version of this license is % -% in % -% http://www.latex-project.org/lppl.txt % -% and version 1.3c or later is part of all distributions % -% of LaTeX version 2005/12/01 or later. % -% % -% This work has the LPPL maintenance status "maintained".% -% % -% This Current Maintainer of this work % -% is Eitan M. Gurari. % -% % -% If you modify this program your changing its signature % -% with a directive of the following form will be % -% appreciated. % -% \message{signature} % -% % -% gurari@cse.ohio-state.edu % -% http://www.cse.ohio-state.edu/~gurari % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2009-05-21-09:32} - +% lineno.4ht (2023-05-03-13:44), generated from tex4ht-4ht.tex +% Copyright (C) 2000-2009 Eitan M. Gurari % +% Copyright 2009-2023 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. \let\:tempc\linelabel \pend:defI\:tempc{\let\sv:efloat\end@float \HRestore\end@float } \append:defI\:tempc{\let\end@float\sv:efloat } \HLet\linelabel\:tempc - \def\:tempc{\@tempdima\dp\@cclv \unvbox\@cclv \sbox\@tempboxa{\hbox to\z@{\a:lineno\makeLineNumber\b:lineno}}% \stepcounter{linenumber}% @@ -47,6 +38,13 @@ \HLet\MakeLineNo\:tempc \NewConfigure{lineno}{2} +% \linenumbers don't have any sense in the HTML output +% moreover, they cause equations and possibly other elements to fail +\HLet\linenumbers\relax + +% if \linenumbers were used in the document preamble, we must disable them now: +\LineNumbersfalse + \Hinput{lineno} \endinput |