Package: tex4ht Version: 20060312-1 Severity: normal Dear Eitan, dear Kapil,
when processing the following document ,---- | \documentclass{article} | | % \usepackage{amsmath} | | | \begin{document} | | | \begin{equation} | \label{eq:20} | S = s_\mathrm{N} [\mathrm{N}] + s_\mathrm{U} [\mathrm{U}] | % S = s_\text{N} [\text{N}] + s_\text{U} [\text{U}] | \end{equation} | | \end{document} | | %%% Local Variables: | %%% mode: latex | %%% TeX-master: t | %%% End: `---- with "mk4ht oolatex mini.tex", I get: mk4ht (2006-02-10-14:33) htlatex mini.tex "xhtml,ooffice" "ooffice/! -cmozhtf" "-coo -cvalidate" This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode LaTeX2e <2003/12/01> [...] (/usr/share/texmf/tex/generic/tex4ht/mathml.4ht [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]) (/usr/share/texmf/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/share/texmf/tex/generic/tex4ht/article.4ht (/usr/share/texmf/tex/generic/tex4ht/ooffice.4ht) (/usr/share/texmf/tex/generic/tex4ht/unicode.4ht) (/usr/share/texmf/tex/generic/tex4ht/mathml.4ht) (/usr/share/texmf/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/share/texmf/tex/generic/tex4ht/ooffice.4ht) (/usr/share/texmf/tex/generic/tex4ht/unicode.4ht) (/usr/share/texmf/tex/generic/tex4ht/mathml.4ht) (/usr/share/texmf/tex/generic/tex4ht/ooffice-mml.4ht)) (./mini.aux) ! Argument of \new:mfont has an extra }. <inserted text> \par l.11 S = s_\mathrm{ N} [\mathrm{N}] + s_\mathrm{U} [\mathrm{U}] When I switch comments and use amsmath's \text macro, the error message is a about the same: ! Argument of \n:text@: has an extra }. There's no usable output. The html output (with mk4ht htlatex) seems to work fine. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (99, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.15-1-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages tex4ht depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libkpathsea3 2.0.2-30sarge4 path search library for teTeX (run ii tetex-bin 3.0-14.1bpo1 The teTeX binary files ii tex4ht-common 20051223-0bpo1 LaTeX and TeX for Hypertext (HTML) -- no debconf information -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)