Re: [NTG-context] hunting a lua stack error
Alan, You are using the old MKII bibliograpy mechanism. A "manual" bibliography list might see attractive "for the sort of publication involved", but using this, you are on your own. It would be better to use the new MKIV dataset subsystem. It does not use bibtex at all and parses the data files in lua. Alan On Mon, 13 Mar 2017 17:34:04 -0400 Alan Bowen wrote: > Hi, Thomas— > > Fair enough. But I am not using bibtex. What I am using—or so I > understand—is the manual bibliography, which suits the sort of > publication involved here better. > > Alan > > On Mon, Mar 13, 2017 at 5:12 PM, Thomas A. Schmitz < > thomas.schm...@uni-bonn.de> wrote: > > > On 13.03.2017 21:22, Alan Bowen wrote: > > > >> The file processes but does not show the “A, B, and C” when > >> interaction is activated. > >> > >> Alan > >> > > > > Alan, > > > > you had a similar problem a while ago, and I meant to write, but > > forgot. bibtex disallows some characters in cite keys: "a bibtex > > key is a sequence of any characters except " # % ' ( ) , = { } plus > > space." As you can see, you simply should not put a comma into a > > bibtex key. And I think the best course for ConTeXt would be to > > adhere to these standards. > > > > 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/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 > > > > ___ -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS UMR 3680 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.bras...@cea.fr ___ 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 ___
Re: [NTG-context] hunting a lua stack error
Hi, Thomas— Fair enough. But I am not using bibtex. What I am using—or so I understand—is the manual bibliography, which suits the sort of publication involved here better. Alan On Mon, Mar 13, 2017 at 5:12 PM, Thomas A. Schmitz < thomas.schm...@uni-bonn.de> wrote: > On 13.03.2017 21:22, Alan Bowen wrote: > >> The file processes but does not show the “A, B, and C” when interaction >> is activated. >> >> Alan >> > > Alan, > > you had a similar problem a while ago, and I meant to write, but forgot. > bibtex disallows some characters in cite keys: "a bibtex key is a sequence > of any characters except " # % ' ( ) , = { } plus space." As you can see, > you simply should not put a comma into a bibtex key. And I think the best > course for ConTeXt would be to adhere to these standards. > > 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/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 > > ___ ___ 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 ___
Re: [NTG-context] hunting a lua stack error
On 13.03.2017 21:22, Alan Bowen wrote: The file processes but does not show the “A, B, and C” when interaction is activated. Alan Alan, you had a similar problem a while ago, and I meant to write, but forgot. bibtex disallows some characters in cite keys: "a bibtex key is a sequence of any characters except " # % ' ( ) , = { } plus space." As you can see, you simply should not put a comma into a bibtex key. And I think the best course for ConTeXt would be to adhere to these standards. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] hunting a lua stack error
This is the error message lua error > lua error on line 112 in file c_09-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> [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> [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> [C]: in function 'tostring' ... [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> [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> [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> [C]: in function 'tostring' ...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua:730: in function 'pdfshareobjectreference' ...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ano.lua:664: in function 'prerollreference' ...eXt/tex/texmf-context/tex/context/base/mkiv/node-ref.lua:601: in function 'setreference' ...eXt/tex/texmf-context/tex/context/base/mkiv/node-ref.lua:847: in function <...eXt/tex/texmf-context/tex/context/base/mkiv/node-ref.lua:844> (...tail calls...) the cause is the line: \cite[Evans, Carman, and Thorndike 2010] the problem: \cite[{{Evans, Carman, and Throndike 2010}}] is not fix the oddity: the file is full of entries like \cite[A, B, and C 2017] and worse. If I comment out the offending line, the file processes as it should. My test file does not duplicate the problem: it just shows another one ( that may or may not be relevant): \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] %\setupinteraction[state=start] \starttext \dorecurse{10}{\cite[A],\\ \cite[A and B],\\ \cite[{{A, B, and C}}]\blank} \page \startbibitem[A] A \stopbibitem \startbibitem[A and B] A and B \stopbibitem \startbibitem[{{A, B, and C}}] A, B, and C \stopbibitem \stoptext The file processes but does not show the “A, B, and C” when interaction is activated. Alan ___ 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 ___