I'm using natbib and chapterbib for a thesis. I have one main "my.bib" file that I source in each \included chapter. I get perfect looking ".bbl" files (one for each chapter) and, in fact, the "References" section of each chapter also looks perfect (nothing missing). However, the text of the document is scattered with a seemingly random collection of "?" where Latex claims to have not found the citation (and Latex complains of this with many error messages in the log file). Probably about half the citations in the text are marked by "?" and a latex error when all the proper citations exist in both the ".bbl" files and the "References" section.
I run the standard sequence of:
latex master
bibtex chapter1
bibtex chapter2
bibtex chapter3
latex master
latex master
And I get the same thing no matter the number of iterations. Please Help!
BibTeX, biblatex and biber ⇒ chapterbib/natbib random (?)'s
NEW: TikZ book now 40% off at Amazon.com for a short time.

chapterbib/natbib random (?)'s
You only need to run bibtex once, but that's not your problem here.
This is impossible to diagnose without some examples. Certainly there is nothing in your description to explain this behavior. What exactly does the log say? Does the bibtex log (.blg file) show anything interesting?
Pick one of the contexts where this happens and try using it to create a minimal working example and post it here, if possible.
This is impossible to diagnose without some examples. Certainly there is nothing in your description to explain this behavior. What exactly does the log say? Does the bibtex log (.blg file) show anything interesting?
Pick one of the contexts where this happens and try using it to create a minimal working example and post it here, if possible.
Re: chapterbib/natbib random (?)'s
Thanks for the suggestion! I was able to solve the problem in the process of creating an MWE by commenting out the call to \usepackage{bibunits}. I'm using a template that came with a whole bunch of default calls, so I'm still ignorant as to why this package was being called or what side effects my removal of it may cause. At first glance though, it looks like my problem is solved by simply commenting that line out.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
chapterbib/natbib random (?)'s
If so, please mark the topic accordingly as written in Section 3 of the Board Rules (to be read before posting).rck wrote:[…] I was able to solve the problem in the process of creating an MWE […]
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10