![](https://secure.gravatar.com/avatar/f787ebef8fac68b6022e481292b48956.jpg?s=120&d=mm&r=g)
Patrick, Thank you very much for this. It works very nicely creating a small file and yet enabling a nice consistency in the document. It took me ages to find the options for \clip your hint seemed to suggest that it was in details.pdf. It turned out to be in the Metafun manual. I finally used \clip[width=xxx,height=yyy,hoffset=xx,voffset=yy]{\externalfigure[pic]} \scale I could find no documentation for but I discovered that the \scale[width=xxxx] provides the appropriate magic when needed. It is a pity that setup-en.pdf is not up to date with these commands the various texshow and other web tools that people have developed are missing them as well. I imagine a single source of all the commands would help these developers enormously. Thanks again -- Nigel
From: Patrick Gundlach
Hi, I believe that pdfs can make multiple use of pictures (and other objects).
right.
I have a fairly large picture which I want to include a number of times, once as the full picture and several other times concentrating on a portion of it. Are there any commands for cropping other than going through metapost?
Yes. Try this example. You can see from the resulting pdf file that the cow.pdf gets included only once.
\useexternalfigure[cow] \starttext \setupclipping[nx=3,ny=3] % 1/3 of a sliced cow \hbox{% \clip [x=1,y=2]{\externalfigure[cow]} \clip [x=2,y=2]{\externalfigure[cow]} \clip [x=3,y=2]{\externalfigure[cow]} }
\blank[4*big] % its in the details: \scale[sx=2,sy=2]{\clip [x=2,y=2]{\externalfigure[cow]}} \stoptext
Patrick -- You are your own rainbow! _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context