This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] No blank line after informalequation
- 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: Wed, 11 Feb 2004 10:57:44 -0800
- Subject: Re: [docbook-apps] No blank line after informalequation
- References: <402A330C.9050709@mpi-sb.mpg.de>
This is a bug in the FO stylesheet.
<xsl:template name="informal.object">
<xsl:variable name="id">
<xsl:call-template name="object.id"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="local-name(.) = 'equation'">
<fo:block id="{$id}"
xsl:use-attribute-sets="equation.properties">
<xsl:apply-templates/>
</fo:block>
</xsl:when>
...
It should be testing for 'informalequation', not 'equation' which is
handled by the formal.object template.
I've fixed this in CVS.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Joachim Ziegler" <ziegler@mpi-sb.mpg.de>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, February 11, 2004 5:50 AM
Subject: [docbook-apps] No blank line after informalequation
> Hello,
>
> I use informalequations to markup mathematical equations like this:
>
> <informalequation>
> <mediaobject>
> <textobject>
> <para>1 + 2 + 3 + ... + n = 1/2 * n * (n+1)</para>
> </textobject>
> </mediaobject>
> </informalequation>
>
> In HTML output, there is a blank line before *and* after the equation,
> separating it nicely from the flow of text around it.
>
> In PDF output, there is only a blank line *before* the equation.
>
> I am using stylesheets 1.62.4.
>
> 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/.