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
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 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... ;-)
looks more like a pen problem Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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);
omit the draw here (quick test) if you want to scale etc, do something \startuseMPgraphic{simplefeatpost} input featpost3Dplus2D; draw image(cartaxes(1,1,1); tropicalglobe(5,red,1,blue)) scaled .5; \stopuseMPgraphic Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Renaud AUBIN