[NTG-context] ConTeXt + FEATPOST

Renaud AUBIN aubin at nibua-r.org
Thu Feb 2 20:19:03 CET 2006


Hi all,

I'm trying to use FEATPOST with ConTeXt so I have used in my product the 
following code:
\startuseMPgraphic{simplefeatpost}
input featpost3Dplus2D;
cartaxes(1,1,1);
draw tropicalglobe(5,black,1,blue);
\stopuseMPgraphic

\placefigure[here][fig:featpost]{featpost}{\useMPgraphic{simplefeatpost}}

but I obtain the following error althought the pdf output is correct...

(/usr/local/texlive/2005/texmf-dist/metapost/featpost/featpost3Dplus2D.mp
Preloading FeatPost macros, version 0.6.7)
 >> vacuous
! Improper `addto'.
<to be read again>
                   withpen
draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
                                                  .currentpen.fi._op_
<to be read again>
                   ;
l.124 draw tropicalglobe(5,black,1,blue);

Seems to be a problem between ConTeXt and FEATPOST... In my opinion, 
it's a problem due to the fact that featpost use the type 'color' for 3D 
coordinates. I will try to see if I can solve this problem by myself but 
if you have already encountered it, you know what to do... ;-)

Cheers,

Renaud

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20060202/79bcbaad/attachment-0001.html 


More information about the ntg-context mailing list