ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Braslau <alan.braslau@cea.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: metapost question (bug?)
Date: Thu, 21 Jul 2011 23:21:56 +0200	[thread overview]
Message-ID: <20110721212156.GA20841@drec-ha-002479.extra.cea.fr> (raw)
In-Reply-To: <4E284844.6050709@gmx.net>

On Thu, Jul 21, 2011 at 05:39:48PM +0200, Peter Rolf wrote:
> use
> 
> p2 := p0 & p1;
> 
> the reason for the 'unexpected' output is, that point 1 and 2 of the
> path p2 are equal. keep in mind that drawing with an asymmetrical pen
> has its own (complex) rules.

Thank you -- I forgot about the path operator &

(Funny thing, though, that the problem shows up with point 0. I would also think that having two consecutive identical points, although poor style, should not cause problems as it does.)

And yes, the use of an asymmetrical pen is indeed the whole point of this figure -- I am using metapost to achieve very easily an effect, conceptually very simple, that a colleague has not been able to produce using Adobe Illustrator.

Thank you again for helping out.

Alan
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-07-21 21:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21 14:39 Alan Braslau
2011-07-21 14:53 ` luigi scarso
2011-07-21 15:39   ` Peter Rolf
2011-07-21 21:21     ` Alan Braslau [this message]
2011-07-22  9:35       ` 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=20110721212156.GA20841@drec-ha-002479.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --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).