From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74283 Path: news.gmane.org!not-for-mail From: Michael Green Newsgroups: gmane.comp.tex.context Subject: Re: strc-lst.lua [was: Bibliography problem] Date: Thu, 2 Feb 2012 20:22:39 -0800 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328242988 14215 80.91.229.3 (3 Feb 2012 04:23:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2012 04:23:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 03 05:23:07 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtAfz-0002qq-9V for gctc-ntg-context-518@m.gmane.org; Fri, 03 Feb 2012 05:23:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F396CB2A5; Fri, 3 Feb 2012 05:23:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id clZ2kVr847yl; Fri, 3 Feb 2012 05:23:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 99627CB285; Fri, 3 Feb 2012 05:23:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 65845CB285 for ; Fri, 3 Feb 2012 05:23:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uWVyU4FGGBPE for ; Fri, 3 Feb 2012 05:22:46 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 004EBCB275 for ; Fri, 3 Feb 2012 05:22:45 +0100 (CET) Original-Received: from mail-pz0-f41.google.com (mail-pz0-f41.google.com [209.85.210.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q134Mh2q025299 for ; Fri, 3 Feb 2012 05:22:44 +0100 Original-Received: by dadv6 with SMTP id v6so3011901dad.14 for ; Thu, 02 Feb 2012 20:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=EScvg+WoJl+tVqld1epesii7tSh9paSZU28iwAl4S7w=; b=T7yP8xHVfCSbmV4K1AV7Zo9pgwmAqeYVw3B1bewBsG7KWB95BsPM68Dh2jzojShbyp ZKsilFCWMWnWXOTt/Pcg5eU9BT8+yy4v6j64rnkx2sUXj6pSe8b/EFqvm8hPLHV4n/a+ 3wkAxnBwzffKHEyrg0FN8i2MfxSpzxmGf+sy4= Original-Received: by 10.68.74.170 with SMTP id u10mr13870186pbv.99.1328242963374; Thu, 02 Feb 2012 20:22:43 -0800 (PST) Original-Received: from [172.27.35.121] (99-59-237-19.lightspeed.irvnca.sbcglobal.net. [99.59.237.19]) by mx.google.com with ESMTPS id x6sm10205461pbf.7.2012.02.02.20.22.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Feb 2012 20:22:42 -0800 (PST) X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05GtgmI1K - 6f01e34b1696 - 20120203 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74283 Archived-At: On 2012-02-02 15:46 -800, Philipp Gesang wrote: > On 2012-02-02 15:26, Michael Green wrote: = > > On 2012-02-01 12:48 -800, Philipp Gesang wrote: = > > = > > Thanks for all your help, but I'm afraid it's still not working for me. = > > = > > I did two tests. (1) Using this change alone and (2) using this change = together with the one you recommended to strc-lst.mkvi = > > http://archive.contextgarden.net/message/20120201.194023.3e8d62a3.en.ht= ml = > = > I believe the second one should already have fixed it. Have you = > run =93context --make=94 after you modified both files? = Aha! That's what I didn't do. Thank you very much! So, of course, there's another problem. If I add "\placepublications[criterium=3Dall]", I get errors that appear to= be related to what we changed. Note that if I press return twice, the docu= ment is produced as expected. Thanks again for the help. mjg ---- file ---------------------------- \setupbibtex[database=3Dtest] \setuppublications[alternative=3Dapa] \starttext Here is a cite command: \cite[hh2010a] \placepublications[criterium=3Dall] \stoptext \endinput -------------------------------------- ---- test.bib --------------------- @ARTICLE{hh2010a, author =3D {Hans Hagen}, title =3D {The Font Name Mess}, journal =3D {MAPS}, year =3D {2010}, volume =3D {40}, pages =3D {2-8}, keywords =3D {context}, } -------------------------------------- ---- log --------------------------- ConTeXt ver: 2012.01.25 14:16 MKIV fmt: 2012.2.2 int: english/english system > cont-new.mkiv loaded (/Users/michaelgreen/Applications/context/tex/texmf-context/tex/context/bas= e/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > 2012bib.top loaded (2012bib.top) fonts > latin modern fonts are not preloaded languages > language en is active publications > wrote a new auxiliary file \jobname.aux This is BibTeX, Version 0.99d (TeX Live 2011) The top-level auxiliary file: 2012bib.aux The style file: cont-no.bst Database file #1: test.bib publications > loading formatting style from bibl-apa (/Users/michaelgreen/Applications/context/tex/texmf-context/tex/context/bib= /bibl-apa.tex){/Users/michaelgreen/Applications/context/tex/texmf-context/f= onts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) fonts > typescripts > unknown: library 'loc' {/Users/michaelgreen/Applications/context/tex/texmf/fonts/map/dvips/lm/lm-m= ath.map}{/Users/michaelgreen/Applications/context/tex/texmf/fonts/map/dvips= /lm/lm-rm.map} fonts > fallback modern rm 12pt is loaded publications > loading database from 2012bib.bbl (2012bib.bbl) publications > placing all entries, use 'text' to be more selective ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-lst.lua:529:= attempt to index local 'l' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-lst.lua:529: in function '= location' ...text/tex/texmf-context/tex/context/base/strc-lst.lua:692: in function '= listlocation'
:1: in main chunk. system > tex > error on line 4 in file 2012bib.tex: LuaTeX error = ... 1 \setupbibtex[database=3Dtest] 2 \setuppublications[alternative=3Dapa] 3 = 4 >> \starttext 5 Here is a cite command: \cite[hh2010a] 6 \placepublications[criterium=3Dall] 7 = 8 \stoptext 9 \endinput 10 = \ctxcommand ...\directlua \zerocount {commands.#1} = ...cation {\structurelistlocation = }\fi \doifstructurelistha= s... \strc_lists_apply_renderingsetup ...enderingsetup = \edef \currentlistalterna= t... l.4 } = \typesetpubslist ...hacks.flush("\@@pbsorttype ")} \stoppacked \endgroup = \dodoplacepublications ...sttrue \typesetpubslist = \inpublistfalse \global \= a... ... l.6 \placepublications[criterium=3Dall] = ? = ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-lst.lua:529:= attempt to index local 'l' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-lst.lua:529: in function '= location' ...text/tex/texmf-context/tex/context/base/strc-lst.lua:692: in function '= listlocation'
:1: in main chunk. system > tex > error on line 4 in file 2012bib.tex: LuaTeX error = ... 1 \setupbibtex[database=3Dtest] 2 \setuppublications[alternative=3Dapa] 3 = 4 >> \starttext 5 Here is a cite command: \cite[hh2010a] 6 \placepublications[criterium=3Dall] 7 = 8 \stoptext 9 \endinput 10 = \ctxcommand ...\directlua \zerocount {commands.#1} = ...cation {\structurelistlocation = }\fi \doifstructurelistha= s... \strc_lists_apply_renderingsetup ...enderingsetup = = l.4 } = \typesetpubslist ...hacks.flush("\@@pbsorttype ")} \stoppacked \endgroup = \dodoplacepublications ...sttrue \typesetpubslist = \inpublistfalse \global \= a... ... l.6 \placepublications[criterium=3Dall] = ? = backend > xmp > using file '/Users/michaelgreen/Applications/contex= t/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 ) mkiv lua stats > used config file - selfautoparent:texmf/web2c/te= xmfcnf.lua mkiv lua stats > used cache path - /Users/michaelgreen/Applicati= ons/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74= 153606 mkiv lua stats > resource resolver - loadtime 0.010 seconds, 0 sca= ns with scantime 0.000 seconds, 0 shared scans, 16 found files, scanned pat= hs: = mkiv lua stats > stored bytecode data - 301 modules, 65 tables, 366 c= hunks mkiv lua stats > cleaned up reserved nodes - 39 nodes, 9 lists of 431 mkiv lua stats > node memory usage - 2 glue, 2 penalty, 9 attribut= e, 28 glue_spec, 3 attribute_list mkiv lua stats > node list callback tasks - 6 unique task lists, 5 instan= ces (re)created, 189 calls mkiv lua stats > used backend - pdf (backend for directly gen= erating pdf output) mkiv lua stats > loaded patterns - en::2 mkiv lua stats > jobdata time - 0.000 seconds saving, 0.000 s= econds loading mkiv lua stats > callbacks - 271 direct, 976 indirect, 124= 7 total mkiv lua stats > lxml preparation time - 0.000 seconds, 0 nodes, 11 lp= ath calls, 0 cached calls mkiv lua stats > interactive elements - 0 references, 1 destinations mkiv lua stats > result saved in file - 2012bib.pdf mkiv lua stats > loaded fonts - 3 files: lmmath-regular.otf l= mroman10-italic.otf lmroman10-regular.otf mkiv lua stats > fonts load time - 0.220 seconds = mkiv lua stats > luatex banner - this is luatex, version beta-= 0.70.1-2011051908 (rev 4277) mkiv lua stats > control sequences - 32211 of 65536 + 100000 mkiv lua stats > current memory usage - 41 MB (ctx: 42 MB) mkiv lua stats > runtime - 4.544 seconds, 1 processed pa= ges, 1 shipped pages, 0.220 pages/second mtx-context | fatal error: return code: 1localhost:2012 bibliography mi= chaelgreen$ = -------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________