<div dir="ltr"><font color="#000000"><font><font face="courier new,monospace">Hi all,</font></font></font><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">After I'm using sample.bib provided by ConTeXt and write \cite[hh2010a], I got an `error 2' instead of the reference's num in the PDF file. And got nothing in the \completepublications list, until I use \completepublications[criterium=all]. But this cause some bibs I haven't used in the article appear in the refrences list.</font></div>

<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">Is that something wrong by me or the ConTeXt?<br></font><div><font color="#000000"><font><font face="courier new,monospace"><br>

</font></font></font></div><div><font color="#000000"><font><font face="courier new,monospace">I'm using TexLive 2011 distuibution. ConTeXt version:</font></font></font></div><div><font color="#000000"><font><font face="courier new,monospace"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

mtx-context     | main context file: /usr/local/texlive/2011/texmf-dist/tex/context/base/context.mkiv<br>mtx-context     | current version: 2011.05.18 18:04</blockquote></font></font></font><div dir="ltr"><br></div><div dir="ltr">

Here is my test.tex file</div><div dir="ltr"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

\setupbibtex[database=sample]<br>\starttext<br>\chapter{haha}<br>\cite[hh2010b]<br>\cite[hh2010a]<br>\completepublications<br>\stoptext</blockquote><div><br></div><div>Here is part of the sample.bib</div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

@STRING{hh = {Hans Hagen}}<br>@ARTICLE{hh2010a,<br>  author = hh,<br>  title = {The Font Name Mess},  journal = {MAPS},<br>  year = {2010},  volume = {40},<br>  pages = {2-8},<br>  keywords = {context},<br>}<br>@ARTICLE{hh2010b,<br>

  author = hh,<br>  title = {Grouping in Hybrid Environments},<br>  journal = {MAPS},<br>  year = {2010},<br>  volume = {40},<br>  pages = {67-71},<br>  keywords = {context},<br>} </blockquote>-----------<br>悲观的思考,乐观的生活.我们既需要思考的深度,也需要生活的温度!<div>

@ruohanc</div></div><br>
</div></div></div>