Am 02.05.2012 um 09:45 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

> Hello,
> 
> how to specify the page background for the first page only and how to start 
> page numbering from the second page?
> 
> Here's my trial:
> 
> ----
> \defineoverlay[Bkg][{\externalfigure[cow]}]
> \setupbackgrounds[paper][background=Bkg]
> 
> %\setuppagenumbering[state=2]
> 
> \starttext
>  \dorecurse{5}{\input knuth}
> \stoptext
> ----
> 
> - The background is on all pages, so is the page numbering.
> 
> Any ideas?

\defineoverlay[Bkg][\doif{\pagenumber}{1}{\externalfigure[cow]}]

\setupbackgrounds[paper][background=Bkg]

\starttext \noheaderandfooterlines
\dorecurse{5}{\input knuth\par}
\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to