Re: DOCBOOK-APPS: Centering Figure Graphics

From
Norman Walsh <>
Date
2001-04-27T12:16:01+00:00
ID
Thread
Re: DOCBOOK-APPS: Centering Figure Graphics
/ "M. Wroth" <> 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 <>      | 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