diff options
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/nameref.4ht | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht b/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht index 14e3aaa179a..89d00be8106 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht @@ -1,4 +1,4 @@ -% nameref.4ht (2021-01-02-13:53), generated from tex4ht-4ht.tex +% nameref.4ht (2021-02-03-14:57), generated from tex4ht-4ht.tex % Copyright 2005-2009 Eitan M. Gurari % Copyright 2009-2021 TeX Users Group % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-01-02-13:53} +\immediate\write-1{version 2021-02-03-14:57} \let\NR:Type\relax \let\ltx@label\label @@ -127,6 +127,16 @@ \gdef\NR:Type{equation}% \gdef\@currentlabelname{equation}% } + +% https://tex.stackexchange.com/a/581856/2891 +\@ifpackageloaded{caption}{ + \pend:defIII\caption@beginex{% + \gdef\NR:Type{\@currenvir}% + \gdef\NR:Title{\a:newlabel{##2}}% + } +}{} + + \@ifpackageloaded{amsmath}{% \Configure{@begin}{align}{\:tempams} \Configure{@begin}{multline}{\:tempams} |