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] Re: [docbook] exercise tag


----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, May 11, 2004 3:19 PM
Subject: [docbook-apps] Re: [docbook] exercise tag


> > * Joachim Ziegler <mvrtyre@zcv-fo.zct.qr> [2004-03-15 14:12:55 +0100]:
> >
> >      <simplesect>
> >        <title>Exercises</title>
> >        <qandaset defaultlabel="number">
> >          <qandaentry>
> >            <question><para>What is 1+1?</para></question>
> >            <answer><para>2</para></answer>
> >          </qandaentry>
> >          <qandaentry>
> >            <question><para>What is 2+2?</para></question>
> >            <answer><para>4</para></answer>
> >          </qandaentry>
> >        </qandaset>
> >      </simplesect>
>
> the whole text of the <question> element goes into the TOC
> (suppose your <question> is many lines!)
> is it possible to send only the <label> into the TOC?

I presume you are not referring to the document TOC, but to the qandaset TOC
that can be turned on with a dbhtml processing instruction?

If so, then you can customize it by modifying the template that starts with
<xsl:template match="question" mode="qandatoc.mode"> in html/qandaset.xsl.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net





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