texlive[72939] Master/texmf-dist: subsection crossrefs,tex4ht r1601;

commits+karl at tug.org commits+karl at tug.org
Fri Nov 22 23:17:25 CET 2024


Revision: 72939
          https://tug.org/svn/texlive?view=revision&revision=72939
Author:   karl
Date:     2024-11-22 23:17:25 +0100 (Fri, 22 Nov 2024)
Log Message:
-----------
subsection crossrefs,tex4ht r1601; \linenumbers optional arguments, tex4ht r1602

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1601
    https://tug.org/svn/texlive?view=revision&revision=1602

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/Makefile
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/IEEEtran.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-11-22 21:53:17 UTC (rev 72938)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-11-22 22:17:25 UTC (rev 72939)
@@ -1,3 +1,17 @@
+2024-11-22  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (lineno.4ht): test for star and optional argument
+	in \linenumbers.
+
+	* tex4ht-4ht.tex (IEEEtran.4ht): fixed support for cross-references
+	to subsections.
+	https://tex.stackexchange.com/a/731404/2891
+
+2024-11-21  Karl Berry  <karl at freefriends.org>
+
+	* Makefile (tex4ht.jar): missing \ continuation. From Florian
+	Schmaus for gentoo.
+
 2024-11-20  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (qtree.4ht): added support for the Qtree package.

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/Makefile	2024-11-22 21:53:17 UTC (rev 72938)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/Makefile	2024-11-22 22:17:25 UTC (rev 72939)
@@ -1,4 +1,4 @@
-# $Id: Makefile 1558 2024-09-24 17:22:45Z karl $
+# $Id: Makefile 1600 2024-11-21 22:07:12Z karl $
 # This file is public domain.  Originally written 2010, Karl Berry.
 # Assumes GNU make.
 
@@ -741,7 +741,7 @@
 ifeq ($(java_in_make),true)
 .PHONY: jar
 jar: $(homedir)/$(texmf_t4ht_bin)/tex4ht.jar
-$(homedir)/$(texmf_t4ht_bin)/tex4ht.jar:
+$(homedir)/$(texmf_t4ht_bin)/tex4ht.jar: \
 	$(tex4ht_docbook_xtpipes_derived) \
 	$(tex4ht_fonts_noncjk_derived) \
 	$(tex4ht_html_speech_xtpipes_derived) \

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-11-22 21:53:17 UTC (rev 72938)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-11-22 22:17:25 UTC (rev 72939)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1599 2024-11-20 20:38:22Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1602 2024-11-22 15:01:36Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2024 TeX Users Group    
@@ -30701,6 +30701,7 @@
 % Copyright (C) |CopyYear.2009.       Eitan M. Gurari         %
 |<TeX4ht copyright|>
 |<IEEEtran config|>
+|<IEEEtran thesubtitle|>
 \Hinput{IEEEtran}
 \endinput
 >>>        \AddFile{9}{IEEEtran}
@@ -30711,6 +30712,16 @@
 \let\@restonecolfalse\@restonecoltrue
 >>>
 
+We must remove \''\mbox' from subtitle, because it caused 
+errors with cross-references.
+
+\<IEEEtran thesubtitle\><<<
+\ifCLASSOPTIONcompsoc\else
+\def\thesubsection{\thesection-\Alph{subsection}}     % I-A
+\fi
+>>>
+
+
 %%%%%%%%%%%%%
 \Section{enumerate.sty}
 %%%%%%%%%%%%%
@@ -34149,8 +34160,10 @@
 
 % \linenumbers don't have any sense in the HTML output
 % moreover, they cause equations and possibly other elements to fail
-\HLet\linenumbers\relax
+\def\:tempa{\@ifnextchar [{\resetlinenumber }{\@ifstar {\resetlinenumber }{}}}
+\HLet\linenumbers\:tempa
 
+
 % if \linenumbers were used in the document preamble, we must disable them now:
 \LineNumbersfalse
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/IEEEtran.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/IEEEtran.4ht	2024-11-22 21:53:17 UTC (rev 72938)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/IEEEtran.4ht	2024-11-22 22:17:25 UTC (rev 72939)
@@ -1,35 +1,31 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% IEEEtran.4ht                      2009-05-21-09:32 %
-% Copyright (C) 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 at cse.ohio-state.edu  %
-%                 http://www.cse.ohio-state.edu/~gurari  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2009-05-21-09:32}
-
+% IEEEtran.4ht                      2024-11-22-14:04 %
+% Copyright (C) 2009-2009       Eitan M. Gurari         %
+% Copyright 2009-2024 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
+%   https://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 <https://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
 \let\twocolumn\onecolumn
 \@restonecoltrue\onecolumn
 \let\@restonecolfalse\@restonecoltrue
 
+\ifCLASSOPTIONcompsoc\else
+\def\thesubsection{\thesection-\Alph{subsection}}     % I-A
+\fi
+
 \Hinput{IEEEtran}
 \endinput
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht	2024-11-22 21:53:17 UTC (rev 72938)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht	2024-11-22 22:17:25 UTC (rev 72939)
@@ -1,4 +1,4 @@
-% lineno.4ht (2023-05-21-07:16), generated from tex4ht-4ht.tex
+% lineno.4ht (2024-11-22-14:04), generated from tex4ht-4ht.tex
 % Copyright 2009-2023 TeX Users Group
 % Copyright 2000-2009  Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2023-05-21-07:16}
+\immediate\write-1{version 2024-11-22-14:04}
 
 
 \let\:tempc\linelabel
@@ -41,8 +41,10 @@
 
 % \linenumbers don't have any sense in the HTML output
 % moreover, they cause equations and possibly other elements to fail
-\HLet\linenumbers\relax
+\def\:tempa{\@ifnextchar [{\resetlinenumber }{\@ifstar {\resetlinenumber }{}}}
+\HLet\linenumbers\:tempa
 
+
 % if \linenumbers were used in the document preamble, we must disable them now:
 \LineNumbersfalse
 



More information about the tex-live-commits mailing list.