Re: [docbook-apps] xsl-stylesheets/manpages

From
Sim Vaugh
Date
2003-05-19T16:58:38+00:00
ID
Thread
Re: [docbook-apps] xsl-stylesheets/manpages
On Mon, May 19, 2003 at 06:50:26PM +0200, Alain PORTAL wrote:

> Le Lundi 19 Mai 2003 18:15, Tim Waugh a 嶰rit :
> > On Mon, May 19, 2003 at 05:43:49PM +0200, Alain PORTAL wrote:
> > > <?xml version='1.0' encoding="ISO-8859-15"?>
> > > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
> > >  "/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-8/docbookx.dtd">
> >
> > I think you meant to use:
> >
> > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
> >  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
> 
> This is the directory where is the dtd from the RedHat rpm package 
> docbook-dtds-1.0-8.noarch.rpm
> 
> The original (from openjade.xml) is
> <?xml version='1.0'?>
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
>  "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd">

It is better to use the http:// form.

> > Your article contains no <refentry> elements. 
> 
> Yes, of course, I didn't send the whole source (30.1Kb), only the articleinfo.
> Here is a bigger piece of the source :

Oh, I see.  Well, the placing of the AUTHORS section is hard-coded at
the moment (as is its name, unfortunately).

As for handling <othercredit>, please try the attached stylesheet.
Use 'xmlto -x ./docbook.xsl ...'.

Tim.
*/