BibTeX, biblatex and biber ⇒ Strange Depiction of References
Strange Depiction of References
hello,
I am using TeXnicCenter, and I have a very strange problem.
Every time I convert the same source file to the PDF, the references are represented in a different (but a wrong!) way. What could be a reason?
Thank you in advance
I am using TeXnicCenter, and I have a very strange problem.
Every time I convert the same source file to the PDF, the references are represented in a different (but a wrong!) way. What could be a reason?
Thank you in advance
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Strange Depiction of References
Hi,
welcome to the board!
Please tell us in more detail what is strange and what do you mean by a different and wrong way. Wrong numbers, wrong font or appearance? Do you get any warning or error messages?
The best would be if you would post a reduced compilable example (
minimal working example) which shows that wrong behavior. So we could see and fix it, instead of speculating about possible reasons.
Stefan
welcome to the board!
Please tell us in more detail what is strange and what do you mean by a different and wrong way. Wrong numbers, wrong font or appearance? Do you get any warning or error messages?
The best would be if you would post a reduced compilable example (

Stefan
LaTeX.org admin
Strange Depiction of References
Please see below an example (something very basic). There is a .bib file in the same directory. On the output, sometimes I see "?" in the text instead of citation, but there is a list of bibliography in the end . But when I convert the same file once again, I can see citation correct (in the Author(year) format), but no references list below...
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage{natbib}
\begin{document}
....
\citet{nurmi1981problem} ....
\bibliographystyle{apalike}
\bibliography{PR}
\end{document}
Last edited by Stefan Kottwitz on Tue Feb 28, 2012 1:11 pm, edited 1 time in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Strange Depiction of References
That's normal for a first run. In a first run the references are unknown. Then if BibTeX is run, and LaTeX again, references can be resolved and are shown.artyomje wrote:On the output, sometimes I see "?" in the text instead of citation, but there is a list of bibliography in the end .
Could it be that your editor removes .aux or .bib/.bst files or generally auxiliary files after compiling? Some editors may have such a setting. Check if those files are there. Perhaps convert manually instead of using the editor.artyomje wrote:But when I convert the same file once again, I can see citation correct (in the Author(year) format), but no references list below...
Stefan
LaTeX.org admin
Re: Strange Depiction of References
thank you.
those files are on their place..
those files are on their place..
Re: Strange Depiction of References
The warning I have is:"citation 'xxxx' is undefined on input line ..."
But when I use regular \cite command instead of \citet or \citep, everythin works good! So, I guess, my .bib file is correct, and so is editor. Why should natbib package change?
But when I use regular \cite command instead of \citet or \citep, everythin works good! So, I guess, my .bib file is correct, and so is editor. Why should natbib package change?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Strange Depiction of References
natbib
and apalike
are compatible. The small code piece you showed above should be ok. Perhaps show a complete example with the problem, a hacked down 
Stefan
LaTeX.org admin
Re: Strange Depiction of References
Thank you for your attempts to assist. I found the problem.
My .bib was built automatically by exporting from Google Scholar. In their bib. item form the field 'author' comes after the field 'title', and that makes problem when natbib is used.
My .bib was built automatically by exporting from Google Scholar. In their bib. item form the field 'author' comes after the field 'title', and that makes problem when natbib is used.