Three small problems with the SGML tools for DocBook: 1) if "--" or "---" is present in the text (in my case I was quoting the --termname option of gnome-terminal) the print style sheet emits "--" and "---" in the TeX source, but TeX converts them to an en-dash and to an em-dash, respectively. The style sheet (or jade, or whoever is to blame for this) should emit "-{}-" and "-{}-{}-". 2) There is no DOCTYPE at the start of the HTML pages generated (OK, I realize few people puts it, but since this is an SGML tool... 8^). 3) Sometimes a P element is closed without having been opened. Just try compile by Backspace-Delete Mini-HowTo (on www.linuxdoc.org). I suspect this happens very frequently. I checked with the W3C validator and that's all it complains about (well, OK, there's also the missing DOCTYPE). seba
For the first issue, see bug 11497 (which applies to openjade too). For the others: exactly which tools are you using? openjade directly, the db2xxx ones in stylesheets, or the sgml-tools ones?
I am using openjade directly with jade -d /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl -t sgml bsdel.sgml Using db2html the third problem is less frequent (but still present). In the case of my mini-HOWTO, it happens just in the x.html generated file. The missing DOCTYPE problem is still there. I can't use sgml-tools, I just installed 7.0 and sgml2html just gives /usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/aclass': No such file or directory BTW: bug 11497 is several months old. Is no one planning a fix?
It's been reported to the openjade people but I haven't heard anything back. I don't think it's too hard to fix though. I'm closing this as duplicate. For the second and third issues, see bug 21941 and bug 21944. Feel free to CC yourself on them. *** This bug has been marked as a duplicate of 11497 ***