ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF crop problem
@ 2000-06-06  9:38 Anders Alstrin
  2000-06-06 21:26 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Anders Alstrin @ 2000-06-06  9:38 UTC (permalink / raw)


Hrmpf.
I got a problem with combining two pdf and maintain the original
"copypages" size.
The two dokuments are exacly the same size but my "\copypages" pdf seems
to be moved
1 cm to the left and then croped.
Like this:
______________
|  |                        |
|  |  doc2.pdf        |
|*=doc1.pdf        |
|_|____________|

I got a workaround to make "doc1.pdf" 1 cm smaler than doc2.pdf
but thats not nice.
---------------------------------------------------------------------------------------------------------

\definepapersize[visit][width=8.5cm,height=5.4cm]
\setuppapersize[visit][visit]
\setuplayout[backspace=0pt,topspace=0pt,width=fit,height=fit,header=0pt,footer=0pt]

\starttext
\setupoutput[pdftex]

\defineoverlay
  [something]
  [{\externalfigure[v_mall.pdf]}]

\setupbackgrounds
   [page]
   [background=something]

\copypages
  [visit1.pdf]

\stoptext
----------------------------------------------------------------------------------------------------------


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

* Re: PDF crop problem
  2000-06-06  9:38 PDF crop problem Anders Alstrin
@ 2000-06-06 21:26 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-06-06 21:26 UTC (permalink / raw)
  Cc: ntg-context

At 10:38 AM 6/6/2000 +0100, Anders Alstrin wrote:

>Like this:
>______________
>|  |                        |
>|  |  doc2.pdf        |
>|*=doc1.pdf        |
>|_|____________|
>
>I got a workaround to make "doc1.pdf" 1 cm smaler than doc2.pdf
>but thats not nice.
>---------------------------------------------------------------------------
------------------------------
>
>\definepapersize[visit][width=8.5cm,height=5.4cm]
>\setuppapersize[visit][visit]
>\setuplayout[backspace=0pt,topspace=0pt,width=fit,height=fit,header=0pt,foo
ter=0pt]
>
>\starttext
>\setupoutput[pdftex]
>
>\defineoverlay
>  [something]
>  [{\externalfigure[v_mall.pdf]}]
>
>\setupbackgrounds
>   [page]
>   [background=something]
>
>\copypages
>  [visit1.pdf]

This really depends on the originals. Is the original doublesided? If, so
you should compensate for it. Or you can play with: 

  \externalfigure[name.pdf][width=\overlaywidth,height=\overlayheight]

to scale isometric or 

  \externalfigure[name.pdf][factor=max]

to scale best fit

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

end of thread, other threads:[~2000-06-06 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-06  9:38 PDF crop problem Anders Alstrin
2000-06-06 21:26 ` 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).