ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* pdf image & setupbackground command
@ 2005-03-07 20:24 VnPenguin
  0 siblings, 0 replies; only message in thread
From: VnPenguin @ 2005-03-07 20:24 UTC (permalink / raw)


Hi all,
I used a one-page pdf like background image. The size of paper is A4
(210x297mm). The size of my pdf image is a little bigger (220x311mm).

For the cover, when I used: 

\useexternalfigure[cover][cover-1005-4][width=220mm]
\defineoverlay[cover][{\externalfigure[cover]}]
\starttext
\setupbackgrounds[page][background=cover]
\startstandardmakeup
Text of cover
\stopstandardmakeup

...
\stoptext

I got a perfect cover. 

But when I use the same pdf for the page, I got a background which is
smaller than the page and there is a black border (see
http://phoc.homeunix.net/pub/page.png).

\useexternalfigure[mypage][page-1005-2][width=220mm]
\defineoverlay[mypage][{\externalfigure[mypage]}]

\starttext
\setupbackgrounds [page][background=mypage]
\chapter{foo}
\section{bar}
abc abc
\stoptext

Any ideas for help ?
Thank you in advance,
Q.

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

only message in thread, other threads:[~2005-03-07 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-07 20:24 pdf image & setupbackground command VnPenguin

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