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: Re: MetaPost bug? in MKIV
Date: Tue, 02 Mar 2010 23:53:53 +0100	[thread overview]
Message-ID: <4B8D9701.1030101@gmx.net> (raw)
In-Reply-To: <cf53c9501003021202j6303cc0r2138bde308ca7258@mail.gmail.com>

Am 02.03.2010 21:02, schrieb Troy Henderson:
> When using
> 
> \startMPinclusions
>    input graph;
> \stopMPinclusions
> 
> or not even including the MPinclusions at all (and thus not doing
> `input graph;') seems to give the same result.  The log of what
> happens during the compile process is attached.
>
i tried your example (found graph.mp) and i got a bunch of errors
regarding wrong picture color model, redundant equations and unknown
transform components.

#color problem is probably here

def Gwithpc_(expr q) =
  withpen penpart q withcolor (redpart q, greenpart q, bluepart q)
enddef;

>> Another difference is the way text is handled in mkiv. In particular,
color (withcolor) is not applied to metapost text. <<

#redundant equations

use ':=' for constants, etc.

# unknown transform components
>> (0,0,_tt_w_1,0,0,1)
! Transform components aren't all known.

is this a problem with textext()? looks very cryptic to me.

anyhow, in the current form graph.mp does not work with mplib.


Peter

> Troy
> 
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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:[~2010-03-02 22:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02 16:34 Troy Henderson
2010-03-02 18:42 ` Peter Rolf
2010-03-02 19:25   ` Taco Hoekwater
2010-03-02 19:33   ` Peter Rolf
2010-03-02 20:02     ` Troy Henderson
2010-03-02 22:53       ` Peter Rolf [this message]
2010-03-03 20:21         ` Troy Henderson
2010-03-03 20:26           ` Wolfgang Schuster
2010-03-08  8:58             ` Hans Hagen

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=4B8D9701.1030101@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).