This is the mail archive of the
docbook-tools-discuss@sources.redhat.com
mailing list for the docbook-tools project.
Re: Any luck with DocBook/SGML 3.1 with Red Hat 7.3?
- From: Peter Toft <pto at sslug dot dk>
- To: Tim Waugh <twaugh at redhat dot com>
- Cc: docbook-tools-discuss at sources dot redhat dot com
- Date: Mon, 1 Jul 2002 23:21:56 +0200 (CEST)
- Subject: Re: Any luck with DocBook/SGML 3.1 with Red Hat 7.3?
On Sun, 30 Jun 2002, Tim Waugh wrote:
> On Sun, Jun 30, 2002 at 10:21:03PM +0200, Peter Toft wrote:
>
> > I try to build from DocBook/SGML 3.1-sources on Red Hat
> > 7.3
> >
> > 1) When I go for HTML-output with Red Hat 6.2 or 7.2
> > my HTML-files would be named after the tags
> > "TAG-NAME" I added to my sections:
> > e.g. <sectN id="TAG-NAME">
> > Now with RH 7.3 all of my outputfile from running
> > docbook2html are named x1346.html and alike - not
> > install.html, introduction.html.
>
> The default value for %use-id-as-filename% is false. Turn it back on
> if you like, in a custom stylesheet.
Well - or directly in the
/usr/share/sgml/docbook/dsssl-stylesheets-1.76/html/dbparam.dsl
(I can't really see why this is so bad.)
Actually - I just tried it and found that I still find
all my html-files named x1182.html etc.
Weird!!
>
> > 2) When I try to make PDF-output I need to run
> > jade to give input to the subsequent
> > index-collection
> > ( perl ./collateindex.pl -g -o stikord.sgml tempdir/HTML.index)
> > I get lots of errors now with Red Hat 7.3 when I run
> > jade -t sgml -ihtml \
> > -d /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#print \
> > -V html-index -V nochunks bog.sgml > ged.html
>
> The collateindex perl script comes from docbook-dsssl. I filed a bug
> report at sourceforge.net, with a patch, that fixed some problems with
> it.
Could you send that patch to me?
>
> > jade:/usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl:422:19:E:
> > reference to undefined variable "%admon-font-family%"
> > jade:/usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl:416:7:E:
> > reference to undefined variable "HSIZE"
> > jade:/usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl:478:2:E:
> > too many arguments for function
> > jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.76/html/dbhtml.dsl:326:17:E:
> > invalid value for "attributes" characteristic
>
> However this looks more like a mismatch between the docbook-style-dsssl
> and docbook-utils packages. Are they the ones that came with Red Hat
> Linux 7.3?
Yes - no odd hacks (yet). Out of the box RPMs
>
> > FYI; I run http://www.sslug.dk/linuxbog - with 13 books
> > in Danish with more that 1400 pages. All in
> > SGML/DocBook :)))))))
>
> Is there a test case here that I can try?
wget http://www.sslug.dk/~pto/templatebog.tgz
tar xvzf templatebog.tgz
cd templatebog
1) make html
Check the bog/*html files
(if you set %use-id-as-filename% to true)
2) make pspdf
Here the pdf-errors are found.
Thank you for for kind help!!!
--
Peter Toft, Ph.D. [pto@sslug.dk] http://www.sslug.dk/~pto
"Peace, Love, and Linux" -- IBM