Aligning an Image Caption with the Image?

2013-11-04 Thread Jeffrey Walton
Hello,

When I use the following in a document:

figure id=figure-nnn
titleY/title

  mediaobject
imageobject
  imagedata align=center fileref=xxx.png scale=NN/
/imageobject
  /mediaobject
/figure

The image is aligned center (or even aligned right) but the caption
(title) remains blocked left.

I've tried to put the `align` attributes on other objects, including
`imageobject`, `mediaobject`, and `figure`. All result in an error.

How does one align the caption with the image?

Thanks in advance.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Aligning an Image Caption with the Image?

2013-11-04 Thread Alexey Neyman
Jeffrey,

This is a mailing list for FOP. For questions like this, you're better off 
asking at docbook-a...@lists.oasis-open.org list.

For control of the title appearance, including the alignment, you'd need to 
customize the formal.title.properties attribute set. This [1], along with a 
whole lot of other recipes, is described in Bob Stayton's DocBook XSL: The 
Complete Guide.

[1] http://www.sagehill.net/docbookxsl/TitleFontSizes.html

Regards,
Alexey.

On Monday, November 04, 2013 02:00:17 PM Jeffrey Walton wrote:
 Hello,
 
 When I use the following in a document:
 
 figure id=figure-nnn
 titleY/title
 
   mediaobject
 imageobject
   imagedata align=center fileref=xxx.png scale=NN/
 /imageobject
   /mediaobject
 /figure
 
 The image is aligned center (or even aligned right) but the caption
 (title) remains blocked left.
 
 I've tried to put the `align` attributes on other objects, including
 `imageobject`, `mediaobject`, and `figure`. All result in an error.
 
 How does one align the caption with the image?
 
 Thanks in advance.
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org