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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Sep 26 15:03:18 CEST 2024


Author: michal_h21
Date: 2024-09-26 13:03:18 +0000 (Thu, 26 Sep 2024)
New Revision: 1559

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed minted 3.0 support

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-09-24 17:22:45 UTC (rev 1558)
+++ trunk/lit/ChangeLog	2024-09-26 13:03:18 UTC (rev 1559)
@@ -1,3 +1,8 @@
+2024-09-26  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (minted.4ht): removed minted at colorbg env, to fix
+	support for Minted 3.0.
+
 2024-09-24  Karl Berry  <karl at freefriends.org>
 
 	* wripro.tex: copyright 2024.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-09-24 17:22:45 UTC (rev 1558)
+++ trunk/lit/tex4ht-4ht.tex	2024-09-26 13:03:18 UTC (rev 1559)
@@ -26340,12 +26340,11 @@
 
 \<minted.4ht\><<<
 % minted.4ht (|version), generated from |jobname.tex
-% Copyright 2022 TeX Users Group
+% Copyright 2022-2024 TeX Users Group
 |<TeX4ht license text|>
 
 |<minted inline fixes|>
 |<minted background color|>
-|<minted background color|>
 |<minted input fixes|>
 
 \Hinput{minted}
@@ -26380,9 +26379,18 @@
 \HLet\minted at inline@iii\:tempa
 >>>
 
+Minted 3.0 changed the way it works with the background color. 
+It now uses Fancyvrb, so the minted at colorbg environment is not used anymore. 
+We need to remove the redefinition, to prevent compilation error. 
+The MintedColorbg configuration can stay here, to prevent errors in 
+user config files that use it, but it doesn't have any effect.
+
 \<minted background color\><<<
 % support for background color in Minted listings
 \NewConfigure{MintedColorbg}{2}
+>>>
+
+\<minted background color not used\><<<
 \renewenvironment{minted at colorbg}[1]{%
   \colorlet{shadecolor}{#1}%
   \extractcolorspec{shadecolor}{\:tempa}%



More information about the tex4ht-commits mailing list.