This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: page-specific footer for chunked output
- From: Sam Steingold <sds at gnu dot org>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 04 Feb 2005 08:58:23 -0500
- Subject: [docbook-apps] Re: page-specific footer for chunked output
- Cancel-lock: sha1:pzCGpfVNjnGG6W/EW83jljZcNCo=
- Organization: disorganization
- References: <uwttqps0j.fsf@gnu.org> <032301c509c7$d1497000$6400a8c0@toshiro><uwttpo0xs.fsf@gnu.org> <042201c50a8c$eed96150$6400a8c0@toshiro>
- Reply-to: sds at gnu dot org
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.