[xep-support] Marginalia as a DocBook customisation

Paul A. Hoadley paulh at logicsquad.net
Fri May 7 07:06:30 PDT 2004


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 at logicsquad.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20040507/587ac0e0/attachment.bin>


More information about the Xep-support mailing list