Re: [NTG-context] Bug in mplib?

2008-07-08 Thread Hans Hagen
Aditya Mahajan wrote:
 Hi,
 
 I get different results when I compile the following file using mkii and 
 mkiv. See the attached pdf output. I am using (I know, I need to update)

works ok here, so inded you need to update

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug in mplib?

2008-07-08 Thread Mojca Miklavec
On Tue, Jul 8, 2008 at 8:53 AM, Hans Hagen wrote:
 Aditya Mahajan wrote:
 Hi,

 I get different results when I compile the following file using mkii and
 mkiv. See the attached pdf output. I am using (I know, I need to update)

 works ok here, so inded you need to update

At the moment both Metapost 1.008 and LuaTeX with sockets (only for
ppc) compilations are broken on Mac, so it might be difficult to
update :(

[well, Aditya is on linux, but still]

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug in mplib?

2008-07-08 Thread Aditya Mahajan
On Tue, 8 Jul 2008, Mojca Miklavec wrote:

 On Tue, Jul 8, 2008 at 8:53 AM, Hans Hagen wrote:
 Aditya Mahajan wrote:
 Hi,

 I get different results when I compile the following file using mkii and
 mkiv. See the attached pdf output. I am using (I know, I need to update)

 works ok here, so inded you need to update

 At the moment both Metapost 1.008 and LuaTeX with sockets (only for
 ppc) compilations are broken on Mac, so it might be difficult to
 update :(

For linux, I get metapost 1.005 and luatex 0.28.0-2008070423 and my test 
file as well as the actual file compile correctly.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Bug in mplib?

2008-07-07 Thread Aditya Mahajan

Hi,

I get different results when I compile the following file using mkii and 
mkiv. See the attached pdf output. I am using (I know, I need to update)


mpost -v = MetaPost 1.005 (Web2C 7.5.5)
context --version = 2008.06.22 17:38


\setupcolors [state=start]
\starttext

\startMPpage

  z.1 = (-1cm, 0) ;
  z.2 = ( 1cm, 0) ;
  z.3 = (0, -1cm) ;
  z.4 = (0,  1cm) ;

  path p[] ;

  p.1 := z.1 -- z.2 ;
  p.2 := z.3 -- z.4 ;

  draw p.1 ;

  draw p.2 withpen pencircle scaled 3bp withcolor white ;
  draw p.2 ;

\stopMPpage

\stoptext


Aditya

test-mkiv.pdf
Description: Adobe PDF document


test-mkii.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mplib?

2008-04-15 Thread Hans Hagen
Thomas A. Schmitz wrote:
 Hi all,
 
 I just noticed that with the new incarnation of metapost, arrows  
 behave somewhat erratically. Take this minmal example:
 
 \starttext
 
 \startuseMPgraphic{arrowtest}
 z1=(0,0) ;
 z2=(3cm,0) ;
 ahlength := 15pt ;
 pickup pencircle scaled 5pt ;
 drawarrow z1--z2 ;
 \stopuseMPgraphic
 
 \useMPgraphic{arrowtest}
 
 \stoptext
 
 compile it with mkii and mkiv and observe the difference.

confirmed ... homework for taco and me

-
   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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mplib?

2008-04-15 Thread Hans Hagen
Peter Rolf wrote:

 same here. another broken example

could be related with thomas's bug, more news later

(fyi: the conversion is now using more low level mp output, and we have 
to figure out what happens there)

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mplib?

2008-04-15 Thread Hans Hagen
Thomas A. Schmitz wrote:
 Hi all,
 
 I just noticed that with the new incarnation of metapost, arrows  
 behave somewhat erratically. Take this minmal example:
 
 \starttext
 
 \startuseMPgraphic{arrowtest}
 z1=(0,0) ;
 z2=(3cm,0) ;
 ahlength := 15pt ;
 pickup pencircle scaled 5pt ;
 drawarrow z1--z2 ;
 \stopuseMPgraphic
 
 \useMPgraphic{arrowtest}

both reported bugs (arrow and pensquare) are solved (took taco and me 
the whole morning)

we will post a new luatex binary and mkiv zip later

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mplib?

2008-04-15 Thread Hans Hagen
luigi scarso wrote:
  we will post a new luatex binary and mkiv zip later
 also with searching path fixed ?

sure,   


-
   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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bug in mplib?

2008-04-14 Thread Thomas A. Schmitz
Hi all,

I just noticed that with the new incarnation of metapost, arrows  
behave somewhat erratically. Take this minmal example:

\starttext

\startuseMPgraphic{arrowtest}
z1=(0,0) ;
z2=(3cm,0) ;
ahlength := 15pt ;
pickup pencircle scaled 5pt ;
drawarrow z1--z2 ;
\stopuseMPgraphic

\useMPgraphic{arrowtest}

\stoptext

compile it with mkii and mkiv and observe the difference.

All best

Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mplib?

2008-04-14 Thread Peter Rolf
Hi Thomas,

Thomas A. Schmitz schrieb:
 Hi all,
 
 I just noticed that with the new incarnation of metapost, arrows  
 behave somewhat erratically. Take this minmal example:
 
 \starttext
 
 \startuseMPgraphic{arrowtest}
 z1=(0,0) ;
 z2=(3cm,0) ;
 ahlength := 15pt ;
 pickup pencircle scaled 5pt ;
 drawarrow z1--z2 ;
 \stopuseMPgraphic
 
 \useMPgraphic{arrowtest}
 
 \stoptext
 
 compile it with mkii and mkiv and observe the difference.
 
same here. another broken example

\starttext

\startuseMPgraphic{squaretest}
   draw unitsquare xyscaled(5cm,2.5cm)
   withpen pensquare scaled 4;
\stopuseMPgraphic

\useMPgraphic{squaretest}

\stoptext


and sorry, i promised to test. but currently i'm stuck with the adaption 
of my mp specials... still trying to understand the code. without those 
specials, my examples won't work (so no testing from my side).

best wishes, peter

 All best
 
 Thomas
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___