ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* simpleslides gives 'input stack overflow'
@ 2021-05-09 20:57 Adam Reviczky
  2021-05-09 21:24 ` Adam Reviczky
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Reviczky @ 2021-05-09 20:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1558 bytes --]

Hi,

With the latest luatex change from
https://github.com/TeX-Live/luatex/commit/1566b63b338abbe38ed839fac9f2022ebbfa7d59
(and MKIV 2021-05-09 17:14:00) I get an input stack overflow:

simpleslides    > loading style Boxed
system          > command '\NormalHeight' is already defined
system          > command '\NormalWidth' is already defined
system          > command '\PictureFrameHeight' is already defined
system          > command '\PictureFrameWidth' is already defined
close source    > level 4, order 8, name
'/usr/share/texmf/tex/context/third/simpleslides/s-simpleslides-Boxed.tex'
close source    > level 3, order 8, name
'/usr/share/texmf/tex/context/third/simpleslides/t-simpleslides.mkiv'
fonts           > bodyfont '24.0414pt' is defined (can better be done
global)
metapost        > initializing instance 'metafun:1' using format 'metafun'
and method 'default'
metapost        > loading 'metafun' as
'/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
'default'
metapost        > initializing number mode 'scaled'
input stack overflow
mtx-context     | fatal error: return code: 256

MWE from the documentation:
\usemodule[simpleslides][style=Boxed]
\setupTitle[title={Title of the presentation},author={Name of
authors},date={Date of presentation}]
\starttext
\placeTitle
\SlideTitle{The first slide}
Write whatever you want.
\SlideTitle{The second slide}
Continue writing.
\stoptext

Does that mean the simpleslides module has some recursion problems?
I have tried a couple of themes but getting the same error.

Adam

[-- Attachment #1.2: Type: text/html, Size: 2109 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: simpleslides gives 'input stack overflow'
  2021-05-09 20:57 simpleslides gives 'input stack overflow' Adam Reviczky
@ 2021-05-09 21:24 ` Adam Reviczky
  2021-05-11  6:33   ` luigi scarso
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Reviczky @ 2021-05-09 21:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2692 bytes --]

Hi,

Looks like it is a problem with "StartPage" and "StopPage" in metapost.

I get the same error with any MP graphic using those commands.

More minimal example (without simpleslides) as per the wiki:
https://wiki.contextgarden.net/Cover_Pages

colors          > 'rgb' color space is supported
colors          > 'cmyk' color space is supported
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
metapost        > initializing instance 'metafun:1' using format 'metafun'
and method 'default'
metapost        > loading 'metafun' as
'/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
'default'
metapost        > initializing number mode 'scaled'
input stack overflow
mtx-context     | fatal error: return code: 256

Commenting out "StartPage" and "StopPage" compiles.

mtx-context     | current version: 2021.05.09 17:14
This is LuaTeX, Version 1.14.0
Development id: 7438

Adam

On Sun, May 9, 2021 at 9:57 PM Adam Reviczky <reviczky@gmail.com> wrote:

> Hi,
>
> With the latest luatex change from
> https://github.com/TeX-Live/luatex/commit/1566b63b338abbe38ed839fac9f2022ebbfa7d59
> (and MKIV 2021-05-09 17:14:00) I get an input stack overflow:
>
> simpleslides    > loading style Boxed
> system          > command '\NormalHeight' is already defined
> system          > command '\NormalWidth' is already defined
> system          > command '\PictureFrameHeight' is already defined
> system          > command '\PictureFrameWidth' is already defined
> close source    > level 4, order 8, name
> '/usr/share/texmf/tex/context/third/simpleslides/s-simpleslides-Boxed.tex'
> close source    > level 3, order 8, name
> '/usr/share/texmf/tex/context/third/simpleslides/t-simpleslides.mkiv'
> fonts           > bodyfont '24.0414pt' is defined (can better be done
> global)
> metapost        > initializing instance 'metafun:1' using format 'metafun'
> and method 'default'
> metapost        > loading 'metafun' as
> '/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
> 'default'
> metapost        > initializing number mode 'scaled'
> input stack overflow
> mtx-context     | fatal error: return code: 256
>
> MWE from the documentation:
> \usemodule[simpleslides][style=Boxed]
> \setupTitle[title={Title of the presentation},author={Name of
> authors},date={Date of presentation}]
> \starttext
> \placeTitle
> \SlideTitle{The first slide}
> Write whatever you want.
> \SlideTitle{The second slide}
> Continue writing.
> \stoptext
>
> Does that mean the simpleslides module has some recursion problems?
> I have tried a couple of themes but getting the same error.
>
> Adam
>
>

[-- Attachment #1.2: Type: text/html, Size: 3933 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: simpleslides gives 'input stack overflow'
  2021-05-09 21:24 ` Adam Reviczky
@ 2021-05-11  6:33   ` luigi scarso
  0 siblings, 0 replies; 3+ messages in thread
From: luigi scarso @ 2021-05-11  6:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1175 bytes --]

On Sun, May 9, 2021 at 11:25 PM Adam Reviczky <reviczky@gmail.com> wrote:

> Hi,
>
> Looks like it is a problem with "StartPage" and "StopPage" in metapost.
>
> I get the same error with any MP graphic using those commands.
>
> More minimal example (without simpleslides) as per the wiki:
> https://wiki.contextgarden.net/Cover_Pages
>
> colors          > 'rgb' color space is supported
> colors          > 'cmyk' color space is supported
> fonts           > preloading latin modern fonts (second stage)
> fonts           > 'fallback modern-designsize rm 12pt' is loaded
> metapost        > initializing instance 'metafun:1' using format 'metafun'
> and method 'default'
> metapost        > loading 'metafun' as
> '/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
> 'default'
> metapost        > initializing number mode 'scaled'
> input stack overflow
> mtx-context     | fatal error: return code: 256
>
> Commenting out "StartPage" and "StopPage" compiles.
>
> mtx-context     | current version: 2021.05.09 17:14
> This is LuaTeX, Version 1.14.0
> Development id: 7438
>

it should be ok now in Development id: 7439
 (just for the records)

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 2014 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-05-11  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-09 20:57 simpleslides gives 'input stack overflow' Adam Reviczky
2021-05-09 21:24 ` Adam Reviczky
2021-05-11  6:33   ` luigi scarso

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