close
Sayahna Sayahna
Search

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

|Back|

The main problems that we faced when converting the TEX sources of Project Gutenberg Ebooks to HTML5/MathML formats are listed here.

HTML

  1. Text coded using {\itshape ...} not appeared as italic.

MathML

  1. The footnote counter in display equations appear in a new line without a link to its corresponding footnote text.
  2. \textstyle does not work for fractions.
  3. \intertext in {gather} is not rendered. It has converted in MathML, but rendering failed due to wrong tagging.
  4. \limits in inline equations does not produce the desired output.
  5. The equation number coded in \tag{} in starred display math environments (eg: equation*, eqnarray*, align* etc.) render without right alignment like normal equation number.
  6. \makebox[][]{} does not produce any code.
  7. The font of equation number differs for equations coded in {equation}, {eqnarray} or any amsmath environements like {align}, {gather} etc.
  8. The alignment of equations coded in {aligned} environment completely lost when \textit was used instead of \mathit.
  9. The aboveskip of an equation is too small when it appears inside a list.