Document Classesbibunits problem - references don't appear inline

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
complext
Posts: 1
Joined: Wed Apr 09, 2008 1:43 pm

bibunits problem - references don't appear inline

Post by complext »

Hi,

I'm using the bibunits package to add references at the end of each chapter of my PhD. After latexing, and bibtexing, and latexing again twice, the list of cited references appears at the end of each chapter, but each \cite commands still produce a [?] in the typeset text, indicating that the reference can't be found.

The preample of my document (thesis.tex) looks like:

Code: Select all

\usepackage{bibunits}
......
\begin{document}
\bibliographyunit[\chapter]
\defaultbibliography{bibliography/articles,bibliography/extras}
\maketitle
Then the body of the document looks like:

Code: Select all

\chapter{Title of chapter 1}
\label{chp:chapter1}
\input{chapters/chapter1}
\putbib
The contents of the chapter1.tex file, which is in the chapters subdirectory is:

Code: Select all

\section{Section heading 1}
A sentence with a reference at the end \cite{aref2008}.
Another sentence with a reference at the end \cite{anotherref2008}.
I typeset by doing the following:
latex thesis1
bibtex bu.aux
bibtex bu1.aux
...
bibtex buN.aux
latex thesis 1
latex thesis 1

Any ideas what I'm doing wrong? How can I get my references to appear inline?

Many thanks for your help.

Best wishes,
complext

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Mr.IO
Posts: 1
Joined: Mon Feb 23, 2009 1:14 pm

Re: bibunits problem - references don't appear inline

Post by Mr.IO »

Dear complext,
According to the description you posted, you seem to have encountered the same problem I am currently facing, ipsis literis.
I noticed that there were no answers, but have you by any chance discovered the cause or found a solution? As you probably already delivered your thesis, i guess, either you gave up on in-chapter bibs, or you managed to -- a clear case of tertium-non-datur =].
In the case you found a solution, would you be so kind as to share?
Thanks a bunch,

Mario.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

bibunits problem - references don't appear inline

Post by localghost »

A complete minimal working example (MWE) might help to solve this problem.


Best regards and welcome to the board
Thorsten¹
Post Reply