This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] index links for chunked HTML broken
- From: Denis Bradford <denis dot bradford at verizon dot net>
- To: Docbook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 11 Jan 2005 07:51:24 -0500
- Subject: Re: [docbook-apps] DOCBOOK-APPS: index links for chunked HTML broken
- References: <41E0712E.3060206@verizon.net> <1105260267.4168.5.camel@marge>
> The link should be to the HTML, which, by the looks of it,
> is generated in the current directory,
> not to the xml which is elsewhere?
Sorry, I should have been more explicit. I generate journal.html in the
journal subdirectory (journal.xml contains <?dbhtml dir="journal"?>)
That's the case where I expected index links to point to the journal
subdirectory. Instead, they point to the base directory, as in
<a href="journal.html#content".
Dave Pawson wrote:
On Sat, 2005-01-08 at 18:47 -0500, Denis Bradford wrote:
Is the generated book index supposed to find HTML chunks when you create them
in different directories from the root (using either the dbhtml PI
or the use.id.as.filename param)?
I have a document like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd" [
<!ENTITY dummy SYSTEM "dummy.xml">
<!ENTITY about SYSTEM "about.xml">
<!ENTITY journal SYSTEM "journal/journal.xml">
]>
<book>
&dummy;
&about;
&journal;
<index/>
</book>
No matter what I try, the index links include only the filename, not
the path information, as in <a href="journal.html#content"
Am I missing something, or do I need to customize the stylesheets?
I think you're missing something Denis.
The link should be to the HTML, which, by the looks of it,
is generated in the current directory,
not to the xml which is elsewhere?
HTH