summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-14 03:01:20 +0000
committerNorbert Preining <norbert@preining.info>2023-10-14 03:01:20 +0000
commit315010c30c0dab68a71ca741364438a7a0b1261f (patch)
tree1892d65e76bc025eede34669c33667d1e8c1f218 /support/TeX4ht/source/tex4ht-4ht.tex
parent7c1335b7f300ea31a40bf83026d6b7d24d7bafc5 (diff)
CTAN sync 202310140301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex45
1 files changed, 41 insertions, 4 deletions
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}
>>>
@@ -33091,6 +33103,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}
%%%%%%%%%%%%%%%%%%%%%%%