From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97370 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: new lua/stack error Date: Wed, 22 Feb 2017 10:50:13 -0500 Message-ID: References: <4a0eba73-c359-f5ff-650d-8a6c761dad71@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1362090167200246359==" X-Trace: blaine.gmane.org 1487778661 4233 195.159.176.226 (22 Feb 2017 15:51:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2017 15:51:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 22 16:50:56 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgZBm-0008KF-Qp for gctc-ntg-context-518@m.gmane.org; Wed, 22 Feb 2017 16:50:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0CD5F800D5; Wed, 22 Feb 2017 16:50:29 +0100 (CET) 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 F8CLMVSP_qd0; Wed, 22 Feb 2017 16:50:28 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3BAE2802E0; Wed, 22 Feb 2017 16:50:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4F64C801E3 for ; Wed, 22 Feb 2017 16:50:27 +0100 (CET) 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 lUmcSHztBsIo for ; Wed, 22 Feb 2017 16:50:25 +0100 (CET) Original-Received: from mail-ua0-f181.google.com (mail-ua0-f181.google.com [209.85.217.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 71955800D5 for ; Wed, 22 Feb 2017 16:50:14 +0100 (CET) Original-Received: by mail-ua0-f181.google.com with SMTP id c32so4368281uac.1 for ; Wed, 22 Feb 2017 07:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=eXwJwFoMrFLzrCj9LRfZvfe7m7pSAj3uQ5OoVSFJXqI=; b=vGj+dagoUImecaiOTenxYDXv6ZCC7v9CVWVFnnLYwmfj6U6HAqQ6EEieOa8o9EX3A8 v/3k74Ezj0G5oZuQ2vjKVtHdNWMh2t7kyc6t8nqXC9+zhOp1IrRVWpbcbFRJfhap+XIq udg5USJdz3zcedPo2arksoVXlQCLphFpgxz4Wuj5H8QX+uqGyjQ2aE5rViD3VxqEwCnO 9MyUy6Rop1FyvZDPDboHJAWz/68r110imRlR1HDiiX24gtbfakf0foNlnIKZv1O0703s 3eJ3BtH4xy/ktE0od5VEWnPqf2vlz5j8zk2dTHeBcG0RyCQRt0VKPEdOUr0yvvJnLFil HUiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eXwJwFoMrFLzrCj9LRfZvfe7m7pSAj3uQ5OoVSFJXqI=; b=DScLNcNrfpnXkXT9iKdFnA6D0v6KGmO2gigSsrzpsfJT1o18Tf+vsflKNJ7i321gJm uZD/BbDvZnVBuwlPu/dvVcJFUoQ0nTVNwA81xqBm9IFYq0XY8w2BLsXmU+JtVcxSu7Cz 2UPQgqeL6HxmfEFUWFqOG+DV7E+3hFuibSMOoIQguJX0LMUwQST7ew5oihVSyc8bCsPJ NKasRbQIEYKFtAnAQUq2quQVHs6rz1SltrYaKm4xu4xax+y6aHLEIUgkMxha7JZoICqY 8Q/ua3B1aSg/pMaY45y0rzVpuUdzIqxPQBqILbzHXw1pnTxtId9QBl+48YBJVPh96mbk 9gTQ== X-Gm-Message-State: AMke39ll9/uUMs8+FYNujF6Qzr/dcrHJNgZRJ8IjTjGkmGhwqHXIIyNxZm4DYUaB6dSeK9O6/E61vT275+1j+Q== X-Received: by 10.159.40.163 with SMTP id d32mr2984940uad.122.1487778613553; Wed, 22 Feb 2017 07:50:13 -0800 (PST) Original-Received: by 10.31.97.130 with HTTP; Wed, 22 Feb 2017 07:50:13 -0800 (PST) In-Reply-To: <4a0eba73-c359-f5ff-650d-8a6c761dad71@wxs.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:97370 Archived-At: --===============1362090167200246359== Content-Type: multipart/alternative; boundary=94eb2c1227d0c41c6705492073d7 --94eb2c1227d0c41c6705492073d7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Hans=E2=80=94 The problem is the line \startbibitem[A, B, and C]\stopbibitem. I can either keep it and any others like \cite[A], \cite[B] or \cite[A]\cite[B] are messed up or I can comment it out and these same citations work. \startbibitem[A{,} B{,}and C]\stopbibitem (as you suggested) does allow the other citations to work. But, then, neither \cite[A, B, and C] nor the \cite[A{,} B{,} and C] works. Alan On Wed, Feb 22, 2017 at 3:26 AM, Hans Hagen wrote: > On 2/21/2017 8:25 PM, Alan Bowen wrote: > >> The latest beta =E2=80=94 ConTeXt ver: 2017.02.19 with LuaTeX, Version= 1.0.3 >> =E2=80=94 chokes on entries such as >> \cite[author1, author2, and author3 2017] >> and reports an error: e.g., >> >> >> lua error > lua error on line 81 in file c_Brill09-02_Evans.tex: >> >> >> C stack overflow >> >> stack traceback: >> >> [C]: in function 'type' >> >> ...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua:373: in >> function <...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua >> :367> >> >> [C]: in function 'tostring' >> >> ...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua:342: in >> function <...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua >> :317> >> >> >> If I try something like >> \cite[A B and C] all is well. >> Adding the commas as in \cite[A, B, and C] gets the error. >> Sadly, I need the commas. >> > > does {,} solve it? probably the commas end up sometime later in a comma > separated list > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | 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/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ --94eb2c1227d0c41c6705492073d7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, Hans=E2=80=94

The problem is the line \startbibitem[A, B, and C]\stopbibitem. I can = either keep it and any others like =C2=A0\cite[A], \cite[B] or \cite[A]\cit= e[B] are messed up or I can comment it out and these same citations work.= =C2=A0
\startbibitem[A{,}=C2=A0B{,}and C]\stopbibitem (as yo= u suggested) does allow the other citations to work. But, then, neither \ci= te[A, B, and C] nor the \cite[A{,} B{,} and C] works.

Alan

On Wed, Feb 22, 2017 at 3:26 AM, Hans Hagen <pragm= a@wxs.nl> wrote:
On 2/21/2017 8:25 PM, Alan Bowen wrote:
The latest beta =E2=80=94 ConTeXt=C2=A0 ver: 2017.02.19=C2=A0 with LuaTeX, = Version 1.0.3
=E2=80=94 chokes on entries such as
\cite[author1, author2, and author3 2017]
and reports an error: e.g.,


lua error=C2=A0 =C2=A0 =C2=A0 =C2=A0> lua error on line 81 in file c_Bri= ll09-02_Evans.tex:


C stack overflow

stack traceback:

[C]: in function 'type'

...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua:373: = in
function <...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.l= ua:367>

[C]: in function 'tostring'

...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua:342: = in
function <...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.l= ua:317>


If I try something like
\cite[A B and C] all is well.
Adding the commas as in \cite[A, B, and C] gets the error.
Sadly, I need the commas.

does {,} solve it? probably the commas end up sometime later in a comma sep= arated list

Hans


-----------------------------------------------------------------=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 H= ans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0tel: 038 477 53 69 | www.pragma-ade.nl | www.p= ragma-pod.nl
-----------------------------------------------------------------=
_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--94eb2c1227d0c41c6705492073d7-- --===============1362090167200246359== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============1362090167200246359==--