summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-10-18 21:44:12 +0000
committerKarl Berry <karl@freefriends.org>2012-10-18 21:44:12 +0000
commitb2af3a5c5a7adb196a11e1d049a2162b4dd34a45 (patch)
tree035713c74371bbfefc2ee0b9eb562612ee1f9609 /Master/texmf-dist/tex/generic
parent53d41bfc8e123b5324bb47a85a6d68c4f115fdda (diff)
update from cvr
git-svn-id: svn://tug.org/texlive/trunk@28012 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/nameref.4ht13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht b/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht
index 916943c69f4..a0c5885a5b7 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht
@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% nameref.4ht 2012-09-21-16:03 %
+% nameref.4ht 2012-10-14-11:06 %
% Copyright (C) 2005--2009 Eitan M. Gurari %
% 2009--2012 TeX Users Group %
% %
@@ -25,7 +25,7 @@
% tex4ht@tug.org %
% http://www.tug.org/tex4ht %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2012-09-21-16:03}
+\immediate\write-1{version 2012-10-14-11:06}
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -95,9 +95,14 @@
\HLet\NR@schapter\:tempc
\let\o:NR@@caption\@caption
-
+%
+%
+% Keith Andrews <kandrews@iicm.edu> reported that \@captype as
+% \NR:Type threw an undefined control sequence error. I think
+% \@currenvir is safe, there is nothing special about \@captype.
+%
\long\def\@caption#1[#2]{%
- \gdef\NR:Type{\@captype}%
+ \gdef\NR:Type{\@currenvir}%
\gdef\NR:Title{\a:newlabel{#2}}%
\o:NR@@caption{#1}[{#2}]%
}