OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


It should work.  Index entries use the same href.target template as other
xrefs, and that template takes dbhtml dir into account.  Can you send me
(off list) a zip file containing a short example that illustrates the
problem?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Denis Bradford" <denis.bradford@verizon.net>
To: "Docbook-Apps" <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, January 11, 2005 4:51 AM
Subject: 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
> >
> >
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]