Aditya Mahajan wrote:
> On Fri, 26 Jan 2007, The Wizard wrote:
>   
>> Most of my old documents seem to be fine, but I have a problem with an
>> overlay I normally use to create a "DRAFT" watermark on pages. Here is
>> the definition of the overlay
>>
>> %% Create "Draft" watermark for later use
>> \doifmode{draft}{
>> %% Put a "DRAFT" watermark in
>>    \defineoverlay[Draft][{\blue
>>        \scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}]
>>    \setupbackgrounds[page][background=Draft]
>> %% End watermark
>> }
>>
>> And I normally invoke it by
>>
>> \enablemode[Draft]
>>     
>
> \setupcolors[state=start]
> \defineoverlay[Draft][{\blue
>       \scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}]
> \setupbackgrounds[page][background=Draft]
> \starttext
> \input knuth
> \stoptext
>
> works fine here. I am using
>
> ConTeXt  ver: 2007.01.23 13:32 MKII
>
> Aditya
>   
All -
    Well, I found that if I change the "scale" from [factor=max] to 
[sx=<number>,sy=<number>], it would work again. Thanks for the 
suggestions. The problem seems to be related to trying to figure out the 
size to match "max" to, although [factor=fit] failed as well.


Mark Almeida

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to