[tex4ht] [bug #215] package titlesec causes tex4ht to give error when using $[]$ in section title

Michal Hoftich puszcza-hackers at gnu.org.ua
Mon Jul 14 16:51:35 CEST 2014

Follow-up Comment #1, bug #215 (project tex4ht):

I posted detailed answer at TeX.sx[1], the issue is not math in section title,
but '[]' braces. 

Simple fix for this is to enclose second argument in 

 ttl:straight at i{#1}[#2]{#3}%

in a group:
 ttl:straight at i{#1}[{#2}]{#3}%

patch for tex4ht literate sources is attached.

[1] http://tex.stackexchange.com/a/185892/2891

(file #175)

Additional Item Attachment:

File name: titlesec.patch                 Size:0 KB


Reply to this item at:


  Message sent via/by Puszcza

More information about the tex4ht mailing list