diff options
author | Norbert Preining <norbert@preining.info> | 2022-05-06 03:00:50 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-05-06 03:00:50 +0000 |
commit | 3e3ecb7f722d0904c12ee0648c343b865dc99187 (patch) | |
tree | 8c13ed895e7191ed6c6a583a9730bde9cdd2a92f /support/TeX4ht/source/tex4ht-4ht.tex | |
parent | c8185bb3cd55c24b45c9b19c4ea36b8c7057199d (diff) |
CTAN sync 202205060300
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 6c2a34c0ba..8bf9120ff0 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1128 2022-05-04 12:16:51Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1130 2022-05-05 13:25:11Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -27353,6 +27353,7 @@ We need to use dvips driver with XeLaTeX \HLet\tcb@set@label\:tempa |<tcolorbox minipage|> +|<tcolorbox nameref|> \Hinput{tcolorbox} \endinput @@ -27372,6 +27373,19 @@ where spurious end \`'</p>' tags were inserted >>> +This code fixes nameref support in Tcolorbox. + +\<tcolorbox nameref\><<< +\AfterEndPreamble{% + % fix \nameref support + \def\:tempa#1{% + \gdef\NR:Title{\a:newlabel{#1}}% + \o:tcb@gettitle:{#1}% + }% + \HLet\tcb@gettitle\:tempa +} +>>> + %%%%%%%%%%%%%%%%%%%%%%% \Section{dvipsnam} %%%%%%%%%%%%%%%%%%%%%%% |