From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31994 Path: news.gmane.org!not-for-mail From: "Paul Jones" Newsgroups: gmane.comp.tex.context Subject: Re: Watermark Date: Tue, 28 Nov 2006 17:09:26 -0700 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0907449427==" X-Trace: sea.gmane.org 1164759003 7921 80.91.229.2 (29 Nov 2006 00:10:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Nov 2006 00:10:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 29 01:10:00 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GpD1C-0007mz-P8 for gctc-ntg-context-518@m.gmane.org; Wed, 29 Nov 2006 01:09:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 28CD41FEDA; Wed, 29 Nov 2006 01:07:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17937-03-12; Wed, 29 Nov 2006 01:07:43 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AA39C1FEB4; Wed, 29 Nov 2006 01:07:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A036D1FEC1 for ; Wed, 29 Nov 2006 01:07:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17937-03-11 for ; Wed, 29 Nov 2006 01:07:37 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by ronja.ntg.nl (Postfix) with SMTP id 0D3F01FEAE for ; Wed, 29 Nov 2006 01:07:36 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id m2so1531230uge for ; Tue, 28 Nov 2006 16:09:27 -0800 (PST) Original-Received: by 10.78.185.7 with SMTP id i7mr1508792huf.1164758967208; Tue, 28 Nov 2006 16:09:27 -0800 (PST) Original-Received: by 10.78.123.7 with HTTP; Tue, 28 Nov 2006 16:09:26 -0800 (PST) Original-To: "mailing list for ConTeXt users" In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31994 Archived-At: --===============0907449427== Content-Type: multipart/alternative; boundary="----=_Part_19249_12650776.1164758966919" ------=_Part_19249_12650776.1164758966919 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Here is a simple example \setupcolors[state=3Dstart] \defineoverlay[WatermarkOverlay] [{\framed[frame=3Doff,foregroundcolor=3Dgray] {\scale[sx=3D12,sy=3D12] {\rotate[rotation=3D20.0]{Draft}}}}] \setupbackgrounds[page][background=3DWatermarkOverlay] \starttext \chapter{first} \dorecurse{30}{\input tufte } \stoptext paul On 11/28/06, Maur=EDcio wrote: > > Hi, > > How do I add a simple watermark text (like "Draft") to every page of a > Context generated file? > > Thanks, > Maur=EDcio > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > ------=_Part_19249_12650776.1164758966919 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Here is a simple example

\setupcolors[state=3Dstart]

\defineo= verlay[WatermarkOverlay]
        = ;      [{\framed[frame=3Doff,foregroundcolor=3Dgra= y]
           &nb= sp;   {\scale[sx=3D12,sy=3D12]
     &= nbsp;         {\rotate[rotation=3D 20.0]{Draft}}}}]

\setupbackgrounds[page][background=3DWatermarkOverl= ay]

\starttext
\chapter{first}  \dorecurse{30}{\input tufte&= nbsp; }
\stoptext

paul

On= 11/28/06,=20 Maur=EDcio <briqueabraque@yahoo.com> wrote:
   Hi,

   How do I add a simple watermark text (= like "Draft") to every page of a
Context generated file?
   Thanks,
   Maur=EDcio

__________________= _____________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailm= an/listinfo/ntg-context

------=_Part_19249_12650776.1164758966919-- --===============0907449427== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0907449427==--