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] Chapter boiler plate text, xslt stylesheets.

At 14:26 07/10/2003 -0400, Jeff Beal wrote:
>Numbering happens in the 'label.markup' mode and the templates that control
>that are contained in common/labels.xsl.  The template matching 'section'
>can be modified as follows:
>(at end of template)
>   <xsl:choose>
>     <xsl:when test="@label">
>       <xsl:value-of select="@label"/>
>     </xsl:when>
>     <xsl:when test="$label != 0">
>       <!-- add appropriate 'from' attribute to number this from the book -->
>       <xsl:number count="section" from="book"/>
>     </xsl:when>
>   </xsl:choose>
>You will probably have to dig through some of the other code in this
>template to be sure that everything is taken care of, but this should get
>you started.

That did it Jeff.
Hardly customis(z)ation, but it'll do for this little project.

Thanks again.
   Such a dirty job, I'm learning all sorts about docbook :-)

I've just had an abject lesson in table markup!
why is it

entry namest="c2" nameend="c3" colsep="0" align="center">

name st (art) yet
name end ??

My typo cost me lots of time :-)  then I validated....
except I couldn't, I've added linebreaks from the html ns.

Unless you know better?
I've 5 lines of copyright stuff
  centred, close gaps between lines,

           c Copyright 2004
          Council of xxxx cccccccc
         Not to be reproduced ....../.
       whatsoever without permissions
           all rights reserved.

I had a real markup problem with that.

Thanks anyway Jeff.
   Back to the typing.
regards DaveP

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