At 10:34 PM 10/26/2002 +0200, Jens-Uwe Morawski wrote:
On Sat, 26 Oct 2002 16:09:30 +0200
Matthias Heidbrink <[EMAIL PROTECTED]> wrote:
> I need to include a PDF picture in a ConTeXt document that is much too
> detailed to be scaled down onto a single page. So I need to distribute it
> across two ore more pages.
>
> - Is there a way to display only a part of a PDF file in ConTeXt, like
> it could be done with manipulation of the bounding box of a PostScript
> picture in LaTeX?
Since LaTeX can do it it for PDFs too, it should be possible in ConTeXt
as well. The problem is that there seems to be no option in the
\externalfigure macro for this purpose. Hans knows ...
> - Does anyone know an application that will split a PDF file into
> user-defined parts (not just printing pages)?
>
> - Any other ideas?
there is a clip macro:
\clip[nx=2,ny=2,x=1,y=1]{\externalfigure[koe]}
\clip[hoffset=1cm,width=2cm,height=3cm]{\externalfigure[koe]}
you can also apply arbitrary clipping paths (see metafun manual)
\startMPclip{fun}
clip currentpicture to fullcircle
shifted (.25,.25) xscaled \width yscaled \height ;
\stopMPclip
\clip[nx=1,ny=1,x=1,y=1,mp=fun]{\externalfigure[koe]}
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://ref.ntg.nl/mailman/listinfo/ntg-context