OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


I also agree that draft mode as currently implemented should have a default of no. 

The problem I have with the current, image-based draft watermark mechanism is that if the image is dark enough to appear when printed (on all printers...different printers yield different results), then it's so dark that it interferes with the legibility of the text. I instead have a fo:leader rotated 90 degrees with the appropriate text "DRAFT - INTERNAL ONLY" repeated and running in the inner margin. That way I can have the text dark enough to appear when printed without interfering with the body text. For html I put the same text in the header and footer. Perhaps the stock xsls could use a similar mechanism and then the "DRAFT" could be populated from the gentext strings. 

I do think the functionality is very useful. You really need a way to mark clearly that a document is a pre-release version. 

David

-----Original Message-----
From: Ron Catterall [mailto:ron@catterall.net] 
Sent: Monday, September 20, 2010 6:18 AM
To: Bob Stayton; docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] draft.mode default to no?

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
> bobs@sagehill.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>

-- 
Ron Catterall Ph.D. D.Sc.
ron@catterall.net
http://catterall.net



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]