Re: [NTG-context] Is it bibliography really problem for MKIV?
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
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
On 03/01/2012 10:49 AM, Jaroslav Hajtmar wrote:
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
Yes, it looks like nobody put \cite into captions before you, but I can imagine that this is a fairly normal requirement in the sciences. So this should in fact work, and you shouldn't have to do this manually, this is a bug and should be fixed. The question is a bit how urgently you need it. The bibliography mkiv code is something that only Hans can touch, so the fix will come, but it will probably take him some time. Best wishes Thomas
Hello Thomas, I have experimented a bit and found that the problem is not in the presence of citation in the caption of figure. It seems that the problem does not occur only when you insert a figure without caption. See the following example: Jaroslav \setupbibtex[database=sample] \setuppublications[alternative=ams, sorttype=cite] \starttext citations are \cite[hh2010b] and \cite[hh2010a]. % \placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991] with citation} % with problem % {\externalfigure[fig1]} % \placefigure[force, none][fig1]{} %Figure without caption - no problem with bibliography % {\externalfigure[fig1]} \placefigure[force][fig1]{Caption of figure without citation} % with problem too {\externalfigure[fig1]} \placepublications[criterium=cite] \stoptext Dne 1.3.2012 11:09, Thomas A. Schmitz napsal(a):
On 03/01/2012 10:49 AM, Jaroslav Hajtmar wrote:
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
Yes, it looks like nobody put \cite into captions before you, but I can imagine that this is a fairly normal requirement in the sciences. So this should in fact work, and you shouldn't have to do this manually, this is a bug and should be fixed. The question is a bit how urgently you need it. The bibliography mkiv code is something that only Hans can touch, so the fix will come, but it will probably take him some time.
Best wishes
Thomas
participants (2)
-
Jaroslav Hajtmar
-
Thomas A. Schmitz