This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]