Bonjour, I am using the bib and bibltx modules to manage the bibliography of my articles. All was fine up to just recently where no more reference seems to be made any more in my current writing (half the article is OK). The \cite command return empty brackets [] (even when I wrote the wrong reference, there usually always had a number) and no new line is created in the \placepublications[criterium=all] command (or \completepublications for that matter). Things seem to be done properly though. I am running ConTeXt ver: 2008.05.21 Would anybody have a clue on what is going on? Thanks, Nicolas Luchier
Nicolas Luchier wrote:
Bonjour,
I am using the bib and bibltx modules to manage the bibliography of my articles. All was fine up to just recently where no more reference seems to be made any more in my current writing (half the article is OK). The \cite command return empty brackets [] (even when I wrote the wrong reference, there usually always had a number) and no new line is created in the \placepublications[criterium=all] command (or \completepublications for that matter). Things seem to be done properly though.
I am running ConTeXt ver: 2008.05.21
Would anybody have a clue on what is going on?
Not enough information for a good answer, but you should check to make sure there are no problematic entries in the bbl file. Perhaps you added a citation recently and now the bbl reader is confused because there is an unrecognized macro or stray dollar sign, something like that. Best wishes, Taco
On Thu, 16 Apr 2009, Nicolas Luchier wrote:
Bonjour,
I am using the bib and bibltx modules to manage the bibliography of my articles. All was fine up to just recently where no more reference seems to be made any more in my current writing (half the article is OK). The \cite command return empty brackets [] (even when I wrote the wrong reference, there usually always had a number) and no new line is created in the \placepublications[criterium=all] command (or \completepublications for that matter). Things seem to be done properly though.
I am running ConTeXt ver: 2008.05.21 ^^^^^^^^^^^^^^^
Did you change anything in your system recently? There have been some changes in MkIV that affect the bib module, but you are using an older version of context, so should not be affect by the recent changes.
Would anybody have a clue on what is going on?
Can you create a minimal example showing the problem? Usually, such problems arise due to a missing [criterium=all] but you have it. Aditya
Thank you for your quick answers. Following Taco suggestion, I used a former biblio.bib which doesn't cause any problem in a former article (25 entry in the article bibliography and I recompiled it ti check wether something new could happen, but everything ran fine). Since I did add some citations for this new article (through Zotero BTW, but all my .bib has been done this way), some entries are missing for my new article but the number are nonetheless reserved, except from the last 4 citations that still produces empty brackets and no reserved line in the \placepublications command. I didn't change anything in the system recently. Create a minimal example will be difficult, since the behavior changed mid article : \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=biblio] \starttext \section{some blabla part I} sub and subsubsection with some \cite command in them. Everything is fine. \Section{some blabla part II} subsection with \cite command that produces empty brackets. \section{bibliography} \placepublications[criterium=all] \stoptext Now, if I move the faulty \cite from the part II to part I, they still produce empty bracket. Looking into the log, I found these warnings : warning: cite argument xxxx unknown on 139, when the command is \cite[xxxx]. This doesn't come from the fact that xxxx is not in the .bib file since other references are also missing but no warning is produced. I really don't get it. Nicolas Le 16 Apr 2009 à 15:48, Aditya Mahajan a écrit :
On Thu, 16 Apr 2009, Nicolas Luchier wrote:
Bonjour,
I am using the bib and bibltx modules to manage the bibliography of my articles. All was fine up to just recently where no more reference seems to be made any more in my current writing (half the article is OK). The \cite command return empty brackets [] (even when I wrote the wrong reference, there usually always had a number) and no new line is created in the \placepublications[criterium=all] command (or \completepublications for that matter). Things seem to be done properly though.
I am running ConTeXt ver: 2008.05.21 ^^^^^^^^^^^^^^^
Did you change anything in your system recently? There have been some changes in MkIV that affect the bib module, but you are using an older version of context, so should not be affect by the recent changes.
Would anybody have a clue on what is going on?
Can you create a minimal example showing the problem? Usually, such problems arise due to a missing [criterium=all] but you have it.
Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Hello OK, I found the problem. It may be of interest so here is the faulty code : \startformula\startalign[n=1,align={left}] \NC \text{Dans la théorie de l'électron libre (\cite[ashcroft1976]) } k_{F}=1,65 \text{~} \Angstrom^{-1} \NR ... \stopalign \stopformula The \cite command inside the \text in the formula setting ended up messing with all the following *new* citations, recalling of already mentioned citation was OK. \cite citation withdrawn, everything was back to the normal. Thanks for your help, Nicolas Le 16 Apr 2009 à 16:25, Nicolas Luchier a écrit :
Thank you for your quick answers.
Following Taco suggestion, I used a former biblio.bib which doesn't cause any problem in a former article (25 entry in the article bibliography and I recompiled it ti check wether something new could happen, but everything ran fine). Since I did add some citations for this new article (through Zotero BTW, but all my .bib has been done this way), some entries are missing for my new article but the number are nonetheless reserved, except from the last 4 citations that still produces empty brackets and no reserved line in the \placepublications command.
I didn't change anything in the system recently.
Create a minimal example will be difficult, since the behavior changed mid article : \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=biblio] \starttext \section{some blabla part I} sub and subsubsection with some \cite command in them. Everything is fine. \Section{some blabla part II} subsection with \cite command that produces empty brackets. \section{bibliography} \placepublications[criterium=all] \stoptext
Now, if I move the faulty \cite from the part II to part I, they still produce empty bracket.
Looking into the log, I found these warnings : warning: cite argument xxxx unknown on 139, when the command is \cite[xxxx]. This doesn't come from the fact that xxxx is not in the .bib file since other references are also missing but no warning is produced.
I really don't get it.
Nicolas
Le 16 Apr 2009 à 15:48, Aditya Mahajan a écrit :
On Thu, 16 Apr 2009, Nicolas Luchier wrote:
Bonjour,
I am using the bib and bibltx modules to manage the bibliography of my articles. All was fine up to just recently where no more reference seems to be made any more in my current writing (half the article is OK). The \cite command return empty brackets [] (even when I wrote the wrong reference, there usually always had a number) and no new line is created in the \placepublications[criterium=all] command (or \completepublications for that matter). Things seem to be done properly though.
I am running ConTeXt ver: 2008.05.21 ^^^^^^^^^^^^^^^
Did you change anything in your system recently? There have been some changes in MkIV that affect the bib module, but you are using an older version of context, so should not be affect by the recent changes.
Would anybody have a clue on what is going on?
Can you create a minimal example showing the problem? Usually, such problems arise due to a missing [criterium=all] but you have it.
Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Nicolas Luchier wrote:
Hello
OK, I found the problem. It may be of interest so here is the faulty code : \startformula\startalign[n=1,align={left}] \NC \text{Dans la théorie de l'électron libre (\cite[ashcroft1976]) } k_{F}=1,65 \text{~} \Angstrom^{-1} \NR
That should have worked, so there is a definately a bug somewhere. Best wishes, Taco
participants (3)
-
Aditya Mahajan
-
Nicolas Luchier
-
Taco Hoekwater