BibTeX, biblatex and biberchapterbib/natbib random (?)'s

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
rck
Posts: 2
Joined: Sat Jan 29, 2011 12:09 am

chapterbib/natbib random (?)'s

Post by rck »

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

chapterbib/natbib random (?)'s

Post by frabjous »

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.
rck
Posts: 2
Joined: Sat Jan 29, 2011 12:09 am

Re: chapterbib/natbib random (?)'s

Post by rck »

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.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

chapterbib/natbib random (?)'s

Post by localghost »

rck wrote:[…] I was able to solve the problem in the process of creating an MWE […]
If so, please mark the topic accordingly as written in Section 3 of the Board Rules (to be read before posting).


Best regards and welcome to the board
Thorsten
Post Reply