Re: [xep-support] Marginalia as a DocBook customisation

From: Paul A. Hoadley (paulh@logicsquad.net)
Date: Fri May 07 2004 - 07:06:30 PDT

  • Next message: Alexander Peshkov: "Re[2]: [xep-support] Another image scaling question"

    Hi Victor,

    On Thu, May 06, 2004 at 08:05:29PM -0600, Victor Mote wrote:

    > The essence of the solution documented at the xep/xattic web site
    > (previously mentioned in this thread) is:
    > 1. to decrease the margin (i.e. increase the size of the area) on
    > the side opposite from the desired location of the marginalia, so,
    > in your case, the outside. So your setting of margin-right="0pt"
    > probably needs to be something like margin-right="-100pt" (for
    > example). (I am assuming you are starting on a recto page. Mine need
    > to start on either recto or verso, so I made a "first-right" and
    > "first-left" page-master). Don't worry that you are eating into your
    > region-end, because you are going to get that back in the next
    > step. (This step is done on the region-body).
    > 2. to increase the start-indent and end-indent by the same amount
    > that you decreased the margin above. One or the other of these gives
    > you back the space you took in step 1. The other makes room for your
    > marginalia. (This step is done on the flow). So in essence, you
    > expand one side, then reduce both. It is necessary to do it this way
    > because (with but a few exceptions) XSL-FO doesn't think much about
    > recto and verso, but the one place it does is in setting up the
    > page-masters. So, "two wrongs makes a right" on the side we don't
    > care about, allowing us to get the adjustment made on the other.

    Thanks very much for that. I have it quite close to what I eventually
    want, though I just can't seem to get it quite right. Part of the
    problem is that I have now altered all five regions of the (standard
    DocBook) page, and I'm just patching up visual defects as they occur.
    I need to go back to first principles and start my customisations
    again from scratch.

    -- 
    Paul.
    mailto:paulh@logicsquad.net
    
    

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html




    This archive was generated by hypermail 2.1.5 : Fri May 07 2004 - 07:19:50 PDT