[NTG-context] Metapost nodes.

2013-01-10 Thread Andre Caldas
Hello!

1. How does a metapost figure (\startMPcode) becomes a node?
2. When does it become a node?
3. What type of node it becomes?
4. Can I change its attributes?
5. Can I change its colors or transparency levels?


André Caldas.
___
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
___

Re: [NTG-context] Metapost nodes.

2013-01-10 Thread Hans Hagen

On 1/10/2013 5:15 PM, Andre Caldas wrote:

Hello!

1. How does a metapost figure (\startMPcode) becomes a node?


never, that is: it's turned into whatsit nodes with pdf operators and 
mixed with regular nodes when text is used



2. When does it become a node?


sometime in the mp converter


3. What type of node it becomes?


whatsits mixed with regular (for text)


4. Can I change its attributes?


whatsits can of course have attributes but as the content is arbitrary 
pdf these attributes don't play a role



5. Can I change its colors or transparency levels?


only by parsing the content or by hooking code into the converter or 
(better and more robust) by just applying color or transparency at the 
mp level


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___