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

karl at gnu.org.ua karl at gnu.org.ua
Tue Jul 15 02:01:55 CEST 2014


Author: karl
Date: 2014-07-15 03:01:54 +0300 (Tue, 15 Jul 2014)
New Revision: 128

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/tex4ht-4ht.tex
Log:
handle titlesec.sty brackets in arg, http://puszcza.gnu.org.ua/bugs/?215

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2014-07-13 23:00:56 UTC (rev 127)
+++ trunk/lit/ChangeLog	2014-07-15 00:01:54 UTC (rev 128)
@@ -1,3 +1,11 @@
+2014-07-14  Karl Berry  <karl at gnu.org>
+
+	* Makefile (tex4ht_4ht_derived): add titlesec.4ht.
+	(titlesec 2005) <\ttl:straight at i>: use {#2} in case arg contains
+	brackets.  From Michal Hoftich.
+	http://tex.stackexchange.com/q/185866/
+	http://puszcza.gnu.org.ua/bugs/?215
+
 2014-07-13  Karl Berry  <karl at gnu.org>
 
 	* Makefile (tex4ht_4ht_derived): add listings.4ht.

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2014-07-13 23:00:56 UTC (rev 127)
+++ trunk/lit/Makefile	2014-07-15 00:01:54 UTC (rev 128)
@@ -14,7 +14,7 @@
 derived = 
 
 derived += $(tex4ht_4ht_derived)
-tex4ht_4ht_derived = book.4ht listings.4ht tocloft.4ht
+tex4ht_4ht_derived = book.4ht listings.4ht titlesec.4ht tocloft.4ht
 # and many, many more.
 
 derived += $(tex4ht_bibtex2_derived)

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2014-07-13 23:00:56 UTC (rev 127)
+++ trunk/lit/tex4ht-4ht.tex	2014-07-15 00:01:54 UTC (rev 128)
@@ -791,19 +791,13 @@
 >>>
 
 
-%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%
 \Section{titlesec}
-%%%%%%%%%%%%%%%%%%%%%%%%
 
-
-
-
-
 \<titlesec.4ht\><<<
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
-% titlesec.4ht                          |version %
-% Copyright (C) |CopyYear.2000.       Eitan M. Gurari         %
-|<TeX4ht copyright|>
+% titlesec.4ht (|version), generated from |jobname.tex
+% Copyright |CopyYear.2000. Eitan M. Gurari
+|<TeX4ht copywrite|>
 \ifx \ttl at assign@ii\:Undef 
    \ifx \ttl at sect\:UnDef\else
      |<titlesec pre 2.3.5|>
@@ -819,8 +813,6 @@
 \endinput
 >>>                        \AddFile{9}{titlesec}
 
-
-
 \<titlesec since 2.3.5\><<<
 \pend:defII\ttl at useclass{%
   \@ifstar {}{\SkipRefstepAnchor}}
@@ -836,10 +828,6 @@
 \let\ttl at endlongest\@empty
 >>>
 
-
-
-
-
 \<titlesec pre 2.3.5\><<<
 \pend:defII\ttl at sect{%
   \@ifstar {}{\SkipRefstepAnchor}}
@@ -850,9 +838,6 @@
 \let\ttl at write|=\:gobbleIII
 >>>
 
-
-
-
 \<shared titlesec\><<<
 \let\ttlh:hang|=\ttlh at hang
 \def\ttlh at hang#1#2#3#4#5#6#7#8{%
@@ -868,8 +853,6 @@
    \:seccntformat{#1}\fi}
 >>>
 
-
-
 \<titlesec 2005\><<<
 \let\ttl:straight at i\ttl at straight@i
 \def\ttl at straight@i#1[#2]#3{%
@@ -878,7 +861,7 @@
      |<skip extra sec and subsec toc|>%
   \fi
   \edef\sc:tp{\ifttl at label\else like\fi #1}%
-  \ttl:straight at i{#1}[#2]{#3}%
+  \ttl:straight at i{#1}[{#2}]{#3}%
 }
 \def\ttlh at hang#1#2#3#4#5#6#7#8{%
    \def\c:secnumdepth{\@nameuse{ttll@\sc:tp}}%
@@ -894,7 +877,6 @@
 \HLet\ttl at select\:tempc
 >>>
 
-
 \<skip extra sec and subsec toc\><<<
 \def\:temp{#1}\edef\:tempa{\expandafter
     \expandafter\expandafter\:gobble
@@ -910,7 +892,6 @@
 \fi
 >>>
 
-
 \<titlesec for nameref\><<<
 \gdef\NR:Title{\a:newlabel{#3}}%
 >>>
@@ -921,7 +902,6 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%
 \Section{Scientific Word}
-%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \Link[ftp://ftp.mackichan.com/]{}{}mackichan\EndLink,
 \Link[http://cutter.ship.edu/\string
@@ -31307,9 +31287,8 @@
 
 
 
-%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%
 \Section{listings}
-%%%%%%%%%%%%%%%%%%%
 
 
 \<listings.4ht\><<<





More information about the tex4ht-commits mailing list