This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


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] keeping inline images inline


Unfortunately, the current version of FOP has not implemented any of the
XSL-FO properties for vertically adjusting the inline position of a graphic.
It can
only do subscript and superscript of text.  So there is really nothing that
the stylesheet file can provide that will change it in FOP.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Cassafrass" <casferguson@gmail.com>
To: "Docbook List" <docbook@lists.oasis-open.org>
Sent: Wednesday, March 09, 2005 4:22 PM
Subject: [docbook] keeping inline images inline


> I'm working on a document filled with math, but have been trying to
> get around using MathML since learning DocBook XML alone is more than
> enough of a challenge for me.
>
> In particular, I'm trying to get an inline image of an equation to
> center vertically according to the center a printed line. However, it
> really wants to center vertically based on the baseline.  So, with a
> simple equation like D/Dt the / (which is really horizontal in the
> image) lines up directly with the baseline, with D inline with the
> rest of the print and Dt hanging below the line.
>
> For example,
>
> <para>... the velocity components, respectively.
>                         <inlinemediaobject>
>                             <imageobject>
>                                 <imagedata fileref="graphics/eq1.eps"
> format="EPS"/>
>                             </imageobject>
>                         </inlinemediaobject>
>                         is the material or total derivative.
> </para>
>
> looks something like (if your mail client spaces this like mine)
>
> the velocity components, respectively. D is the material or total
derivative.
>                                                                      Dt
>
> Is there a way to make the equation center differently so that the --
> (divisor?) lines up with the middle of the text line? I'm using
> oxygen, xml and a Mac. Since I haven't found an affordable
> alternative, I'm using FOP.
>
> Thanks,
>
> Cassie
>
>



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