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

cvr at gnu.org.ua cvr at gnu.org.ua
Fri Jun 28 11:32:04 CEST 2013


Author: cvr
Date: 2013-06-28 12:32:03 +0300 (Fri, 28 Jun 2013)
New Revision: 105

Modified:
   trunk/lit/tex4ht-4ht.tex
Log:
% Bug No: 185
%
% There is spurious "]" in the output document when package hyperref is used
% with tex4ht in new texlive 2013. This issue was reported at
%
% http://tex.stackexchange.com/q/120617/2891
%
% Optional arguments in various heads need to be further grouped in
% nameref.4ht. Done.
%


Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2013-03-21 12:55:07 UTC (rev 104)
+++ trunk/lit/tex4ht-4ht.tex	2013-06-28 09:32:03 UTC (rev 105)
@@ -3251,7 +3251,20 @@
 % CVR 2012-09-20-12:48
 % 
 
+% Bug No: 185
+%
+% There is spurious "]" in the output document when package hyperref is used
+% with tex4ht in new texlive 2013. This issue was reported at
+%
+% http://tex.stackexchange.com/q/120617/2891
+%
+% Optional arguments in various heands need to be further grouped in
+% nameref.4ht. Done.
+%
+% CVR 2013-06-28 15:00
+% 
 \<nameref v.2 configurations\><<<
+\let\NR:Type\relax
 \let\ltx at label\label
 \def\prf:label{{\ifx \NR:Title\:UnDef \else \NR:Title\fi}%
                {\ifx \NR:Type\:UnDef \else \NR:Type .1\fi}{}}%
@@ -3259,7 +3272,7 @@
 \let\NR:no at sect\no at sect
 \def\no at sect#1#2#3#4#5#6[#7]#8{\gdef\NR:Title{\a:newlabel{#7}}%
     \gdef\NR:Type{#1}%
-    \NR:no at sect{#1}{#2}{#3}{#4}{#5}{#6}[#7]{#8}}
+    \NR:no at sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}}
 \def\:StartSec#1#2#3{%
    \gdef\NR:Title{\a:newlabel{#3}}%
    \gdef\NR:Type{#1}%
@@ -3269,7 +3282,7 @@
 \def\:tempc#1#2#3#4#5#6[#7]#8{%
    \gdef\NR:Title{\a:newlabel{#7}}%
    \gdef\NR:Type{#1}%
-   \o:NR at sect:{#1}{#2}{#3}{#4}{#5}{#6}[#7]{#8}}
+   \o:NR at sect:{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}}
 \HLet\NR at sect\:tempc
 
 \def\:tempc#1#2#3#4#5{%
@@ -3294,7 +3307,7 @@
 \def\:tempc[#1]#2{%
    \gdef\NR:Title{\a:newlabel{#1}}%
    \gdef\NR:Type{chapter}%
-   \o:NR at chapter:[#1]{#2}}
+   \o:NR at chapter:[{#1}]{#2}}
 \HLet\NR at chapter\:tempc
 
 \def\:tempc#1{%



More information about the tex4ht-commits mailing list