This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Centering Figure Graphics
/ "M. Wroth" <mark@astrid.upland.ca.us> was heard to say:
| However, I would like the figures to be centered on the page, and they are
| showing up left-justified. What am I doing wrong?
Nothing. Stylesheet bug. Fixed in CVS. Try this:
(element imagedata
(if (have-ancestor? (normalize "mediaobject"))
($img$ (current-node) #t)
($img$ (current-node) #f)))
instead of the current definition.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | There is no such thing as an
http://www.oasis-open.org/docbook/ | absolute certainty, but there is
Chair, DocBook Technical Committee | assurance sufficient for the
| purposes of human life.--John
| Stuart Mill
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org