Indeed this problem has been noted before, and it has been fixed in SVN. The 1.76.1 stylesheets emitted <ul class="itemizedlist" compact>, and the next release will emit <ul class="itemizedlist compact">, since all browsers support multiple-valued class attributes. In the interim, you could create a custom template in mode="class.value" to do that:

<xsl:template match="itemizedlist[@spacing='compact']">
 <xsl:text>itemizedlist compact</xsl:text>
</xsl:template>

and then use CSS to style it.

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "Andrew Aksyonoff" <[email protected]>
To: "Niels" <[email protected]>
Cc: <[email protected]>
Sent: Saturday, November 05, 2011 7:45 AM
Subject: Re: [docbook-apps] is compact itemizedlist formatting in html output possible?


On Sat, Nov 5, 2011 at 5:23 PM, Niels <[email protected]> wrote:
Can't you do the repairs in css, semms to be presentational issues you are fighting for

Do the repairs how? Docbook XSL does not (!) mark compact ULs with a
separate class. It emits <UL COMPACT>, not <UL CLASS="COMPACT">

--
Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to