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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: [docbook] centring a picture

Hi Alex,

Try align="center" on the imagedata element.

I would also suggest checking out Bob Stayton's book, which has a lot of information about image placement and scaling, a topic that can get hairy.

You can find the book online at http://sagehill.net and I recommend getting the print version if you do very much with DocBook.

BTW, the docbook-apps mailing list is the best place for this kind of request, so I'm cross-posting my reply there.

Best regards,
Dick Hamilton
XML Press
XML for Technical Communicators

On May 28, 2014, at 3:28 PM, Alex Kleider wrote:

> Still a beginner, I've become a great fan of docbook, mainly to then convert to html.
> My current project requires insertion of photos (png, jpeg).
> Is there a way to specify that a photo (<mediaobject><imageobject><imagedata>)should be aligned in the middle, rather than to the left margin of the the page?
> Thanks in advance for any help.
> alex
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org

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