ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* (unknown)
@ 2002-06-23 16:30 Idris S Hamid
  2002-06-23 21:36 ` Hans Hagen
  2002-06-23 21:41 ` none Patrick Gundlach
  0 siblings, 2 replies; 8+ messages in thread
From: Idris S Hamid @ 2002-06-23 16:30 UTC (permalink / raw)


Dear gang,

Is there a Context way of stamping a greyed <Draft> on each page of a 
document, like the TUG preprints? 

Best wishes
Idris

-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re:
  2002-06-23 16:30 (unknown) Idris S Hamid
@ 2002-06-23 21:36 ` Hans Hagen
  2002-06-23 21:41 ` none Patrick Gundlach
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2002-06-23 21:36 UTC (permalink / raw)
  Cc: ntg-context

At 10:30 AM 6/23/2002 -0600, Idris S Hamid wrote:
>Dear gang,
>
>Is there a Context way of stamping a greyed <Draft> on each page of a
>document, like the TUG preprints?

see metafun manual, you can put it anywhere you want.

or use brute force:

\setuptexttexts
   [\hbox to \hsize
      {\dorecurse{4}
         {\rotate{\gray\WidthSpanningText{Idris S Hamid}{\textheight}{Mono}}%
          \hss}\unskip}]

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: none
  2002-06-23 16:30 (unknown) Idris S Hamid
  2002-06-23 21:36 ` Hans Hagen
@ 2002-06-23 21:41 ` Patrick Gundlach
  2002-06-23 22:37   ` none Idris S Hamid
  2002-06-24  1:19   ` none John Culleton
  1 sibling, 2 replies; 8+ messages in thread
From: Patrick Gundlach @ 2002-06-23 21:41 UTC (permalink / raw)


Idris S Hamid <ishamid@attbi.com> writes:

Hi,

> Is there a Context way of stamping a greyed <Draft> on each page of a 
> document, like the TUG preprints? 

TUG preprints? Don't know em. What kind of output are you using? dvi?
pdf? Have you seen the example in the metafun manual?

Patrick, (who does not like to prepare for his exam)

-- 
I'll fade into the darkness


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: none
  2002-06-23 21:41 ` none Patrick Gundlach
@ 2002-06-23 22:37   ` Idris S Hamid
  2002-06-24  0:01     ` none Idris S Hamid
  2002-06-24  7:56     ` none Patrick Gundlach
  2002-06-24  1:19   ` none John Culleton
  1 sibling, 2 replies; 8+ messages in thread
From: Idris S Hamid @ 2002-06-23 22:37 UTC (permalink / raw)


> > Is there a Context way of stamping a greyed <Draft> on each page of a
> > document, like the TUG preprints?
>
> TUG preprints? Don't know em. What kind of output are you using? dvi?
> pdf? Have you seen the example in the metafun manual?

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!

> 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:->)

-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: none
  2002-06-23 22:37   ` none Idris S Hamid
@ 2002-06-24  0:01     ` Idris S Hamid
  2002-06-24  7:56     ` none Patrick Gundlach
  1 sibling, 0 replies; 8+ messages in thread
From: Idris S Hamid @ 2002-06-24  0:01 UTC (permalink / raw)


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

NOT!!!

What a place for a typo...

Idris

-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: none
  2002-06-23 21:41 ` none Patrick Gundlach
  2002-06-23 22:37   ` none Idris S Hamid
@ 2002-06-24  1:19   ` John Culleton
  2002-06-25 19:22     ` none Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: John Culleton @ 2002-06-24  1:19 UTC (permalink / raw)


On Sunday 23 June 2002 05:41 pm, Patrick Gundlach wrote:
> Idris S Hamid <ishamid@attbi.com> writes:
>
> Hi,
>
> > Is there a Context way of stamping a greyed <Draft> on each page of a
> > document, like the TUG preprints?
>
> TUG preprints? Don't know em. What kind of output are you using? dvi?
> pdf? Have you seen the example in the metafun manual?
>
> Patrick, (who does not like to prepare for his exam)

If I faced this problem I would use Pstricks and dvi output. I have a 
watermark (that is my name for this creature) underlaying the first page
of one issue of ``Rowse Reviews''. If I wanted it on every page I would 
incorporate it in the footline routine somehow.  Pstricks is pretty easy 
for this kind of thing.

John Culleton

__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: none
  2002-06-23 22:37   ` none Idris S Hamid
  2002-06-24  0:01     ` none Idris S Hamid
@ 2002-06-24  7:56     ` Patrick Gundlach
  1 sibling, 0 replies; 8+ messages in thread
From: Patrick Gundlach @ 2002-06-24  7:56 UTC (permalink / raw)


Idris S Hamid <ishamid@attbi.com> 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: none
  2002-06-24  1:19   ` none John Culleton
@ 2002-06-25 19:22     ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2002-06-25 19:22 UTC (permalink / raw)
  Cc: Patrick Gundlach, ntg-context

At 09:19 PM 6/23/2002 -0400, John Culleton wrote:
>On Sunday 23 June 2002 05:41 pm, Patrick Gundlach wrote:
> > Idris S Hamid <ishamid@attbi.com> writes:
> >
> > Hi,
> >
> > > Is there a Context way of stamping a greyed <Draft> on each page of a
> > > document, like the TUG preprints?
> >
> > TUG preprints? Don't know em. What kind of output are you using? dvi?
> > pdf? Have you seen the example in the metafun manual?
> >
> > Patrick, (who does not like to prepare for his exam)
>
>If I faced this problem I would use Pstricks and dvi output. I have a
>watermark (that is my name for this creature) underlaying the first page
>of one issue of ``Rowse Reviews''. If I wanted it on every page I would
>incorporate it in the footline routine somehow.  Pstricks is pretty easy
>for this kind of thing.

that is definitely a non-context way of doing things, since you can put 'm 
in the n*30+ background layers

\setupbackgrounds
   [text] % or [page]
   [\bfd something like this]

being a simple one
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-06-25 19:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-23 16:30 (unknown) Idris S Hamid
2002-06-23 21:36 ` Hans Hagen
2002-06-23 21:41 ` none Patrick Gundlach
2002-06-23 22:37   ` none Idris S Hamid
2002-06-24  0:01     ` none Idris S Hamid
2002-06-24  7:56     ` none Patrick Gundlach
2002-06-24  1:19   ` none John Culleton
2002-06-25 19:22     ` none Hans Hagen

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).