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] Recusive <section/>'s and their conclusions


You could use a section with role="conclusion" and add this template to your
customization:

<xsl:template match="section[@role='conclusion']" mode="title.markup">
  <xsl:text>CONCLUSION</xsl:text>
</xsl:template>

The stylesheets use the 'title.markup' mode to generate the title for an
element.  The nice thing about this solution is that it also adds it to the
Table of Contents with the generated title, and for any generated xrefs.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Dimitry V. Ketov" <Dimitry.Ketov@avalon.ru>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, March 23, 2005 8:27 AM
Subject: Re: [docbook-apps] Recusive <section/>'s and their conclusions


> It will be autogenerated by stylesheets, e.g. fixed "Conclusion" title,
without any
> content-driven <title>'s text.
>
> David Tolpin пишет:
> >
> >>   <section>
> >>     <title/>
> >>   </section>
> >>
> >>   <para>CONCLUSION</para>
> >>
> >> </article>
> >>
> >> but due to current DTD restrictions i'm not able to do that.
> >> I DON'T want to use another section for CONCLUSION, cause it haven't
> >> got title that is mandatory for the section.
> >>
> >> What am i doing wrong? Is there any ways to solve this task?
> >
> > How will the reader know that the last section is over and he is into
> > the conclusion, if it does not have a title?
>
>




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