Idris S Hamid <[EMAIL PROTECTED]> writes:

> > > Is there a Context way of stamping a greyed <Draft> on each page of a
> > > document, like the TUG preprints?
 
> I can use pdfetex for this purpose. As for the metafun manual, I'm still 
> trying to finish the ConTeXt manual before getting into META!

Well, you don't have to get into META (which is a pity :), just copy
and paste a piece of code from section 6 "Page backgrounds" into your
file. Here are two different examples taken from the manual. So don't
blame me for any errors :)

% output=pdf 
\starttext
\startuniqueMPgraphic{concept} 
 draw btex \bf CONCEPT etex rotated 60 withcolor .8white ; 
 currentpicture := currentpicture ysized (\overlayheight-.5cm) ; 
 \stopuniqueMPgraphic 
\defineoverlay[concept][\uniqueMPgraphic{concept}]
\setupbackgrounds[page][background=concept]
\input tufte
\stoptext
\endinput

% output=pdf 
\starttext
\startuniqueMPgraphic{copyright} 
 picture p ; p := btex COPYRIGHT etex rotated 90 ; 
 setbounds p to boundingbox p enlarged 1pt ; 
 draw p withcolor .8white ; 
 xyscale_currentpicture(\the\leftmarginwidth,\the\textheight) ; 
 \stopuniqueMPgraphic 
 \setuptexttexts [margin] [] [\uniqueMPgraphic{copyright}]
\input tufte
\stoptext



I am not sure if you need a working metafun format for this. In case
you have not done this:

texexec --alone --make metafun 
and copy this file to texmf/web2c/metafun.mem

 
> > Patrick, (who does not like to prepare for his exam)
> 
> Idris (who is very grateful for Patrick's past help but does want to be blamed 
> when Patrick fails his exam:->)

OK, I hope I won't come back to you :) (Yes, I have read the other
message)


Patrick

-- 
I'll fade into the darkness

Reply via email to