This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: DOCBOOK:
- To: ekkehard dot goerlach at pharma dot Novartis dot com
- Subject: Re: DOCBOOK:
- From: chrisb at kippona dot net
- Date: Tue, 10 Apr 2001 08:42:58 -0400
- Cc: docbook at lists dot oasis-open dot org
- References: <OF199863A1.82270EB2-ONC1256A29.00527DF9@is.chbs>
From: ekkehard.goerlach@pharma.Novartis.com
>
>Here comes the OLink. To use it, as far as I can see, I have to switch from
>xml to sgml as the xml DTD does not allow subdocuments (no big difference,
>I am using Emacs/psgml). But the crucial thing is, that I have to use 'late
>binding' for the OLinks because they are used in both cases, when the HTML
>version of everything is generated and in the case only one of the books is
>rendered in PDF. For the HTML version I don't know in advance the filenames
>generated (a section might end up in x1911.html). Thus the necessity to
>maintain a cgi-bin script to resolve the links in the HTML case.
You may be able to solve the naming problem with:
(define %root-filename% "index")
in the docbook.dsl and
<chapter id="chapter1"><title>CHAPTER I</title> ...
<chapter id="chapter2"><title>CHAPTER II</title> ...
in the sgml sourcefile. This will produce the first page of the
book in "index.html" and the chapters as chapter1.html,
chapter2.html, etc.
Chris
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org