bugtex4ht - Bugs: bug #237, problem with titlesec package with...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #237: problem with titlesec package with tex4ht when using starred version of \section

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Tue Jan 6 19:55:43 2015  
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri Oct 6 12:09:09 2023, comment #1:

This issue seems to be resolved, the MWE compiles without errors.

Michal Hoftich <michal_h21>
Project Member
Tue Jan 6 19:55:43 2015, original submission:

Detailed are here:

When compiling this

\section*{$ \left( a \right) $}

using htlatex foo.tex

the error is

! Argument of \im:g has an extra }.
<inserted text>
l.6 \section*{$ \left( a \right) $}

The problem goes away when changing \section* to \section or when removing the titlesec package

>pdflatex foo2.tex

This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014)

File List
report.cls 2014/09/29 v1.4h Standard LaTeX document class
size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
amsmath.sty 2013/01/14 v2.14 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
titlesec.sty 2011/12/15 v2.10.0 Sectioning titles

This problem shows up when using images for math, not mathml.

workaround: do not use titlesec package with tex4ht when compiling math as images.

Nasser M. Abbasi <nma123>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by nma123 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Oct 6 12:09:08 2023michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray