summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/nameref.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/nameref.4ht13
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht b/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht
index 41bda3dfc64..df932391c14 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht
@@ -1,6 +1,6 @@
-% nameref.4ht (2017-11-27-09:16), generated from tex4ht-4ht.tex
+% nameref.4ht (2019-12-23-13:36), generated from tex4ht-4ht.tex
% Copyright 2005-2009 Eitan M. Gurari
-% Copyright 2009-2017 TeX Users Group
+% Copyright 2009-2019 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2017-11-27-09:16}
+\immediate\write-1{version 2019-12-23-13:36}
\let\NR:Type\relax
\let\ltx@label\label
@@ -51,7 +51,14 @@
\gdef\NR:Title{\a:newlabel{#1}}%
\gdef\NR:Type{part}%
\o:no@part:[{#1}]{#2}}
+
+% this definition clashes with asmart and amsproc classes, so we
+% need to skip if these are active
+\@ifundefined{opt@amsart.cls}{%
+\@ifundefined{opt@amsproc.cls}{%
\HLet\no@part\:tempc
+}{}}{}
+
\def\:tempc#1{%
\gdef\NR:Title{\a:newlabel{#1}}%