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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Centering an equation


I can't believe I'm about to reply to myself again...

On Sun, Jan 12, 2003 at 09:16:24PM +1030, Paul A. Hoadley wrote:
> On Sun, Jan 12, 2003 at 07:37:06PM +1030, Paul A. Hoadley wrote:
> 
> > Is this a stylesheet bug, or, more likely, am I doing something
> > obviously wrong here?  As a followup question, is there a way to get
> > the stylesheets to insert some top-padding above the included image as
> > well?  Centred or not, it sits right up under the preceding line of
> > text.
> 
> I suspect this is the answer to my question:
> 
>   | 2002-12-17  Robert Stayton <bobstayton@users.sourceforge.net>
>   | 
>   | 	* common.xsl: Changed selection of mediaobject to be more
>   | 	  consistent using a separate select.mediaobject.index
>   | 	  template. Also added text-align to block containing
>   | 	  external-graphic in fo output.
> 
> So I guess I should upgrade and try again.  :-)

Just tried 1.59.0.  This minimal input:

-------
<book>
  <chapter>
    <title>Using <application>&am;</application></title>
    <sect1>
      <title>General</title>
      <para>Some text.</para>
      <equation>
        <mediaobject>
          <imageobject>
            <imagedata format="EPS" fileref="../images/eqn1.eps"
            align="center"/>
          </imageobject>
        </mediaobject>
      </equation>
    </sect1>
  </chapter>
</book>
-------

still puts 'text-align="center"' in <fo:external-graphic> rather than
<fo:block>.  Bob, can you offer any insight?


-- 
Paul.

mailto:paulh@logicsquad.net
mailto:paul.hoadley@student.adelaide.edu.au


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


Powered by eList eXpress LLC