Re: [docbook-apps] draft.mode default to no?

From
Koy Bndree
Date
2010-09-20T11:28:21+00:00
ID
Thread
Re: [docbook-apps] draft.mode default to no?
In my customization layer I set the draft mode to yes by default and only when a final build is run do I turn draft off.  

On Mon, Sep 20, 2010 at 7:18 AM, Ron Catterall <> wrote:

Agreed, draft mode should be an option you request, not the default. Set draft.mode parameter to 'no' by default and then if the user decides he wants draft mode, he will ask for it and the draft page masters will be loaded.

I wonder how many people actually use draft mode.

On 9/20/10 3:44 AM, Bob Stayton wrote:

The stylesheet parameter draft.mode's default value has been set to

'maybe' for quite awhile. That kind of worked, because the url for the

draft.watermark.image was a URL. Users requested that it not be a URL,

because it created problems for offline people, and delayed processing

to fetch it over the internet. It required either changing the value or

using a catalog to redirect the URL to a local location.

In version 1.76.0, we changed the draft.watermark.image to a local value

like other docbook images. However, when FOP creates the draft

page-masters, it tries (and generally fails) to load that image, even if

the draft page-masters are not used. I don't think that is correct

behavior, as it should only try to open that image if it is going to be

used.

So I'm asking the mailing list if we should change the default value of

the draft.mode param to 'no', so that the draft page-masters are not

even used. Personally, I think setting it to 'no' by default is a good

thing. If you want to use draft pages, then set the url to the watermark

image and turn on the feature.

Bob Stayton

Sagehill Enterprises



---------------------------------------------------------------------

To unsubscribe, e-mail: 

For additional commands, e-mail: 

-- 

Ron Catterall Ph.D. D.Sc.



http://catterall.net

-- 
Joy Andree
Software Developer II
ANSYS, Inc.
275 Technology Drive
Canonsburg, PA 15317
Tel: 724-514-2944