summaryrefslogtreecommitdiff
path: root/support/TeX4ht
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
parent7c1335b7f300ea31a40bf83026d6b7d24d7bafc5 (diff)
CTAN sync 202310140301
Diffstat (limited to 'support/TeX4ht')
-rw-r--r--support/TeX4ht/source/ChangeLog10
-rw-r--r--support/TeX4ht/source/mktex4ht-cnf.tex3
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex45
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex9
4 files changed, 61 insertions, 6 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index b337ea50bd..f07dcd774f 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,13 @@
+2023-10-13 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (piton.4ht): fixed support for the current version
+ of the Piton package.
+
+ * tex4ht-4ht.tex (transparent.4ht),
+ * tex4ht-html4.tex (html4.4ht): added support for the transparent
+ package.
+ https://puszcza.gnu.org.ua/bugs/?612
+
2023-10-12 Karl Berry <karl@freefriends.org>
* tex4ht-c.tex (<span char block>): avoid negative indexing into
diff --git a/support/TeX4ht/source/mktex4ht-cnf.tex b/support/TeX4ht/source/mktex4ht-cnf.tex
index 14e936ccd0..9fe2c3216a 100644
--- a/support/TeX4ht/source/mktex4ht-cnf.tex
+++ b/support/TeX4ht/source/mktex4ht-cnf.tex
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1349 2023-07-25 14:28:00Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1388 2023-10-13 11:46:56Z michal_h21 $
% Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
% Read by tex4ht-cond4ht.
%
@@ -295,6 +295,7 @@
\AddFile{7}{fancybox}
\AddFile{7}{adjustbox}
\AddFile{7}{awesomebox}
+\AddFile{7}{transparent}
\AddFile{7}{alltt}
\AddFile{9}{lb}
\AddFile{7}{latin1}
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}
%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 4a607faa94..ae6efcef89 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1383 2023-10-12 13:00:56Z michal_h21 $
+% $Id: tex4ht-html4.tex 1388 2023-10-13 11:46:56Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -21704,6 +21704,13 @@ users redefine the latter macro.
>>>
+%%%%%%%%%%%%%%%%%%%%%%
+\section{transparent}
+%%%%%%%%%%%%%%%%%%%%%%
+
+\<configure html4 transparent\><<<
+\Configure{texttransparent}{\HCode{<span class="texttransparent" style="opacity:\transparent:opacity;">}}{\HCode{</span>}}
+>>>
\section{fontmath.ltx}