I made this background to the first page of a document: \setupcolors[state=start] \startuseMPgraphic{page} StartPage ; pickup pencircle scaled 2pt ; fill Field[InnerMargin][Top] enlarged (0,2.5cm) withcolor .625blue ; fill Field[InnerMargin][Text] withcolor .6white ; fill Field[InnerMargin][Header] withcolor .625blue ; fill Field[Text][Text] enlarged .5cm withcolor white ; fill Field[Header][Text] enlarged (.5cm,0) withcolor white ; fill Field[Top][Text] enlarged (.5cm,4cm) withcolor white ; StopPage ; \stopuseMPgraphic \defineoverlay[page][\useMPgraphic{page}] \setupbackgrounds[page][background=page] What do I have to do for this background appears only in the first page (and all the others a simple white page)? Thanks in advance gonçalo
gmorais wrote:
I made this background to the first page of a document:
\setupcolors[state=start] \startuseMPgraphic{page} StartPage ; pickup pencircle scaled 2pt ; fill Field[InnerMargin][Top] enlarged (0,2.5cm) withcolor .625blue ; fill Field[InnerMargin][Text] withcolor .6white ; fill Field[InnerMargin][Header] withcolor .625blue ; fill Field[Text][Text] enlarged .5cm withcolor white ; fill Field[Header][Text] enlarged (.5cm,0) withcolor white ; fill Field[Top][Text] enlarged (.5cm,4cm) withcolor white ;
StopPage ;
\stopuseMPgraphic
\defineoverlay[page][\useMPgraphic{page}] \setupbackgrounds[page][background=page]
\startreuseMPgraphic .... \reuseMPgraphic ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
gmorais
-
Hans Hagen