docbook-apps

RE: [docbook-apps] watermark image is affecting page body

  • 1.  RE: [docbook-apps] watermark image is affecting page body

    Posted 01-05-2007 23:41
    Bob,



    I found my problem. In this particular template I am overriding the page
    masters in fo/pagesetup.xsl. I'm doing this because I needed to add
    <fo:region-body "margin-left" and "margin-right" values (they don't exist
    otherwise). Using draft.mode = yes causes a completely different set of
    page masters to be called.



    Sorry to bother you.



    Jerry J





    _____

    From: Jerry Janofsky [mailto:JanofskyJ@comcast.net]
    Sent: Friday, January 05, 2007 3:58 PM
    To: 'Bob Stayton'; 'docbook-apps@lists.oasis-open.org'
    Subject: RE: [docbook-apps] watermark image is affecting page body



    Bob,



    Correct, I meant to say draft.mode is set to 'yes'. I will dig a bit deeper
    and see if I can give you a better description.



    Jerry J



    _____

    From: Bob Stayton [mailto:bobs@sagehill.net]
    Sent: Friday, January 05, 2007 2:48 PM
    To: Jerry Janofsky; docbook-apps@lists.oasis-open.org
    Subject: Re: [docbook-apps] watermark image is affecting page body



    Hi Jerry,

    I presume you mean you are setting the stylesheet parameter draft.mode to
    'yes', correct? The draft.watermark.image parameter is for the path to the
    image file itself.



    The watermark image should not scale the page. I just tested it and it has
    no effect on the page layout. Can you describe in more detail what you are
    seeing?



    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net