diff options
author | Karl Berry <karl@freefriends.org> | 2023-10-13 22:00:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-10-13 22:00:54 +0000 |
commit | 63319bf52c844d026bb5686744dfffda1250deda (patch) | |
tree | 1948c87204cea8f5d7e7456237132a53609bfcc8 /Master/texmf-dist/source/generic | |
parent | f1699d5f8cd35da9034fa3a1cfb1dca1f521f49c (diff) |
transparent, tex4ht r1388; piton, tex4ht r1389
git-svn-id: svn://tug.org/texlive/trunk@68540 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
4 files changed, 61 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index b337ea50bda..f07dcd774f8 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex index 14e936ccd0b..9fe2c3216a6 100644 --- a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index a98aa163b0f..7c441dad277 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index 4a607faa942..ae6efcef89e 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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} |