Package: tex4ht
Version: 20051223-1
Severity: normal

*** Please type your report below this line ***

Test file:

\documentclass[12pt,a4paper]{article}
%\usepackage[xhtml,mathml]{tex4ht}
\usepackage{amsmath}

\begin{document}
\begin{gather*}
 \text{if $x<0$}\\
 \text{if \(x<0\)}
\end{gather*}
\end{document}

Command line: mk4ht xhmlatex test.tex
Output file test.html

<?xml version="1.0" encoding="iso-8859-1" ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"; > 
<html xmlns="http://www.w3.org/1999/xhtml";  
> 
<head><title></title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="generator" content="TeX4ht 
(http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> 
<meta name="originator" content="TeX4ht 
(http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> 
<!-- xhtml,mathml,html --> 
<meta name="src" content="test.tex" /> 
<meta name="date" content="2006-01-31 17:23:00" /> 
<link rel="stylesheet" type="text/css" href="test.css" /> 
</head><body 
>
<!--l. 6--><p class="noindent">
<!--tex4ht:inline--></p><!--l. 6--><math 
 xmlns="http://www.w3.org/1998/Math/MathML";  
display="block" >
<mtable 
class="gather-star">
<mtr> 
<mtd><mstyle 
class="text"><mtext >if&#x00A0;</mtext><mstyle 
class="math"><mi 
>x</mi> <mo 
class="MathClass-rel">&#x003C;</mo> <mn>0</mn></mstyle><mtext 
></mtext></mstyle></mtd>                                                        
              
<mtd></mtd>
</mtr><mtr> 
<mtd><mstyle 
class="text"><mtext >if&#x00A0;<!--l.&#x00A0;9--><math&#x00A0;
&#x00A0;xmlns="http://www.w3.org/1998/Math/MathML"&#x00A0;&#x00A0;
display="inline"&#x00A0;><mrow&#x00A0;
>x&#x00A0;&#x003C;&#x00A0;0</mrow></math></mtext></mstyle></mtd> 
<mtd></mtd></mtr></mtable>
</math>
<!--l. 9--><p class="nopar">
</p> 
</body></html> 

Notice that many &#x00A0; appear in tags outside attribute values.
This is not allowed by the XML 1.0 Specification.

My expectation is that the second <mtr> element should be an exact 
copy of the first one (allowing not significant changes).

Kind regards,

        Gabor Braun



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.14-2-686
Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592 (charmap=ISO-8859-2) 
(ignored: LC_ALL set to hu_HU.iso88592)

Versions of packages tex4ht depends on:
ii  libc6                     2.3.5-8        GNU C Library: Shared libraries an
ii  libkpathsea3              2.0.2-30sarge4 path search library for teTeX (run
ii  tetex-bin                 3.0-13         The teTeX binary files
ii  tex4ht-common             20051223-1     LaTeX and TeX for Hypertext (HTML)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to