From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111301 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Reviczky Newsgroups: gmane.comp.tex.context Subject: Re: simpleslides gives 'input stack overflow' Date: Sun, 9 May 2021 22:24:40 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6877382091182343499==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32804"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 09 23:25:19 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfqvP-0008QS-9o for gctc-ntg-context-518@m.gmane-mx.org; Sun, 09 May 2021 23:25:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AD0D7283545; Sun, 9 May 2021 23:24:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iwOcSueEokyT; Sun, 9 May 2021 23:24:56 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A87F52835BF; Sun, 9 May 2021 23:24:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EFC792835BD for ; Sun, 9 May 2021 23:24:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AWQYMr5eO7tE for ; Sun, 9 May 2021 23:24:52 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.50; helo=mail-ej1-f50.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id CD792283545 for ; Sun, 9 May 2021 23:24:52 +0200 (CEST) Original-Received: by mail-ej1-f50.google.com with SMTP id f24so21510024ejc.6 for ; Sun, 09 May 2021 14:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ugMNr5QSToyOo9IYA9H8s1SaLHcCa1hd9aWYnW0PS5A=; b=oHbO9PI8BaW3LgWLopmbCklHx6Fy5Jfx9wkuD2zTLrNdSgHD8N3pg8ATEJ2TciuPz9 MpWInCFaxeo96tBCtZei5ymmomNiFgt4BvJ7xN/LonsxD9VsX95JXrgk6eGSbCwNEi2W l3mfwchFBe2HthTfdz/OXxZLHLouR1ORF+R0VF6hoMjb2tYhQKdOlc2khMkqb77mnOMT 3qn+6IU5xssDkKbxjnZrkOrF0IIqZx15P9CGlcbf81XLjyMAn1A8AWKw/wOpT3eHDTsk WSLiWdC9RmupOZvAOLi0ue7vLxJQ++3a+O/vdZ8WJdYZle8eUx9rR9ikXlGOBuyere9Y gacg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ugMNr5QSToyOo9IYA9H8s1SaLHcCa1hd9aWYnW0PS5A=; b=Ncba64uZfn8J/jUIsHMn+I61t15Jbba5qfLPKR1EBA6EKG92pGD/ULcr2+yMSeMbm9 l/FonUEYhwXP011OtEPCWpHs3wGDw9bDxQR4YkqjV7BwkIFmcofdJDJd/LjDS/vplSTy WB46qNZim+baYCRT8mbDRTtndtx/OiuuQ4cCzT+Swn/xsiVJyMSQZ/8hJBRmNjv0VAaO 27o38jAFGV9BY1Mb0Ec0I7JfQNi/Isz/ruVrC99gLr/doCrN+NRJlkjVx5jOqy9lwhM5 35hShmPHk+bAKOEz22308VUCNkWEkwx/YWW9SqusXeb3wBCIjgx+GQiqdFmKid+htnqa nqQw== X-Gm-Message-State: AOAM530Jcjy/jZaUREYzmkaZ+H9ZSMhruOW4+uT1oi1qeKffhPHryEvl W9/jElO4wRY3PYmUKrZKgDdWAoYJLEx10lelAGqeNAcRrhsGkA== X-Google-Smtp-Source: ABdhPJyV2zTtaPpi6wgCXuO2wgCU6VIOq+gj5/ihsYVYBQezy/dF/9QO6WwWVmAILlxLwP7PsMShV1HH83kHgwWhVU8= X-Received: by 2002:a17:906:c788:: with SMTP id cw8mr22072570ejb.190.1620595492011; Sun, 09 May 2021 14:24:52 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:111301 Archived-At: --===============6877382091182343499== Content-Type: multipart/alternative; boundary="000000000000a0419305c1ec4aca" --000000000000a0419305c1ec4aca Content-Type: text/plain; charset="UTF-8" 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 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 > > --000000000000a0419305c1ec4aca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Looks like it is a probl= em with "StartPage" and "StopPage" in metapost.

I get the same error with any MP graphic using those comm= ands.

More minimal example (without simpleslides) = as per the wiki:

<= div>colors =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> 'rgb' color space= is supported
colors =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> 'cmyk= 9; color space is supported
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >= ; preloading latin modern fonts (second stage)
fonts =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 > 'fallback modern-designsize rm 12pt' is load= ed
metapost =C2=A0 =C2=A0 =C2=A0 =C2=A0> initializing instance 'm= etafun:1' using format 'metafun' and method 'default'metapost =C2=A0 =C2=A0 =C2=A0 =C2=A0> loading 'metafun' as = 9;/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using metho= d 'default'
metapost =C2=A0 =C2=A0 =C2=A0 =C2=A0> initializin= g number mode 'scaled'
input stack overflow
mtx-context =C2= =A0 =C2=A0 | fatal error: return code: 256

Comment= ing out "StartPage" and "StopPage" compiles.
=
mtx-context =C2=A0 =C2=A0 | current version: 2021.05.09 17:1= 4
This is LuaTeX, Version 1.14.0
Development id: 74= 38

Adam

On Sun, May 9, 2021 at 9:57 P= M Adam Reviczky <reviczky@gmail.co= m> wrote:
Hi,

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

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

MWE from the documentation:
\usemodule[si= mpleslides][style=3DBoxed]
\setupTitle[title=3D{Title of the presentatio= n},author=3D{Name of authors},date=3D{Date of presentation}]
\starttext<= br>\placeTitle
\SlideTitle{The first slide}
Write whatever you want.<= br>\SlideTitle{The second slide}
Continue writing.
\stoptext

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

Adam

--000000000000a0419305c1ec4aca-- --===============6877382091182343499== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6877382091182343499==--