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

Peter Münster pmlists at free.fr
Fri Apr 7 22:01:54 CEST 2006

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?

Cheers, Peter

--
http://pmrb.free.fr/contact/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-img.eps
Type: application/postscript
Size: 9363 bytes
Desc:
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20060407/2175033f/attachment-0001.eps