[xep-support] text-align attribute in fo:external-graphic

Paul A. Hoadley paulh at logicsquad.net
Sun Jan 12 00:55:48 PST 2003


Hi Nikolai,

On Sun, Jan 12, 2003 at 11:22:28AM +0300, Nikolai Grigoriev wrote:

> 'text-align' attribute on fo:external-graphics has a different
> semantics: it aligns image (a rectangle 'content-width' x
> 'content-height') inside the viewport (a rectangle 'width' x
> 'height'). Both rectangles coincide in your case, so 'text-align'
> would have had no effect however. (But yes, XEP does not support
> 'text-align' in this context :-)).

Thanks for the explanation.

> > The <fo:block> elements surrounding the
> > <fo:external-graphic> are attributeless: is this where the Docbook
> > stylesheets should be specifying alignment?
> 
> Yes, they should. To align an image wrt its surrounding fo:block,
> 'text-align' must be specified on the block. There's no difference
> with text alignment: fo:external-image is an inline object like any
> character, and should be positioned using the same rules.

I will post to docbook-apps and see what they think over there.


-- 
Paul.

mailto:paulh at logicsquad.net
mailto:paul.hoadley at student.adelaide.edu.au
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list