Re: [NTG-context] [Metapost] Using mkIV and metapost to produce SVG

2014-05-06 Thread Hans Hagen
On 5/5/2014 1:54 PM, ralf.waldvo...@pta.de wrote: Dear all, I would like to produce an svg file from a Metapost input file using some of ConTeXt's typesetting features (esp. using System OTF Fonts) using something like: \startbuffer[buffer:dummy] \start \startcolor[white]

Re: [NTG-context] Metapost and mkiv

2009-11-29 Thread Taco Hoekwater
Alan BRASLAU wrote: On Friday 27 November 2009 14:54:53 Willi Egger wrote: Hi Alan, I run in this myself. A possible solution is: \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(textext(\color[red] decimal i ), (i, -1) scaled 1cm); endfor ;

Re: [NTG-context] Metapost and mkiv

2009-11-28 Thread Alan BRASLAU
On Friday 27 November 2009 14:54:53 Willi Egger wrote: Hi Alan, I run in this myself. A possible solution is: \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(textext(\color[red] decimal i ), (i, -1) scaled 1cm); endfor ; \stopuniqueMPgraphic

Re: [NTG-context] Metapost and mkiv

2009-11-27 Thread Hans Hagen
Alan BRASLAU wrote: Is this a bug in mkiv metapost? Alan minimal example: \setupcolors [state=start] \starttext \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ; % red in mkii, black in

Re: [NTG-context] Metapost and mkiv

2009-11-27 Thread Willi Egger
Hi Alan, I run in this myself. A possible solution is: \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(textext(\color[red] decimal i ), (i, -1) scaled 1cm); endfor ; \stopuniqueMPgraphic \setupcolors[state=start] \starttext \uniqueMPgraphic{test}

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread luigi scarso
On Tue, Nov 24, 2009 at 9:05 PM, Alan BRASLAU alan.bras...@cea.fr wrote: MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle}        pickup pencircle scaled 1pt ;        draw fullcircle scaled 2cm ; \stopuniqueMPgraphic

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Hans Hagen
Alan BRASLAU wrote: MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle} pickup pencircle scaled 1pt ; draw fullcircle scaled 2cm ; \stopuniqueMPgraphic \uniqueMPgraphic{circle} \stoptext the problem was in the backend of

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Mojca Miklavec
On Tue, Nov 24, 2009 at 21:21, Hans Hagen wrote: Alan BRASLAU wrote: MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle}        pickup pencircle scaled 1pt ;        draw fullcircle scaled 2cm ; \stopuniqueMPgraphic

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Alan BRASLAU
On Tuesday 24 November 2009 21:20:05 luigi scarso wrote: On Tue, Nov 24, 2009 at 9:05 PM, Alan BRASLAU alan.bras...@cea.fr wrote: MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle} pickup pencircle scaled 1pt ;

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Hans Hagen
Mojca Miklavec wrote: On Tue, Nov 24, 2009 at 21:21, Hans Hagen wrote: Alan BRASLAU wrote: MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle} pickup pencircle scaled 1pt ; draw fullcircle scaled 2cm ; \stopuniqueMPgraphic

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Alan BRASLAU
On Tuesday 24 November 2009 21:49:06 Hans Hagen wrote: Mojca Miklavec wrote: On Tue, Nov 24, 2009 at 21:21, Hans Hagen wrote: Alan BRASLAU wrote: MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle} pickup pencircle

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread luigi scarso
On Tue, Nov 24, 2009 at 10:51 PM, Alan BRASLAU alan.bras...@cea.fr wrote: I rebuilt luatex from svn on Debian x86_64 and MP is fixed. hm. Can you also try with beta source http://foundry.supelec.fr/gf/download/frsrelease/359/1390/luatex-beta-0.45.0.tar.bz2 ? -- luigi

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Taco Hoekwater
luigi scarso wrote: On Tue, Nov 24, 2009 at 10:51 PM, Alan BRASLAU alan.bras...@cea.fr wrote: I rebuilt luatex from svn on Debian x86_64 and MP is fixed. hm. Can you also try with beta source http://foundry.supelec.fr/gf/download/frsrelease/359/1390/luatex-beta-0.45.0.tar.bz2 That one is

Re: [NTG-context] Metapost and mkiv

2009-09-22 Thread Hans Hagen
Otared Kavian wrote: Hi all, The following minimal example used to work with mkiv (until last May, I would guess…) but now it doesn't work with the latest ConTeXt version 2009.09.21 17:39 Can any one tell me please what am I doing wrong? shows ok here

Re: [NTG-context] Metapost and mkiv

2009-09-22 Thread Aditya Mahajan
On Tue, 22 Sep 2009, Hans Hagen wrote: Otared Kavian wrote: Hi all, The following minimal example used to work with mkiv (until last May, I would guess…) but now it doesn't work with the latest ConTeXt version 2009.09.21 17:39 Can any one tell me please what am I doing wrong? shows ok