I'm trying to convert a kosher LaTeX file (the kosherness manifests in mk4ht htlatex and mk4ht xhmlatex converting just fine) using the dbmlatex option to mk4ht, as in
$ mk4ht dbmlatex section.tex and... java, as invoked by t4ht, bumps out on t4ht.c (2010-12-16-08:47 kpathsea) t4ht -f/section.tex -cdocbk (/usr/share/texmf-dist/tex4ht/base/unix/tex4ht.env) Entering section.lg Entering section.css Entering section.tmp System call: cp section.xml section.tmp System return: 0 System call: java -classpath `cygpath -w /usr/share/texmf-dist/tex4ht/bin/tex4ht.jar` xtpipes -i `cygpath -w /usr/share/texmf-dist/tex4ht/xtpipes/` -o section.xml section.tmp [Fatal Error] :738:65: The element type "mrow" must be terminated by the matching end-tag "</mrow>". org.xml.sax.SAXParseException; lineNumber: 738; columnNumber: 65; The element type "mrow" must be terminated by the matching end-tag "</mrow>". at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1236) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568) at xtpipes.Xtpipes.execute(Xtpipes.java:1300) at xtpipes.Xtpipes.execute(Xtpipes.java:783) at xtpipes.Xtpipes.mainMethod(Xtpipes.java:665) at xtpipes.Xtpipes.main(Xtpipes.java:70) at xtpipes.main(xtpipes.java:5) --- xtpipes error 29 --- At <sax content-handler="xtpipes.util.ScriptsManager" lexical-handler="xtpipes.util.ScriptsManagerLH" > : While parsing file file:/C:/cygwin/home/gustav/doc/Markov/html/section.tmp: : org.xml.sax.SAXParseException; lineNumber: 738; columnNumber: 65; The element type "mrow" must be terminated by the matching end-tag "</mrow>". --- Warning --- System return: 256 In this case... hmm... It all runs under Cygwin/Windows. Do not panic! I had to tweak Java lines in texmf-dist/tex4ht/base/unix/tex4ht.env a little to make Sun's Java find the TeX4ht files in the Windows world (in which it lives), but... this seems to work fine, as you can see above. Java finds the files and processes section.tmp without objections writing section.xml as it goes, until it hits line 738, column 65, in section.tmp, and complains about the missing </mrow>, whereupon all stops and section.xml ends up incomplete. It ends like this: ><mo class="MathClass-open">(</mo><mrow ><mstyle mathvariant="bold"><mi >x</mi></mstyle><mo class="MathClass-punc">,</mo><mi >t</mi></mrow><mo class="MathClass-close">)</mo></mrow></mrow></mfenced> <mspace width="0.3em" class="thinspace"></mspace><mstyle The allegedly offending line #738 in section.tmp looks as follows class="MathClass-close">)</mo></mrow></mrow></mfenced> </mtd><mtd Column #65 is the </mtd> statement, which seemingly shows up here out of place, because another (third) </mrow> should be there. Question: is this a known problem? Should I update some of my TeX4ht config files? If so, which ones? This is a vanilla Cygwin installation downloaded with the latest version of TeX Live about two weeks ago... Zdzislaw Meglicki Indiana University http://perth.ovpit.indiana.edu/gustav
