[NTG-context] feature request: clipping option for externalfigure

Hans Hagen pragma at wxs.nl
Sat Apr 8 10:53:42 CEST 2006


� wrote:
> Hello,
> I would like to clip an external eps-figure as LaTeX does with the clip
> option.
>
> Please consider the attachment as an example for en eps with white border
> and the following LaTeX and ConTeXt code:
>
> \starttext % no clipping possible here
> bla bla bla bla bla bla bla bla bla bla bla bla
>
> \externalfigure[test-img][width=0.5\textwidth]
>
> bla bla bla bla bla bla bla bla bla bla bla bla
> \stoptext
>
> \documentclass{article}
> \usepackage{graphicx}
> \begin{document} % here the white border is clipped away
> bla bla bla bla bla bla bla bla bla bla bla bla
>
> \includegraphics[clip,width=0.5\textwidth]{test-img}
>
> bla bla bla bla bla bla bla bla bla bla bla bla
> \end{document}
>
> Or is there already such (undocumented) feature?
>
>   
\clip[nx=10,ny=20,x=2,y=4]{}

and alike (grep for clip)

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.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list