[tex4ht-commits] [SCM] tex4ht updated: r94 - trunk/lit

cvr at gnu.org.ua cvr at gnu.org.ua
Sat Oct 13 13:04:24 CEST 2012


Author: cvr
Date: 2012-10-13 14:04:24 +0300 (Sat, 13 Oct 2012)
New Revision: 94

Modified:
   trunk/lit/tex4ht-4ht.tex
Log:
 \gdef\NR:Type{\@captype} changed to \gdef\NR:Type{@currenvir} 
 while redefining \@caption in nameref.4ht. 



Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2012-10-09 10:42:43 UTC (rev 93)
+++ trunk/lit/tex4ht-4ht.tex	2012-10-13 11:04:24 UTC (rev 94)
@@ -3262,9 +3262,14 @@
 \HLet\NR at schapter\:tempc
 
 \let\o:NR@@caption\@caption
-
+%
+%
+% Keith Andrews <kandrews at 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}]%
 }      
@@ -3462,7 +3467,8 @@
 \EndVerbatim
 
 \''\XGet:HFile' acts on \''x1-10000.1' to retrieve the 1 between \`'x' and
-\`'-'. The if acts on \`')F1F-' to get the file name. Where the \`'x' got into the picture? Did \''\aXrefFile' introduced it? where?
+\`'-'. The if acts on \`')F1F-' to get the file name. Where the \`'x'
+got into the picture? Did \''\aXrefFile' introduced it? where? 
 
 
 
@@ -3913,7 +3919,7 @@
 
 %\def\@hyperref{\ref}
 %\def\label at hyperref[#1]#2{{%
-%  \def\@firstoffive##1##2##3{##1}%   |%can we remove thi line?|%
+%  \def\@firstoffive##1##2##3{##1}%   |%can we remove this line?|%
 %  \Configure{ref}{}{}{}\ref{#1}}}
 
 \<config hyperref\><<<



More information about the tex4ht-commits mailing list