[tex4ht-commits] [SCM] tex4ht updated: r1604 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Nov 27 12:56:24 CET 2024


Author: michal_h21
Date: 2024-11-27 11:56:23 +0000 (Wed, 27 Nov 2024)
New Revision: 1604

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
fixed another issue with minted and the breaklines option

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-11-24 15:37:15 UTC (rev 1603)
+++ trunk/lit/ChangeLog	2024-11-27 11:56:23 UTC (rev 1604)
@@ -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/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2024-11-24 15:37:15 UTC (rev 1603)
+++ trunk/lit/mktex4ht-cnf.tex	2024-11-27 11:56:23 UTC (rev 1604)
@@ -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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-11-24 15:37:15 UTC (rev 1603)
+++ trunk/lit/tex4ht-4ht.tex	2024-11-27 11:56:23 UTC (rev 1604)
@@ -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}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.