Issue 1124692: Math mode not well handled in \documentclass{howto} (original) (raw)

LaTeX loses its Math Magic (tm) when using \documentclass{howto}: underscore operator in math enviroment doesn't produce subscripts.

This documents shows some oddities:

\documentclass{howto}

\begin{document}

Water is H2OH_2OH2O, and subscript is missing from...

[ V_{0,r} ]

Superscripts are instead fine, as eπi+1=0e^{\pi i} + 1 = 0eπi+1=0 shows.

Also this is completely different from what obtained by \textbackslash documentclass{article}.

[ \sum_{k=0}^\infty \int_0^k f(x) dx ] \end{document}

The bug is removed by commenting out lines 541--549 in python.sty, but i don't know how to fix them... (not a TeXpert)

Using Python 2.3.5, Windows 2000, LaTeX2e (e-TeX 3.141592-2.2, MikTex 2.4 implementation)