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] Width allocated for Q&A labels


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&#160;</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/.


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