From b2af3a5c5a7adb196a11e1d049a2162b4dd34a45 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 18 Oct 2012 21:44:12 +0000 Subject: update from cvr git-svn-id: svn://tug.org/texlive/trunk@28012 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/nameref.4ht | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist') 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 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}]% } -- cgit v1.2.3