OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] No blank line after informalequation


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/.
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]