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] Re: page-specific footer for chunked output


Hi Sam,
I still can't duplicate the problem you were seeing.  When I set
use.id.as.filename=1 and don't change root.filename, and I have an id on the
book element, I get the TOC file named index.html and all links to it say
index.html and they work. That is what it is supposed to do.

The only time use.id.as.filename setting has an effect on the root element's
chunk filename is when the root.filename parameter is explicitly set to an
empty string.  Then it will fall back to the id value if there is one, or
generate one if there is no id. But in all cases, the links agree with the
filename and work.  I can't find any combination of parameters and id values
that makes the root filename and the link references different from each
other.  Do you still have the version of the customization that did that?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, February 04, 2005 5:58 AM
Subject: [docbook-apps] Re: page-specific footer for chunked output


> Hi Bob
> thanks a lot for your help!
>
> > * Bob Stayton <obof@fntruvyy.arg> [2005-02-03 23:41:25 -0800]:
> >
> > I downloaded these customization files and ran a test.  It turns out
> > that chunk.xsl sets the root.filename parameter to "impnotes-top", and
>
> it does _now_, starting yesterday.
>
> > that is why your TOC file is named impnotes-top.html.  It still isn't
> > using the id attribute on the book element.
>
> actually, _before_ I started to set root.filename,
> the TOC was already named on disk impnotes-top.html,
> but it was referred to from the "<link>" and the navigation footer
> as "index.html".
>
> > In any case, the root.filename value is used for both the filename and
> > for any links to that file.  In my test, the output file was named
> > impnotes-top.html, and all the "Home" links in the footer used
> > impnotes-top.html.  I don't see how your Home links could use
> > index.html, using that stylesheet.
>
> yes, now that I set root.filename, everything is fine,
> EXCEPT that I still have to give an ID to the top-level <book> element.
> if I don't I get a gensym ID in both impnotes-top.html in the chunked
> version and impnotes.html in the single-file version.
>
> This is why I still think that:
>
> >> use.id.as.filename=1 should also make root.filename
> >> default to the ID of the root element (<book> in my case).
>
> -- 
> Sam Steingold (http://www.podval.org/~sds) running w2k
> <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
> <http://www.mideasttruth.com/> <http://www.honestreporting.com>
> There's always free cheese in a mouse trap.
>
>
>




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