ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [BUG] \placepublications[criterium=all] triggers error in ConTeXt 2010.09.29
@ 2010-09-30  2:32 Hongwen Qiu
  2010-09-30  2:50 ` Li Yanrui (李延瑞)
  0 siblings, 1 reply; 2+ messages in thread
From: Hongwen Qiu @ 2010-09-30  2:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] \placepublications[criterium=all] triggers error in ConTeXt 2010.09.29
  2010-09-30  2:32 [BUG] \placepublications[criterium=all] triggers error in ConTeXt 2010.09.29 Hongwen Qiu
@ 2010-09-30  2:50 ` Li Yanrui (李延瑞)
  0 siblings, 0 replies; 2+ messages in thread
From: Li Yanrui (李延瑞) @ 2010-09-30  2:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

在 2010年9月30日 上午10:32,Hongwen Qiu <qiuhongwen@gmail.com> 写道:
>  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.
>

It seems that the version of beta in repository is wrong. It is
2010.07.30 but not 2010.09.29.

-- 
Best regards,

Li Yanrui (李延瑞)
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-30  2:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30  2:32 [BUG] \placepublications[criterium=all] triggers error in ConTeXt 2010.09.29 Hongwen Qiu
2010-09-30  2:50 ` Li Yanrui (李延瑞)

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).