On Monday, November 17, 2003, at 10:59 AM, Patrick Gundlach wrote: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?
make sure \protectbufferstrue is set in cont-sys.tex
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 _______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
