ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* A surprising interaction
@ 2003-04-19 18:06 Nigel King
  0 siblings, 0 replies; only message in thread
From: Nigel King @ 2003-04-19 18:06 UTC (permalink / raw)


Dear ConTeXtnicians,

I have found a problem constructing my front and back cover for a user
manual. In the program below I use the setupexternalfigures line below
setting the maximum horizontal and vertical size in in order to simplify the
inclusion of figures. It has the undesired side effect of reducing the size
of the front and back cover.

In the program below the first page of the document is smaller than the
subsequent page.

\showframe
\setupexternalfigures
    [maxwidth=\textwidth,maxheight=0.8\textheight]
\starttext
\startMPpage
    StartPage;
    fill Page withcolor 0.5white;
    StopPage;
\stopMPpage
\input tufte
\stoptext

Clearly I can set this line after the first page. Presumably I need to set
the line to \pagewidth and \pageheight before the back cover. A further
surprise is that the body page background does not seem to be effected.

\startuseMPgraphic{bg}
    StartPage;
    fill Page withcolor 0.5white;
    StopPage;
\stopuseMPgraphic
\defineoverlay[page][\useMPgraphic{bg}]
\setupbackgrounds[page][background=page]

regards
-- 
Nigel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-19 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-19 18:06 A surprising interaction Nigel King

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