* ConTeXt + FEATPOST
@ 2006-02-02 19:19 Renaud AUBIN
2006-02-02 19:33 ` Hans Hagen
2006-02-02 19:40 ` Hans Hagen
0 siblings, 2 replies; 3+ messages in thread
From: Renaud AUBIN @ 2006-02-02 19:19 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1077 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1935 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ConTeXt + FEATPOST
2006-02-02 19:19 ConTeXt + FEATPOST Renaud AUBIN
@ 2006-02-02 19:33 ` Hans Hagen
2006-02-02 19:40 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2006-02-02 19:33 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ConTeXt + FEATPOST
2006-02-02 19:19 ConTeXt + FEATPOST Renaud AUBIN
2006-02-02 19:33 ` Hans Hagen
@ 2006-02-02 19:40 ` Hans Hagen
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2006-02-02 19:40 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-02 19:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-02 19:19 ConTeXt + FEATPOST Renaud AUBIN
2006-02-02 19:33 ` Hans Hagen
2006-02-02 19:40 ` Hans Hagen
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).