Difference between revisions of "SFN:TeX4ht: TeX to HTML/MathML — conversion issues"
m (Created page with "|Back| The main problems that we faced when converting the T<sub>E</sub>X sources of Project Gutenberg Ebooks to HTML5/MathML formats are listed here. ==HTML== # ...") |
|||
Line 11: | Line 11: | ||
# <code>\intertext</code> in <code>{gather}</code> is not rendered. It has converted in MathML, but rendering failed due to wrong tagging. | # <code>\intertext</code> in <code>{gather}</code> is not rendered. It has converted in MathML, but rendering failed due to wrong tagging. | ||
# <code>\limits</code> in inline equations does not produce the desired output. | # <code>\limits</code> in inline equations does not produce the desired output. | ||
− | # The equation number coded in <code>\tag{}</code> in starred display math environments (eg: <code>equation*, eqnarray*, align*<code> etc.) render without right alignment like normal equation number. | + | # The equation number coded in <code>\tag{}</code> in starred display math environments (eg: <code>equation*, eqnarray*, align*</code> etc.) render without right alignment like normal equation number. |
# <code>\makebox[][]{}</code> does not produce any code. | # <code>\makebox[][]{}</code> does not produce any code. | ||
# 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 aboveskip of an equation is too small when it appears inside a list. |
Revision as of 07:45, 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 aboveskip of an equation is too small when it appears inside a list.