From 315010c30c0dab68a71ca741364438a7a0b1261f Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 14 Oct 2023 03:01:20 +0000
Subject: CTAN sync 202310140301

---
 support/TeX4ht/source/tex4ht-4ht.tex | 45 ++++++++++++++++++++++++++++++++----
 1 file changed, 41 insertions(+), 4 deletions(-)

(limited to 'support/TeX4ht/source/tex4ht-4ht.tex')

diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index a98aa163b0..7c441dad27 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1386 2023-10-12 14:03:28Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1389 2023-10-13 13:36:04Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2023 TeX Users Group    
@@ -26022,8 +26022,20 @@ Minted, it turns the breaklines option to false when it is used.
   \a:pitonnumber
   \bool_if:NT \l__piton_line_numbers_bool
   {
-    \bool_if:NF \l__piton_all_line_numbers_bool
-    { \tl_if_eq:nnF  { #1 } { \PitonStyle {Prompt}{} } } % corrected 2023/04/10
+  \bool_if:nF
+    {
+      \str_if_eq_p:nn { #1 } { \PitonStyle {Prompt}{} }
+      &&
+      \l__piton_skip_empty_lines_bool
+    }
+    { \int_gincr:N \g__piton_visual_line_int}
+
+  \bool_if:nT
+    {
+      ! \str_if_eq_p:nn { #1 } { \PitonStyle {Prompt}{} }
+      ||||
+      ( ! \l__piton_skip_empty_lines_bool && \l__piton_label_empty_lines_bool )
+    }
     \__piton_print_number:
   }
   \b:pitonnumber
@@ -26053,7 +26065,7 @@ Minted, it turns the breaklines option to false when it is used.
   \ht:special{t4ht@[}% ignore next linebreak, to preven spurious blank line at the beginning of listings
   \gdef\:pitonendignorelines{\ht:special{t4ht@]}}
 }
-\append:def\__piton_width_to_aux:{\b:piton}
+\append:def\__piton_write_aux:{\b:piton}
 
 >>>
 
@@ -33090,6 +33102,31 @@ The following might be problematic with a caption
 
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%%%
+\Section{transparent.sty}
+%%%%%%%%%%%%%%%%%%%%%%%
+
+\<transparent.4ht\><<<
+% transparent.4ht (|version), generated from |jobname.tex
+% Copyright 2023 TeX Users Group
+|<TeX4ht license text|>
+|<transparent shared config|>
+\Hinput{transparent}
+\endinput
+
+>>> \AddFile{7}{transparent}
+
+The transparent package doesn't define its commands in the DVI mode, so we need to provide
+our versions. 
+
+\<transparent shared config\><<<
+% dummy command, just to prevent compilation errors
+\providecommand\transparent[1]{}
+% this can actually do something useful, as it operates on encloded content.
+\NewConfigure{texttransparent}{2}
+\providecommand\texttransparent[2]{\def\transparent:opacity{#1}\a:texttransparent#2\b:texttransparent}
+>>>
+
 %%%%%%%%%%%%%%%%%%%%%%%
 \Section{alltt.sty}
 %%%%%%%%%%%%%%%%%%%%%%%
-- 
cgit v1.2.3

