This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Re: [docbook] exercise tag
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <sds at gnu dot org>, <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 12 May 2004 10:19:56 -0700
- Subject: Re: [docbook-apps] Re: [docbook] exercise tag
- References: <4051B580.3020506@rose.de> <4055ABD7.8050305@mpi-sb.mpg.de> <uk6zippxt.fsf@gnu.org>
----- 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
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.