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 downloaded these customization files and ran a test.  It turns out that
chunk.xsl sets the root.filename parameter to "impnotes-top", and that is
why your TOC file is named impnotes-top.html.  It still isn't using the id
attribute on the book element.

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.

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: Thursday, February 03, 2005 12:14 PM
Subject: [docbook-apps] Re: page-specific footer for chunked output


> > * Bob Stayton <obof@fntruvyy.arg> [2005-02-03 00:10:25 -0800]:
> >
> > Is there some customization of chunk file naming being used?
>
> yes:
>
<http://cvs.sourceforge.net/viewcvs.py/*checkout*/clisp/clisp/doc/common.xsl
>
>
<http://cvs.sourceforge.net/viewcvs.py/*checkout*/clisp/clisp/doc/chunk.xsl>
>
> (yes, I _do_ set use.id.as.filename to 1)
>
> > Do you get the same results with the stock DocBook html stylesheet?
>
> when my chunk.xsl looks like this:
> ------------------------------------------------------------------------
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
> <xsl:import href="/usr/share/docbook-xsl/xhtml/chunk.xsl"/>
> <xsl:param name="chunk.first.sections" select="1"/>
> </xsl:stylesheet>
> ------------------------------------------------------------------------
>
> the files are named like this:
> Writing pr01.html for preface(overview)
> Writing pr02.html for preface(conventions)
> Writing ch01s01.html for section(spec-symb)
> Writing ch01s02.html for section(error-terms)
> Writing ch01s03.html for section(cl-symb)
> Writing ch01.html for chapter(intro)
> Writing ch02s01.html for section(reader-alg)
> Writing ch02s02.html for section(tokens)
> Writing ch02s03.html for section(valid-patterns)
> Writing ch02s04.html for section(backquote)
> Writing ch02s05.html for section(sharpsign)
> Writing ch02.html for chapter(syntax)
> Writing ch03s01.html for section(evaluation)
> Writing ch03s02.html for section(compilation)
> Writing ch03s03.html for section(declarations)
> Writing ch03s04.html for section(lalist)
> Writing ch03s05.html for section(eval-comp)
> Writing ch03.html for chapter(eval)
> Writing ch04s01.html for section(types)
> Writing ch04s02.html for section(classes)
> Writing ch04s03.html for section(clos-diff)
> Writing ch04s04.html for section(metaclasses)
> Writing ch04s05.html for section(def-class)
> Writing ch04s06.html for section(redef-class)
> Writing ch04s07.html for section(type-class-dict)
> Writing ch04.html for chapter(types-classes)
> Writing ch05s01.html for section(flow-dict)
> Writing ch05.html for chapter(data)
> Writing ch06s01.html for section(loop)
> Writing ch06.html for chapter(iteration)
> Writing ch07s01.html for section(std-meth-combo)
> Writing ch07.html for chapter(objects)
> Writing ch08.html for chapter(structures)
> ....
>
> and they refer to "index.html" for the top-level TOC
> which is, indeed, written into index.html:
>
> .....
> Writing index.html for book(impnotes-top)
>
> So, I guess, use.id.as.filename 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>
> When you talk to God, it's prayer; when He talks to you, it's
schizophrenia.
>
>
>




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