List Info

Thread: Overriding make.lots fails to write out TOC




Overriding make.lots fails to write out TOC
user name
2006-09-22 01:33:27
I figured out my problem.  There are several make.lots
templates out
there.  I accidentally copied or pulled down the wrong
version.  I was
pulling out the autotoc.xsl version instead of the one in
chunk-toc.xsl.  I found 4 versions of that method.  I'm
curious as to
what are the all used for?

I have a new problem though.  I'm trying to add a css class
to every
toc entry that has children topics underneath it.  So if
Chapter 1 has
3 sect1's  I want to give him a special css class.  Where
if Chatper 2
doesn't have any sect1's in it then I don't want to give
him the css
class.  How will I know when a toc entry won't have anymore
children?

Thanks
Charlie

On 9/21/06, Bob Stayton <bobssagehill.net> wrote:
> Yes, it may have something to do with import
precedence.  The chunking
> stylesheets import the non-chunking docbook.xsl to
handle the formatting of
> the content of each chunk.  So there is a process for
getting your changes
> into the chain of imports to keep everything working. 
See this doc for
> more info on how to set up chunking customization
files:
>
> http://www.sagehill.net/docbookxsl/ChunkingCustomiz
ation.html
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobssagehill.net
>
>
> ----- Original Message -----
> From: "Charlie Hubbard"
<charlie.hubbardgmail.com>
> To: "DocBook Apps" <docbook-appslists.oasis-open.org>
> Sent: Wednesday, September 20, 2006 6:16 PM
> Subject: [docbook-apps] Re: Overriding make.lots fails
to write out TOC
>
>
> > Could import precendence be causing this problem
like the problem
> > described here:
> >
> > http://www.dpawson.co.uk/docbook/styling/custom.h
tml#d2212e1409
> >
> > That's what I was trying to describe in my post.
> >
> > Charlie
> >
> > On 9/20/06, Charlie Hubbard
<charlie.hubbardgmail.com> wrote:
> >> Hi,
> >>
> >> I'm trying to change the structure of the TOC
in xhtml, and I'm having
> >> to override make.lots to do this.  I'm trying
to incorportate the lots
> >> into the structure of the TOC instead of a
seperate DIVs.  It works,
> >> but when I override make.lots my TOC file
isn't written to bk01.html
> >> instead it ends up in index.html.  I seem to
remember reading some
> >> info a while back where overriding certain
parts of the XSL causes it
> >> to fail, and you have to do a apply-imports to
fix it.  Any reason why
> >> this is getting out of whack?
> >>
> >> Charlie
> >>
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail:
docbook-apps-unsubscribelists.oasis-open.org
> > For additional commands, e-mail:
docbook-apps-helplists.oasis-open.org
> >
> >
> >
>
>
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )