This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Width allocated for Q&A labels
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Joachim Ziegler" <ziegler at mpi-sb dot mpg dot de>,"DocBook-Apps" <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 15 Jan 2004 10:17:09 -0800
- Subject: Re: [docbook-apps] Width allocated for Q&A labels
- References: <40068981.4000709@mpi-sb.mpg.de>
That paragraph was not as clear as it should be.
The width calculation is based on the width of any <label> elements
in the qanda. It currently is not sophisticated enough to
calculate the width from a customization like yours.
You don't need to add <?dbfo label-width?> to every
question, just to every qandaset.
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
----- Original Message -----
From: "Joachim Ziegler" <ziegler@mpi-sb.mpg.de>
To: "DocBook-Apps" <docbook-apps@lists.oasis-open.org>
Sent: Thursday, January 15, 2004 4:37 AM
Subject: [docbook-apps] Width allocated for Q&A labels
> Bob Stayton writes on
>
> http://www.sagehill.net/docbookxsl/QandAformat.html
>
> "Beginning with version 1.62 of the stylesheets, the width allocated for
> the labels is automatically calculated. "
>
> I use qandasets to simulate <exercise>s. A <question> is the
> exercise/problem, an <answer> is the solution.
>
> To label these exercises, I'v got
>
> <xsl:template match="question" mode="label.markup">
> <xsl:text>Übung </xsl:text><xsl:number level="any"
> count="qandaentry" format="1"/>
> </xsl:template>
>
> ("Übung" = german word for "exercise")
>
> But the width allocated for the labels "Übung NNN" is to small despite
> the above statement. (?)
>
> I am too lazy to give <?dbfo label-width?> processing instructions to
> every <question>. Can I adjust the default value somewhere globally?
>
> Greetings,
> Joachim
>
>
>
> --
> Joachim Ziegler Stuhlsatzenhausweg 85
> Max-Planck-Institut für Informatik 66123 Saarbrücken, Germany
> Email: ziegler@mpi-sb.mpg.de Tel.: (+49) 0681 9325-127
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.