From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97372 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 12:21:43 -0500 Message-ID: References: <4a0eba73-c359-f5ff-650d-8a6c761dad71@wxs.nl> <78be1bed-927d-6516-b174-cc887fa936a4@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5291091770410584281==" X-Trace: blaine.gmane.org 1487784145 27611 195.159.176.226 (22 Feb 2017 17:22:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2017 17:22:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 22 18:22:20 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 1cgacH-0006B2-6d for gctc-ntg-context-518@m.gmane.org; Wed, 22 Feb 2017 18:22:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E31788328B; Wed, 22 Feb 2017 18:21:58 +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 9YnXxFV4zSTk; Wed, 22 Feb 2017 18:21:58 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 2880B83291; Wed, 22 Feb 2017 18:21:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E21698328C for ; Wed, 22 Feb 2017 18:21:56 +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 Ot5iL7wsvXAw for ; Wed, 22 Feb 2017 18:21:55 +0100 (CET) Original-Received: from mail-vk0-f53.google.com (mail-vk0-f53.google.com [209.85.213.53]) (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 547ED8328B for ; Wed, 22 Feb 2017 18:21:45 +0100 (CET) Original-Received: by mail-vk0-f53.google.com with SMTP id x75so5656174vke.2 for ; Wed, 22 Feb 2017 09:21:45 -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=2z609JrwRpniBAf6lVwrAJ0SoTpoNp2NMY69LNM9KNc=; b=oAN3LuUMhE3wiaG7Gufc3YqK3wni6bWmFpmJEIclLUaGM/PBYPVPb0SrmsqszfQx/5 998UY2rIvF6ukA1DBw4YGbwNROUz47iElx96njTL7J+szi22vxzBdg/g2eA10VjNhgkl seyXIyI1vXDVjhD8E7U76Z3ojbbUszNRNvR5bTbowbzF8etlSF2E9suJ43Ht+QzjO0Q5 KBNhyjqB+8NLEazH3H3wvYmynsYm3XerWMMlcLT1GevbCzTEH7otWix6gj3ppRWJfo+a 9Tcj8w8ndgOCiUjr+EqF5eQZtcVCSIWoRmOlOf5AjUunSCSDDvwDvleCATG0tqqXWyOW h+Yg== 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=2z609JrwRpniBAf6lVwrAJ0SoTpoNp2NMY69LNM9KNc=; b=G1HZRZTKLkrY/ptHzj9+cLoaX9Q40PAm0ytGcn1WYnE5P4JuykxGPJhijUJ06FEvVb HL5rn1g0GbhmusDHyL8MYkKqFfYjVYQhO/OtfBOCS6+29YIOekWHq0yLVGYu1l5RV3YJ q8JWAWdMlGVVy55ZjZgJXQrpoSbhwyiO+d0lYc+aka4jYA1aqvkShnaY+3f6Uo5ZAFA3 SC87b0EmJzvfaPUFF6if5uLLp3rgpbmBfjcdKMfQ52KggtDb+r2P03CJUSB4zIsUdlnD vxgz5IEOyooTVv21OcZmV0qTRPhgYdvr2vgsbOssFUwrYT4iJy8EsZpBa05HztT850pD vcsQ== X-Gm-Message-State: AMke39kYC+b4/1Jokxbnjg1ZHqK+skI5qpxGbq2ywbdz+SVXJI2CuqI9kPj6GBDYKxKPtZwr13zgOgNgDzfi6g== X-Received: by 10.31.182.216 with SMTP id g207mr16576314vkf.85.1487784103488; Wed, 22 Feb 2017 09:21:43 -0800 (PST) Original-Received: by 10.31.97.130 with HTTP; Wed, 22 Feb 2017 09:21:43 -0800 (PST) In-Reply-To: <78be1bed-927d-6516-b174-cc887fa936a4@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:97372 Archived-At: --===============5291091770410584281== Content-Type: multipart/alternative; boundary=001a11438fecfdb5be054921ba59 --001a11438fecfdb5be054921ba59 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Here is the file that I have been working with: \installlanguage[packed][en] \setuplanguage[packed][spacing=3Dpacked] \startsetups[tightspace] \spaceskip 0.5\interwordspace plus .5\interwordstretch minus \interwordshrink \stopsetups \def\dostartbibitem[#1]{\startBibItem[title=3D{#1},reference=3D{#1}]} \def\startbibitem{\dosingleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=3Dbroad, margin=3D1.5pc, indenting=3D{no}, indentnext=3Dno, alternative=3Dhanging, hang=3D1, headcommand=3D\gobbleoneargument, align=3Dright, before=3D{\directsetup{tightspace}\bgroup\language[packed]}, after=3D{\egroup}, ] \definereferenceformat [cite] [type=3Dtitle,left=3D{},right=3D{}] \definereferenceformat [bibpage] [type=3Dpage] \starttext \startbibitem[A, B, and C]\stopbibitem % TEST by commenting these %\startbibitem[A{,} B{,} and C]\stopbibitem % lines out \startbibitem[ABC]\stopbibitem \startbibitem[A]\stopbibitem \startbibitem[B]\stopbibitem \startbibitem[C]\stopbibitem * \cite[A, B, and C] \qquad{\red output should be: A{,} B{,} and C} **\cite[ABC] \qquad{\red output should be: ABC} ***\cite[A], \cite[B], \cite[C] \qquad{\red output should be: A, B, C} ****\cite[A]\cite[B]\cite[C] \qquad{\red output should be: ABC} \stoptext On Wed, Feb 22, 2017 at 11:44 AM, Hans Hagen wrote: > On 2/22/2017 4:50 PM, Alan Bowen wrote: > >> 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. >> > > so we need a small example > > > ----------------------------------------------------------------- > 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 > ____________________________________________________________ > _______________________ > --001a11438fecfdb5be054921ba59 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Here is the file that I have been working with:<= /div>

\installlan= guage[packed][en]
\setuplanguage[packed][= spacing=3Dpacked]
\startsetups[tightspace= ]
=C2=A0 \spaceskip 0.5\interwordspace plus .= 5\interwordstretch minus \interwordshrink
\stopsetups

\def\dostartbibitem[#1]{\startBibItem[title=3D{#1},reference=3D{= #1}]}
\def\startbibitem{\dosingleempty\do= startbibitem}
\def\stopbibitem{\stopBibIt= em}

\definedescription[BibItem][
width=3Dbroad,=
margin=3D1.5pc,
indenting=3D{no},
indentnext=3Dno,
alternative=3Dhanging,
= hang=3D1,
headcommand=3D\gobbleoneargument,
align=3Dright,
b= efore=3D{\directsetup{tightspace}\bgroup\language[packed]},
after=3D{\egroup},
]

\definerefe= renceformat [cite] =C2=A0[type=3Dtitle,left=3D{},right=3D{}]
\definereferenceformat [bibpage] =C2=A0 [type=3Dpage]

\st= arttext

\startbibitem[A, B, and C]\stopbibitem % TEST by commenting these
=
%\startbibitem[A{,} B{,} and C]\stopbibitem % lines= out

\startbibitem[ABC]\stopbibitem
\startb= ibitem[A]\stopbibitem
\startbibitem[B]\st= opbibitem
\startbibitem[C]\stopbibitem

* \c= ite[A, B, and C] \qquad{\red output should =C2=A0be: A{,} B{,} and C}
=
=C2=A0
**\ci= te[ABC] \qquad{\red output should be: ABC}

***\cite[A], \cite[B], \cite[C] = =C2=A0\qquad{\red output should be: A, B, C}

****\cite[A]\cite[B]\cite[C] \qq= uad{\red output should be: ABC}

\stoptext


On Wed, Feb 22, 2017= at 11:44 AM, Hans Hagen <pragma@wxs.nl> wrote:
On 2/22/2017 4:50 PM, Alan Bowen wrote:<= br>
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]\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.

so we need a small example


-----------------------------------------------------------------=
=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
_________________________________________________________________= __________________

--001a11438fecfdb5be054921ba59-- --===============5291091770410584281== 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 --===============5291091770410584281==--