Difference between revisions of "SFN:TeX4ht: TeX to HTML/MathML — conversion issues"
Line 15: | Line 15: | ||
# The font of equation number differs for equations coded in <code>{equation}, {eqnarray}</code> or any amsmath environements like <code>{align}, {gather}</code> etc. | # The font of equation number differs for equations coded in <code>{equation}, {eqnarray}</code> or any amsmath environements like <code>{align}, {gather}</code> etc. | ||
# The alignment of equations coded in <code>{aligned}</code> environment completely lost when <code>\textit</code> was used instead of <code>\mathit</code>. | # The alignment of equations coded in <code>{aligned}</code> environment completely lost when <code>\textit</code> was used instead of <code>\mathit</code>. | ||
− | # The | + | # The above/belowskip of an equation is too small when it appears inside a list. |
Revision as of 07:48, 17 November 2012
The main problems that we faced when converting the TEX sources of Project Gutenberg Ebooks to HTML5/MathML formats are listed here.
HTML
- Text coded using
{\itshape ...}
not appeared as italic.
MathML
- The footnote counter in display equations appear in a new line without a link to its corresponding footnote text.
\textstyle
does not work for fractions.\intertext
in{gather}
is not rendered. It has converted in MathML, but rendering failed due to wrong tagging.\limits
in inline equations does not produce the desired output.- The equation number coded in
\tag{}
in starred display math environments (eg:equation*, eqnarray*, align*
etc.) render without right alignment like normal equation number. \makebox[][]{}
does not produce any code.- The font of equation number differs for equations coded in
{equation}, {eqnarray}
or any amsmath environements like{align}, {gather}
etc. - The alignment of equations coded in
{aligned}
environment completely lost when\textit
was used instead of\mathit
. - The above/belowskip of an equation is too small when it appears inside a list.