ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hongwen Qiu <qiuhongwen@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [BUG] \placepublications[criterium=all] triggers error in ConTeXt 2010.09.29
Date: Thu, 30 Sep 2010 10:32:43 +0800	[thread overview]
Message-ID: <4CA3F6CB.6050403@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

 Please see the attached minimal example and its error log.
\placepublications[criterium=all] triggers error in ConTeXt 2010.09.29.
It works fine in ConTeXt 2010.09.24.
Both the luatex versions are beta-0.63.0-2010091123.

[-- Attachment #2: test.bib --]
[-- Type: text/plain, Size: 118 bytes --]

@unpublished{test,
    title={Test},
    author={test},
    journal={Test},
    year=2010,
    month=9,
    day=29,
}

[-- Attachment #3: test.log --]
[-- Type: text/plain, Size: 5270 bytes --]

sorters         > using sort sequence: mm mc uc

(test.tex

ConTeXt  ver: 2010.09.29 15:00 MKIV  fmt: 2010.9.29  int: english/english

system          : cont-new loaded
(/home/qiuhw/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/home/qiuhw/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system          : cont-fil loaded
(/home/qiuhw/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(/home/qiuhw/context/tex/texmf-context/tex/context/user/cont-sys.rme (/home/qiuhw/context/tex/texmf-context/tex/context/base/type-def.mkiv) (/home/qiuhw/context/tex/texmf-context/tex/context/base/type-lua.mkiv) (/home/qiuhw/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/qiuhw/context/tex/texmf-context/tex/context/base/type-otf.mkiv))
system          : cont-err loaded
(/home/qiuhw/context/tex/texmf-context/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
)
system          : test.top loaded
%
%	begin of optionfile
%
%	% runtime options files (command line driven)
%	\unprotect
%	% feedback and basic job control
%	% handy for special styles
%	\startluacode
%	document = document or { }
%	document.arguments={
%	}
%	document.files={
%	 "test",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[inputfile=test]
%	\setupsystem[\c!n=1,\c!m=1]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(test.top)
fonts           : preloading latin modern fonts
{/home/qiuhw/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/qiuhw/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/home/qiuhw/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
bodyfont        : 12pt rm is loaded
language        : language en is active
publications    : wrote a new auxiliary file cont-en.aux
publications    : loading formatting style from bxml-apa
(/home/qiuhw/context/tex/texmf-context/tex/context/base/bxml-apa.mkiv)
systems         : begin file test at line 3
! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-lst.lua:195: bad argument #1 to 'gsub' (string expected, got nil)
stack traceback:
	[C]: in function 'gsub'
	...text/tex/texmf-context/tex/context/base/strc-lst.lua:195: in function <...text/tex/texmf-context/tex/context/base/strc-lst.lua:192>
	(tail call): ?
	...text/tex/texmf-context/tex/context/base/strc-lst.lua:392: in function 'analyze'
	<main ctx instance>:1: in main chunk.

system          > error on line 5 in file test.tex: LuaTeX error  ...

1     \setupbibtex[database=test]
2     
3     \starttext
4     \cite[test]
5 >>  \placepublications[criterium=all]
6     \stoptext


\analyzestructurelist ....analyze("#1","#2","#3")}
                                                  
\dodeterminelistcharacteristics ...ter \c!number }
                                                  \xdef \utilitylistlength {...
<to be read again> 
                   \initializepubslist 
\dodoplacepublications ...ubs]\initializepubslist 
                                                  \doifnot {\namedlistparame...
l.5 \placepublications[criterium=all]
                                     
? X
mkiv lua stats : used config file          - /home/qiuhw/context/tex/texmf/web2c/texmfcnf.lua
mkiv lua stats : used cache path           - /home/qiuhw/context/tex/texmf-cache/luatex-cache/context/3525c3c2a591596c39048524c75fec75
mkiv lua stats : input load time           - 0.047 seconds
mkiv lua stats : stored bytecode data      - 239 modules, 56 tables, 295 chunks
mkiv lua stats : cleaned up reserved nodes - 30 nodes, 9 lists of 411
mkiv lua stats : node memory usage         - 1 hlist, 3 glue, 1 penalty, 10 glyph, 6 attribute, 20 glue_spec, 2 attribute_list, 1 temp, 1 local_par, 1 dir
mkiv lua stats : node list callback tasks  - 6 unique task lists, 1 instances (re)created, 281 calls
mkiv lua stats : used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns           - en::2
mkiv lua stats : callbacks                 - direct: 369, indirect: 4462, total: 4831
mkiv lua stats : result saved in file      - test.pdf
mkiv lua stats : loaded fonts              - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats : fonts load time           - 0.501 seconds 
mkiv lua stats : luatex banner             - this is luatex, version beta-0.63.0-2010091123
mkiv lua stats : control sequences         - 30264 of 165536
mkiv lua stats : current memory usage      - 28 MB (ctx: 29 MB)
mkiv lua stats : runtime                   - 24.455 seconds


[-- Attachment #4: test.tex --]
[-- Type: application/x-tex, Size: 96 bytes --]

[-- Attachment #5: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2010-09-30  2:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  2:32 Hongwen Qiu [this message]
2010-09-30  2:50 ` Li Yanrui (李延瑞)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA3F6CB.6050403@gmail.com \
    --to=qiuhongwen@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).