Re: [NTG-context] simpleslides bug?

2013-02-21 Thread Hans Hagen

On 2/21/2013 2:21 AM, Zhichu Chen wrote:


This must be a consequence of the new MP instance code. I can
reproduce the error, but I can't isolate it. I think the lines

Thanks for the tip. After I've committed the lines with
Field[Text][Text] in simpleslides-s-BigNumber.tex, it could compile
successfully. I think this is a metafun bug?



metapost initializing instance 'metafun' using format 'metafun'
metapost loading 'metafun':
/opt/context/tex/texmf-__context/metapost/context/base/__metafun.mpiv,
using method: default
metapost initializing number mode scaled

point to the source of the error, but I don't know where to look.


Make sure that you run the latest beta. Indeed there has been a change 
to these Page related areas because in a recent mp there were several 
issues (most related to memory leaks), so I made a less demanding 
implementation. In the meantime Taco has fixed a lot of mp issues so 
upcoming luatex/mplib are okay (performance and memory wise). It all 
relates to mp now having scaled and double mode.


(Alan is testing the mp double mechanisms.)

Of course there can be other issues,

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] simpleslides bug?

2013-02-21 Thread Thomas A. Schmitz

On 02/21/2013 09:31 AM, Hans Hagen wrote:

On 2/21/2013 2:21 AM, Zhichu Chen wrote:


This must be a consequence of the new MP instance code. I can
reproduce the error, but I can't isolate it. I think the lines

Thanks for the tip. After I've committed the lines with
Field[Text][Text] in simpleslides-s-BigNumber.tex, it could compile
successfully. I think this is a metafun bug?


Do you mean commented?



Make sure that you run the latest beta. Indeed there has been a change
to these Page related areas because in a recent mp there were several
issues (most related to memory leaks), so I made a less demanding
implementation. In the meantime Taco has fixed a lot of mp issues so
upcoming luatex/mplib are okay (performance and memory wise). It all
relates to mp now having scaled and double mode.

(Alan is testing the mp double mechanisms.)


So it makes sense to wait a couple of days before looking into this?

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] simpleslides bug?

2013-02-21 Thread Zhichu Chen
On Thu, Feb 21, 2013 at 5:38 PM, Thomas A. Schmitz 
thomas.schm...@uni-bonn.de wrote:

 On 02/21/2013 09:31 AM, Hans Hagen wrote:

 On 2/21/2013 2:21 AM, Zhichu Chen wrote:

  This must be a consequence of the new MP instance code. I can
 reproduce the error, but I can't isolate it. I think the lines

 Thanks for the tip. After I've committed the lines with
 Field[Text][Text] in simpleslides-s-BigNumber.tex, it could compile
 successfully. I think this is a metafun bug?


 Do you mean commented?

Sure. I have no idea why I typed committed.




 Make sure that you run the latest beta. Indeed there has been a change
 to these Page related areas because in a recent mp there were several
 issues (most related to memory leaks), so I made a less demanding
 implementation. In the meantime Taco has fixed a lot of mp issues so
 upcoming luatex/mplib are okay (performance and memory wise). It all
 relates to mp now having scaled and double mode.

 (Alan is testing the mp double mechanisms.)


 So it makes sense to wait a couple of days before looking into this?



 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 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : 
 http://foundry.supelec.fr/**projects/contextrev/http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 __**__**
 ___




-- 
Best Regards
Chen
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] simpleslides bug?

2013-02-20 Thread Thomas A. Schmitz

Maybe this is my fault. The simpleslides module works just fine these days and I 
accidentally updated the ConTeXt to the latest version:

context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file: 
/opt/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.02.13 18:06

and this small piece of code failed to compile:

\usemodule[simpleslides][style=BigNumber]
\starttext
\SlideTitle{Test}
test
\stoptext



This must be a consequence of the new MP instance code. I can reproduce 
the error, but I can't isolate it. I think the lines


metapost initializing instance 'metafun' using format 'metafun'
metapost loading 'metafun': 
/opt/context/tex/texmf-context/metapost/context/base/metafun.mpiv, using 
method: default

metapost initializing number mode scaled

point to the source of the error, but I don't know where to look.

On 02/18/2013 01:54 PM, Jaroslav Hajtmar wrote:

With older version:
ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.7 int: english/english
works too! (Win7 64b).
In actual TeXlive 2012 version this example work too.


It seems that we gradually stop working other variations simpleslides
module.

Jaroslav Hajtmar


I have no idea what this is supposed to mean.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] simpleslides bug?

2013-02-18 Thread Jaroslav Hajtmar

With older version:
ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.7 int: english/english
works too! (Win7 64b).
In actual TeXlive 2012 version this example work too.


It seems that we gradually stop working other variations simpleslides 
module.

Eg. in my version does not work either as this:

\usemodule[simpleslides][style=BottomSquares]
\starttext
\SlideTitle{Test}
test
\stoptext

Win7 64b

This dont work neither in actual TeXlive 2012 version.

Jaroslav Hajtmar



Dne 18.2.2013 13:41, Procházka Lukáš Ing. - Pontex s. r. o. napsal(a):

... Works well with an older version:

ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.27 int: english/english

(WinXP 32b)

Lukas


On Mon, 18 Feb 2013 04:41:36 +0100, Zhichu Chen 
zhichu.c...@gmail.com wrote:



\usemodule[simpleslides][style=BigNumber]
\starttext
\SlideTitle{Test}
test
\stoptext





___
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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] simpleslides bug?

2013-02-17 Thread Zhichu Chen
Maybe this is my fault. The simpleslides module works just fine these days
and I accidentally updated the ConTeXt to the latest version:

context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file:
/opt/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.02.13 18:06

and this small piece of code failed to compile:

\usemodule[simpleslides][style=BigNumber]
\starttext
\SlideTitle{Test}
test
\stoptext

and gave me the following error message:

simpleslides loading Big Number style
system   command \NormalHeight is already defined
system   command \NormalWidth is already defined
system   command \PictureFrameHeight is already defined
system   command \PictureFrameWidth is already defined
colors   rgb color space is supported
colors   cmyk color space is supported
))
fontsbodyfont 24.0414pt is defined (can better be done global)
metapost initializing instance 'metafun' using format 'metafun'
metapost loading 'metafun':
/opt/context/tex/texmf-context/metapost/context/base/metafun.mpiv, using
method: default
metapost initializing number mode scaled
*** glibc detected *** luatex: double free or corruption (fasttop):
0x057da5a0 ***
=== Backtrace: =
/lib64/libc.so.6(+0x7d836)[0x7ff8ff104836]
luatex(mp_free_node+0x3b)[0x6406fb]
luatex[0x66637c]
luatex[0x6743be]
luatex[0x6724b8]
luatex[0x670210]

there're more and if it is important for the diagnostics please let me know
and I will provide the whole message which I thought was relevant.


Anyone can confirm this?

-- 
Best Regards
Chen
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___