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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: toc generation solved.

/ Dave Pawson <daveP@dpawson.freeserve.co.uk> was heard to say:
| Thanks Bob.
|    Surprised the params aren't in param.xsl, I think,
|      but then again chunking is a bit 'different'.

I suppose I could create chunk-params.xsl, but I'm not strongly
motivated to do so. The parameters that only apply to chunking would
be confusing in param.xsl, I think.

| One more if I may.
|     Defining titlepages, e.g. for 'holder' I want a <p> element.
| have
| <t:titlepage element="book" wrapper="div" class="titlepage">
|    <t:titlepage-content side="recto">
|      <title/>
|      <subtitle/>
|          <author/>
|          <contrib/>
|          <edition/>
|          <copyright>
|            <year/>
|            <holder/>
|          </copyright>
|          <legalnotice/>
|          <publisher/>
|          <pubdate/>
|          <dedication/>
|          <abstract/>
|    </t:titlepage-content>
|    <t:titlepage-content side="verso">
|    </t:titlepage-content>
|    <t:titlepage-separator>
|      <hr/>
|    </t:titlepage-separator>
|    <t:titlepage-before side="recto">
|    </t:titlepage-before>
|    <t:titlepage-before side="verso">
|    </t:titlepage-before>
| </t:titlepage>
| and I'm defining a template for holder.
|    Its being overridden somewhere,
| Is the format of the xml file right, with nesting?
| Any clues please?

At the end of the day, most of the actual templates that do work are
defined in titlepage.xsl. In addition, if you want to override those
templates, they're all called in 'titlepage.mode'.

So, if you put your holder template in titlepage.mode, it'll probably
fire. But unless you also override copyright and do something about
the <p> that it outputs, you won't get valid HTML.

                                        Be seeing you,

P.S. Yes, I wish this all looked less like magic.

Norman Walsh <ndw@nwalsh.com>      | The present moment is a powerful
http://www.oasis-open.org/docbook/ | goddess.--Goethe
Chair, DocBook Technical Committee |

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

Powered by eList eXpress LLC