# [NTG-context] ConTeXt + FEATPOST

Hans Hagen pragma at wxs.nl
Thu Feb 2 20:33:50 CET 2006

```Renaud AUBIN wrote:
>
> 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
> >> vacuous
>                    withpen
> draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
>                                                   .currentpen.fi._op_
>                    ;
> 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... ;-)
looks more like a pen problem

Hans

-----------------------------------------------------------------