Limitations

  • TeX4ht doesn’t understand features for which it is not configured
    %% ex.tex  
    \documentclass{article}  
      \newcommand\myfrac[2]{\vbox{$#1$ \par\vrule\par $#2$}}  
    \begin{document}  
       $$ \myfrac{#1}{#2} $$  
    \end{document}

  • Users may configure features in configuration files
    %% foo.cfg  
    \Preamble{}  
      \def\myfrac{\frac}  
    \begin{document}  
    \EndPreamble

    htlatex ex "foo"
  • A few features are not understood correctly by TeX4ht. They require users’ interface.

    Use

    $a {\csname HCode\endcsname{}}_1^2b$

    instead of

    $a {}_1^2b$               % wrong for MathML

13, next, prev, up