diff options
author | Norbert Preining <norbert@preining.info> | 2022-02-18 03:01:44 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-02-18 03:01:44 +0000 |
commit | 41041c6bdcedcc33698491c2caec4cd725a4fe97 (patch) | |
tree | 59aa0f9e0235ceee2474351b4b1a90a1eace6619 /support/TeX4ht/source/tex4ht-4ht.tex | |
parent | bd0e05b5b4dba5b38512acb2e7104f180fdb97e6 (diff) |
CTAN sync 202202180301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 72be0a6972..40696a0a64 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1076 2022-02-10 16:55:31Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1079 2022-02-16 21:13:48Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -30722,6 +30722,14 @@ d|<haddr prefix|>\last:haddr \endinput >>> \AddFile{9}{listings} +We use Xcolor's features to extract color information for syntax highlighting. +We need to load it if it isn't used yet +\<listings sty\><<< +\@ifpackageloaded{xcolor}{}{% +\RequirePackage{xcolor} +} +>>> + For some reason we need the followng version of \`|\@makecaption| in order to get correct cross-references. There were duplicate IDs sometimes. @@ -30833,14 +30841,14 @@ Configure list of listings \setbox\z@\hbox{{\lst@currstyle{\:tempc}}}% \lst@OutputBox\z@} \HLet\lst@Kern\:tempa -\NewConfigure{lst@Kern}{2} -\Configure{lst@Kern}{0.499em}{0.1em} >>> Configure lst@Kern: character width, inter character space size \<listings sty\><<< -\def\lst@outputspace{\:nbsp} +\NewConfigure{lst@Kern}{2} +\Configure{lst@Kern}{0.499em}{0.1em} +\def\lst@outputspace{\HCode{ }} >>> Test cases: |