ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: problem with mp clip
Date: Sun, 22 Jul 2007 17:22:56 +0200	[thread overview]
Message-ID: <46A37650.6040803@gmx.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

Hi,

it seems, that clipping with a MetaPost path is broken (at least on my
machine). I couldn't test it on Contextgarden, as the standard example
pictures are not installed (or the !!path is not searched).

Anyhow, if someone can test this please.

I work with the latest minimal distribution (XP), ConTeXt beta from
03.07.2007, pdftex 1.40.4 and mpost 1.0.

Thanks in advance, Peter


@Patrick:
  Is there a way to add the test pictures (cont-img.zip) to 'live context'?


[-- Attachment #2: mpclip.tex --]
[-- Type: text/plain, Size: 232 bytes --]

\setupcolors[state=start]
\setuppagenumber[state=stop]

\startMPclip{ClipTest}
  clip currentpicture to
  unitcircle scaled 3cm;
\stopMPclip

\starttext

\clip[width=3cm,height=3cm,mp=ClipTest]{\externalfigure[mill.png]}

\stoptext

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2007-07-22 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-22 15:22 Peter Rolf [this message]
2007-07-22 20:19 ` Patrick Gundlach
2007-07-23  9:29   ` Peter Rolf
2007-07-22 20:25 ` Hans Hagen
2007-07-23  9:30   ` Peter Rolf

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=46A37650.6040803@gmx.net \
    --to=indiego@gmx.net \
    --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).