# Tag Info

1

tex4ht is quite sensitive on things which are written to toc (and because it uses own configurable mechanism for controlling which sectioning commands should be printed in toc, even starred commands are saved), so you need to be careful in what you use. easy solution is to use normal chapter with optional parameter: \newcommand{\MyChapter}[3]{% % #1 = ...

3

The problem is that lot of things is happening at begin document in tex4ht. This is the moment when patches from .4ht files are loaded, and html header is printed. So your dedication text is printed before any html tags in your example. Probably easiest solution is to use etoolbox command \AfterEndPreamble, which print content after all \AtBeginDocument ...

1

pdfpages is obviously one of packages which causes tex4ht to fail just with loading. some other example of such package is fontspec. only solution is to prevent usage of such packages when tex4ht is loaded and to provide alternative definitions for macros used in the document. To simplify this process, I created simple package, called alternative4ht.sty: ...

Top 50 recent answers are included