This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]