ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: feature request: clipping option for externalfigure
Date: Sat, 08 Apr 2006 10:53:42 +0200	[thread overview]
Message-ID: <44377A16.4070902@wxs.nl> (raw)
In-Reply-To: <Pine.LNX.4.58.0604072157260.16415@gaston.pm>

� 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
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  parent reply	other threads:[~2006-04-08  8:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-07 20:01 Peter Münster
2006-04-07 21:13 ` Taco Hoekwater
2006-04-07 21:39   ` Peter Münster
2006-04-08  8:53 ` Hans Hagen [this message]
2006-04-08  9:57   ` Vit Zyka
2006-04-11 22:04     ` Hans Hagen
2006-04-12  0:48       ` Vit Zyka
2006-04-12 18:23       ` Peter Münster
2006-04-12 21:18         ` Hans Hagen
2006-04-13 16:30           ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44377A16.4070902@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).