[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DocBook stylesheet errors
Norman Walsh <email@example.com>:
> / "Eric S. Raymond" <firstname.lastname@example.org> was heard to say:
> | We're missing a <newsgroup> element, which would be desirable for the
> | same reason as <email>. Consider
> Yep. Looks like an oversight. I'll see that an RFE gets created for
> it (to see outstanding issues, http://docbook.org/rfe/)
> | 2. Stylesheet problems in HTML output.
> | Using the docbook-style-dsssl-1.54-4 package, I note that in HTML output
> | A: Contents and title are badly ordered. That is, the table of
> | contents is set before the document title and front matter.
> | B: No break between front matter and first body section.
> | C: Contents of the author tag is rendered as a single run-on-line with
> | no line breaks or spacing.
> Can you send me a small document that demonstrates this problem,
> please? I've never heard of this but unfortunately I don't run any of
> the packaged distributions so sometimes it's my fault and sometimes it
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
It would be thought a hard government that should tax its people one tenth
-- Benjamin Franklin
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
Here's the environment:
Format this with docbook2html sample.sgml and observe the following
in the resulting HTML:
Table of Contents
The Linux XFree86 HOWTO
Eric Steven Raymond$Date: 2000/08/21 18:32:21 $Copyright © 2000 by
Eric S. Raymond
Permission is granted to copy, distribute and/or modify this document
under the terms of the Open Publication License, version 2.0.
Revision 7.0 21 August 2000 Revised by: esr
First DocBook version.
This document describes how to obtain, install, and configure version
4.0 of the XFree86 version of the X Window System (X11R6) for Linux
systems. It is a step-by-step guide to configuring XFree86 on your
Note the placement of the TOC and the run-on line just after the title.
<title>The Linux XFree86 HOWTO</title>
<pubdate role="cvs">$Date: 2000/08/21 18:32:21 $</pubdate>
<releaseinfo>This is version 7.0</releaseinfo>
<holder role="mailto:email@example.com">Eric S. Raymond</holder>
<para>Permission is granted to copy, distribute and/or modify
this document under the terms of the Open Publication License,
<date>21 August 2000</date>
First DocBook version.
<para>This document describes how to obtain, install, and configure
version 4.0 of the XFree86 version of the X Window System (X11R6)
for Linux systems. It is a step-by-step guide to configuring
XFree86 on your system.</para>
<para>[Text omitted for demonstration purposes]</para>