ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in mplib?
@ 2008-04-14 20:18 Thomas A. Schmitz
  2008-04-14 22:01 ` Peter Rolf
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Thomas A. Schmitz @ 2008-04-14 20:18 UTC (permalink / raw)
  To: mailing ConTeXt users list for

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bug in mplib?
  2008-04-14 20:18 bug in mplib? Thomas A. Schmitz
@ 2008-04-14 22:01 ` Peter Rolf
  2008-04-15  7:32   ` Hans Hagen
  2008-04-15  7:31 ` Hans Hagen
  2008-04-15 13:20 ` Hans Hagen
  2 siblings, 1 reply; 11+ messages in thread
From: Peter Rolf @ 2008-04-14 22:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bug in mplib?
  2008-04-14 20:18 bug in mplib? Thomas A. Schmitz
  2008-04-14 22:01 ` Peter Rolf
@ 2008-04-15  7:31 ` Hans Hagen
  2008-04-15 13:20 ` Hans Hagen
  2 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2008-04-15  7:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bug in mplib?
  2008-04-14 22:01 ` Peter Rolf
@ 2008-04-15  7:32   ` Hans Hagen
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2008-04-15  7:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bug in mplib?
  2008-04-14 20:18 bug in mplib? Thomas A. Schmitz
  2008-04-14 22:01 ` Peter Rolf
  2008-04-15  7:31 ` Hans Hagen
@ 2008-04-15 13:20 ` Hans Hagen
  2008-04-15 13:29   ` luigi scarso
  2 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-04-15 13:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bug in mplib?
  2008-04-15 13:20 ` Hans Hagen
@ 2008-04-15 13:29   ` luigi scarso
  2008-04-15 16:25     ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: luigi scarso @ 2008-04-15 13:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>
>  we will post a new luatex binary and mkiv zip later
also with searching path fixed ?

-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bug in mplib?
  2008-04-15 13:29   ` luigi scarso
@ 2008-04-15 16:25     ` Hans Hagen
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2008-04-15 16:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in mplib?
  2008-07-08  7:51   ` Mojca Miklavec
@ 2008-07-08 14:10     ` Aditya Mahajan
  0 siblings, 0 replies; 11+ messages in thread
From: Aditya Mahajan @ 2008-07-08 14:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in mplib?
  2008-07-08  6:53 ` Hans Hagen
@ 2008-07-08  7:51   ` Mojca Miklavec
  2008-07-08 14:10     ` Aditya Mahajan
  0 siblings, 1 reply; 11+ messages in thread
From: Mojca Miklavec @ 2008-07-08  7:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in mplib?
  2008-07-08  5:15 Bug " Aditya Mahajan
@ 2008-07-08  6:53 ` Hans Hagen
  2008-07-08  7:51   ` Mojca Miklavec
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-07-08  6:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Bug in mplib?
@ 2008-07-08  5:15 Aditya Mahajan
  2008-07-08  6:53 ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2008-07-08  5:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 552 bytes --]

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

[-- Attachment #2: Type: APPLICATION/pdf, Size: 1076 bytes --]

[-- Attachment #3: Type: APPLICATION/pdf, Size: 1100 bytes --]

[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-07-08 14:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-14 20:18 bug in mplib? Thomas A. Schmitz
2008-04-14 22:01 ` Peter Rolf
2008-04-15  7:32   ` Hans Hagen
2008-04-15  7:31 ` Hans Hagen
2008-04-15 13:20 ` Hans Hagen
2008-04-15 13:29   ` luigi scarso
2008-04-15 16:25     ` Hans Hagen
2008-07-08  5:15 Bug " Aditya Mahajan
2008-07-08  6:53 ` Hans Hagen
2008-07-08  7:51   ` Mojca Miklavec
2008-07-08 14:10     ` Aditya Mahajan

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).