Thanx Thomas Thank you dealt with my problem. Maybe I'm the first to met this bug (if a mistake is it). Regarding the use of buffers: I'll have to remake it, because everything I have in principle based just on buffers. If I could not give a citation link to figure caption then would be a huge problem. I'd probably have to deal manually finding bibliography items and direct write its numbers into captions to square brackets (ie without cite referencing). Although I do not think, it could cause this problem. He is occurs even if the citation not appears in caption of figure. For me it is now very unfortunate that the thesis supervisor requires strict order of bibliography as I wrote. I'll try to wait for a possible correction, or try about hundred bibliographic items rearrange "manually" so that it will by his requirement. Once again, many thanks. With greetings Jaroslav Dne 1.3.2012 10:08, Thomas A. Schmitz napsal(a):
On 02/29/2012 09:33 PM, Jaroslav Hajtmar wrote:
Hello Thomas. Thanks for your interest in my problem.
My problem is that while simple basic aplication works fine, in complex applications (including components, images, tables etc) is not bibliography in the correct order, or there are errors in the references to literature.
I had a look at your examples. First, if the sequence of cited items is important for you (and it is because you want sorttype=cite), I wouldn't put citations and figures into a buffer, that's asking for trouble. That leaves the problem with a \cite command within a caption. This looks like a real bug to me; I hope Hans has the time to look into it. The minimal example is:
\setupbibtex[database=sample] \setuppublications[alternative=ams, sorttype=cite]
\starttext citations are \cite[hh2010b] and \cite[hh2010a].
\placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991]} {\externalfigure[fig1]}
\placepublications[criterium=cite]
\stoptext
All best
Thomas