diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-03 22:59:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-03 22:59:28 +0000 |
commit | e8aca6c126d52eaf34d6683e9e5f7240b05caf91 (patch) | |
tree | 195e6260fd1c0aa2dda3ee2fb093b7b470f94a22 /Master/texmf-dist/tex/generic/tex4ht | |
parent | 5ecca7fb8ed146e4765a5867a9d69092c06fca50 (diff) |
nameref fix for \autoref, tex4ht r879
git-svn-id: svn://tug.org/texlive/trunk@57609 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht')
-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} |