← Prev in month ← Prev in thread

Re: [docbook-apps] DOCBOOK-APPS: index links for chunked HTML broken

From
Denis Bradford <>
Date
2005-01-11T12:54:55+00:00
ID
Thread
Re: [docbook-apps] DOCBOOK-APPS: index links for chunked HTML broken
> 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 
> 
>
← Prev in month ← Prev in thread