ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@wanadoo.fr>
Subject: Re: Re: page backgrounds
Date: Mon, 17 Nov 2003 15:03:14 +0100	[thread overview]
Message-ID: <p06010201bbde825e7a7b@[193.51.32.222]> (raw)
In-Reply-To: <5075BC76-18FF-11D8-8BCB-000393CA5918@uni-bonn.de>

>On Monday, November 17, 2003, at 10:59  AM, Patrick Gundlach wrote:
>>
>>make sure \protectbufferstrue is set in cont-sys.tex
>>
>Thanks, Patrick. \protectbufferstrue is uncommented (I guess that's 
>the default, isn't it?). Does the btex...etex work on your box? 
>Could anyone running Mac OS X (10.2 for the time being) verify if it 
>works on their systems?
>
>Best
>
>Thomas

Hi Thomas,

I use Mac OS X (10.3 since today... but the following is independent 
of whether you use 10.2 or 10.3) together with TeXShop and Gerben 
Wierda's distribution of TeX.

The first example you sent, that is:

%% first example
\startuniqueMPgraphic{copyright}
picture p ; p := btex COPYRIGHT etex rotated 90 ;
setbounds p to boundingbox p enlarged 1pt ;
draw p withcolor .8white ;
currentpicture := currentpicture
xysized (\overlaywidth,\overlayheight) ;
\stopuniqueMPgraphic
\defineoverlay[copyright][\uniqueMPgraphic{copyright}]

\setupbackgrounds[text][rightmargin][background=copyright]

\starttext
\input knuth.tex
\stoptext
%% end first example

does not produce what is expected. The second example you sent, that is:

%% second example
\startuseMPgraphic{draft}
draw "draft" infont "phvb" scaled 9 rotated 65 withcolor .95white ;
currentpicture := currentpicture ysized (\overlayheight-3cm) ;
\stopuseMPgraphic
\defineoverlay[draft][\uniqueMPgraphic{draft}]
\setupbackgrounds[page][background=draft]


\starttext
\input knuth.tex
\stoptext
%% end second example

does produce the watermark "draft". The third example

%% third example

\startuseMPgraphic{brouillon}
draw btex brouillon etex ;
% draw "brouillon" infont "phvb" scaled 6 rotated 70 withcolor .95white ;
currentpicture := currentpicture ysized (\overlayheight-3cm) ;
\stopuseMPgraphic
\defineoverlay[brouillon][\uniqueMPgraphic{brouillon}]
\setupbackgrounds[page][background=brouillon]


\starttext
\input knuth.tex
\stoptext
%% end third example

does not produce what is expected.

I should say that I am not enough self-confidence to change the file 
cont-sys.tex as suggested by Patrick...

Best regards: OK

  reply	other threads:[~2003-11-17 14:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-03 19:12 reset \use[sub]path Pawel Jackowski na Onet
2003-11-03 21:05 ` Hans Hagen
2003-11-04  6:41   ` Pawel Jackowski na Onet
2003-11-10 16:37     ` Patrick Gundlach
2003-11-10 17:26       ` Hans Hagen
2003-11-10 19:59       ` Pawel Jackowski na Onet
2003-11-10 23:02         ` Patrick Gundlach
2003-11-11  7:05           ` Pawel Jackowski na Onet
2003-11-15 21:36   ` page backgrounds Thomas A.Schmitz
2003-11-16 20:08     ` Thomas A.Schmitz
2003-11-17  9:59       ` Patrick Gundlach
2003-11-17 13:09         ` Thomas A. Schmitz
2003-11-17 14:03           ` Otared Kavian [this message]
2003-11-17 14:41             ` Patrick Gundlach
2003-11-17 14:43             ` Patrick Gundlach
2003-11-17 14:08           ` Patrick Gundlach
2003-11-17 14:20           ` Adam Lindsay
2003-11-16 22:32     ` Patrick Gundlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p06010201bbde825e7a7b@[193.51.32.222]' \
    --to=otared@wanadoo.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).