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

2023-10-06 Thread Michal Hoftich
Update of bug #237 (project tex4ht):

 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

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

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



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

2015-01-06 Thread Nasser M. Abbasi
URL:
  http://puszcza.gnu.org.ua/bugs/?237

 Summary: problem with titlesec package with tex4ht when using
starred version of \section
 Project: tex4ht
Submitted by: nma123
Submitted on: Tue 06 Jan 2015 09:55:43 PM EET
Category: None
Priority: 5 - Normal
Severity: 3 - Minor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Detailed are here:
http://tex.stackexchange.com/questions/220204/problem-with-titlesec-package-with-tex4ht-when-using-starred-version-of-section

summary:
When compiling this 

\documentclass[12pt,notitlepage]{report}
\usepackage{amsmath}
\usepackage{titlesec}
\begin{document}
\section*{$ \left(  a  \right) $}
\end{document}

using htlatex foo.tex

the error is

(./foo2.aux)
! Argument of \im:g has an extra }.
inserted text 
\par 
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.cls2014/09/29 v1.4h Standard LaTeX document class
  size12.clo2014/09/29 v1.4h Standard LaTeX file (size option)
 amsmath.sty2013/01/14 v2.14 AMS math features
 amstext.sty2000/06/29 v2.01
  amsgen.sty1999/11/30 v2.0
  amsbsy.sty1999/11/29 v1.2d
  amsopn.sty1999/12/14 v2.01 operator names
titlesec.sty2011/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.





___

Reply to this item at:

  http://puszcza.gnu.org.ua/bugs/?237

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/