texlive[72988] Master/texmf-dist: fix for listings contents, tex4ht

commits+karl at tug.org commits+karl at tug.org
Wed Nov 27 22:28:43 CET 2024


Revision: 72988
          https://tug.org/svn/texlive?view=revision&revision=72988
Author:   karl
Date:     2024-11-27 22:28:43 +0100 (Wed, 27 Nov 2024)
Log Message:
-----------
fix for listings contents, tex4ht r1604

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

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/generic/tex4ht/fvextra.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-11-27 20:56:06 UTC (rev 72987)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-11-27 21:28:43 UTC (rev 72988)
@@ -1,3 +1,9 @@
+2024-11-27  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (fvextra.4ht): disable redefinition of Fancyvrb's
+	\FV at ListProcessLine, to prevent scratching of contents of the
+	listings.
+
 2024-11-22  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (lineno.4ht): test for star and optional argument

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex	2024-11-27 20:56:06 UTC (rev 72987)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex	2024-11-27 21:28:43 UTC (rev 72988)
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1599 2024-11-20 20:38:22Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1604 2024-11-27 11:56:23Z michal_h21 $
 % Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
 % Read by tex4ht-cond4ht.
 %
@@ -189,6 +189,7 @@
 \AddFile{7}{moreverb}
 \AddFile{7}{fancyvrb}
 \AddFile{9}{minted}
+\AddFile{9}{fvextra}
 \AddFile{9}{piton}
 \AddFile{9}{pythontex}
 \AddFile{9}{prosper}

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-11-27 20:56:06 UTC (rev 72987)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-11-27 21:28:43 UTC (rev 72988)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1602 2024-11-22 15:01:36Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1604 2024-11-27 11:56:23Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2024 TeX Users Group    
@@ -26584,6 +26584,37 @@
 \:minted at def@opt at switch{breaklines}
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{fvextra}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<fvextra.4ht\><<< 
+% fvextra.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|> 
+
+|<fvextra breaklines|>
+
+\Hinput{fvextra} 
+\endinput
+>>> \AddFile{9}{fvextra}
+
+The fvextra package is loaded by Minted. It breaks the breaklines option again. 
+This time, the whole listing is hidden when this option is used. It seems 
+that simply preventing redefinition of \''\FV at ListProcessLine' should fix 
+this issue.
+
+\<fvextra breaklines\><<<
+\define at booleankey{FV}{breaklines}%
+ {\booltrue{FV at breaklines}%
+  %\let\FV at ListProcessLine\FV at ListProcessLine@NoBreak
+}%
+ {\boolfalse{FV at breaklines}%
+  %\let\FV at ListProcessLine\FV at ListProcessLine@NoBreak
+}
+>>>
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \Section{piton}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -34135,7 +34166,7 @@
 
 \<lineno.4ht\><<<
 % lineno.4ht (|version), generated from |jobname.tex 
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2024 TeX Users Group
 % Copyright 2000-2009  Eitan M. Gurari
 |<TeX4ht license text|>
 

Added: trunk/Master/texmf-dist/tex/generic/tex4ht/fvextra.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/fvextra.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/fvextra.4ht	2024-11-27 21:28:43 UTC (rev 72988)
@@ -0,0 +1,33 @@
+% fvextra.4ht (2024-11-27-13:11), generated from tex4ht-4ht.tex
+% Copyright 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
+%   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.
+\immediate\write-1{version 2024-11-27-13:11}
+
+
+\define at booleankey{FV}{breaklines}%
+ {\booltrue{FV at breaklines}%
+  %\let\FV at ListProcessLine\FV at ListProcessLine@NoBreak
+}%
+ {\boolfalse{FV at breaklines}%
+  %\let\FV at ListProcessLine\FV at ListProcessLine@NoBreak
+}
+
+
+\Hinput{fvextra}
+\endinput
+


Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/fvextra.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht	2024-11-27 20:56:06 UTC (rev 72987)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/lineno.4ht	2024-11-27 21:28:43 UTC (rev 72988)
@@ -1,5 +1,5 @@
-% lineno.4ht (2024-11-22-14:04), generated from tex4ht-4ht.tex
-% Copyright 2009-2023 TeX Users Group
+% lineno.4ht (2024-11-24-07:37), generated from tex4ht-4ht.tex
+% Copyright 2009-2024 TeX Users Group
 % Copyright 2000-2009  Eitan M. Gurari
 %
 % This work may be distributed and/or modified under the
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-11-22-14:04}
+\immediate\write-1{version 2024-11-24-07:37}
 
 
 \let\:tempc\linelabel

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht	2024-11-27 20:56:06 UTC (rev 72987)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht	2024-11-27 21:28:43 UTC (rev 72988)
@@ -1,4 +1,4 @@
-% mathjax-latex-4ht.4ht (2024-10-25-14:48), generated from tex4ht-mathjax.tex
+% mathjax-latex-4ht.4ht (2024-11-20-13:31), generated from tex4ht-mathjax.tex
 % Copyright 2018-2024 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,10 +16,17 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-10-25-14:48}
+\immediate\write-1{version 2024-11-20-13:31}
 
 
 \ExplSyntaxOn
+\:CheckOption{fastmathjax}\if:Option
+\DeclareRobustCommand\alteqtoks[1]{%
+  \tl_set:Ne \l_tmpa_tl {\detokenize{#1}}
+  \HCode{\l_tmpa_tl}
+}
+
+\else
 \cs_new_protected:Npn \alteqtoks #1
 {
   \tl_set:Ne \l_tmpa_tl {\detokenize{#1}}
@@ -32,8 +39,9 @@
   \tl_set:Ne \l_tmpb_tl{ \l_tmpa_tl }
   \HCode{\l_tmpb_tl}
 }
+
+\fi
 \ExplSyntaxOff
-
 \NewConfigure{MathJaxConfig}{1}
 \NewConfigure{MathJaxMacros}[1]{%
 \Configure{@BODY}{\bgroup\NoFonts\ttfamily\detokenize{\(}%
@@ -222,6 +230,12 @@
 
 
 
+
+
+
+
+
+
 
 
 



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