I've just finished reading every last message on bugs #181444, #184072, #184086, and #234884. I am experiencing the exact same problems. Noteably,
- problem occurs with pdfxmltex _and_ xmltex (some people report pdfxmltex works) - stripping the id tags from the fo:list-item hasn't helped - i386 architecture Please find attached a transcript, containing the error messages received and where to find sample.xml and shameless-hack.xsl, which are attached to the aformentioned reports already. You will notice that the complaint in xmltex is about the tag 'hyphenation-character-count'. Following the lead of shameless-hack.xsl, I wrote shameless-hack-2.xsl to remove those attributes (attached). xmltex and pdfxmltex were happy with the result. Please let me know how I may help to get this fixed, it's enormously irritating :-) ii xmltex 1.9-10 TeX package for processing XML files -- Jon Dowland
sample.xml - very simple docbook file demonstrating problem http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=181444;msg=5 shameless-hack.xsl - XSL to remove the id attribute from tags http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=181444;msg=75 $ xsltproc --nonet --xinclude -o fo.xml http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl sample.xml $ xmltex fo.xml ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.2 ..."2" hyphenation-remain-character-count="2"> Chapter 1. bar</... ? x ... $ xsltproc --nonet --xinclude -o fo-no-id.xml shameless-hack.xsl fo.xml $ xmltex fo-no-id.xml ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.2 ..."2" hyphenation-remain-character-count="2"> Chapter 1. bar</... ? x $ xsltproc --nonet --xinclude -o fo-no-hyph.xml shameless-hack-2.xsl fo-no-id.xml $ xmltex fo-no-hyph.xml (works)
shameless-hack-2.xsl
Description: application/xml
signature.asc
Description: Digital signature