docbook-apps

block-container with absolute-position="fixed" not working

  • 1.  block-container with absolute-position="fixed" not working

    Posted 03-05-2007 01:21
    Hi,

    I have been creating a customization layer for DocBook XSL with very nice
    results. Switched some fonts, tweaked things here and there, the goal is to
    have the "almost-professionally-published" look end the result right from
    the start.

    I use DocBook DG + Sagehill's book as a guide. (Sagehill turned out to be
    very concise in its explanation regarding tweaking the XSL-FO... perhaps I
    should get the XSL-FO book from O'Reilly)

    The problem I currently have right now is how to put the 'chapter title' in
    a fixed position on the top-left corner of the page. First I tried using
    <fo:block absolute-position="fixed"> with lots of options and didn't work.
    After some searching on the net it turned out that 'fixed' only supported by
    'block-container'. Switching to this one though, still doesn't work.

    Even something like this:

    <fo:block-container>
    <fo:block>TEST</fo:block>
    </fo:block-container>

    When inserted into the titlepage's body flow, generated nothing (not even
    the text). Removing the block-container "works", in that it displays the
    "TEST" word but there is no way I get the block to freely position it
    somewhere.

    I use Saxon 6 with FOP 0.93. Does this have anything to do with FOP?

    Please help. Thank you very much, I really appreciate any help.

    --
    Hendy Irawan
    Web: http://hendy.gauldong.net
    Mobile: +62 856 24889899
    Yahoo Messenger: ceefour666
    LinkedIn: http://www.linkedin.com/in/ceefour