BibTeX, biblatex and biberFrom Bibliography by Chapter to complete Bibliography

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Leoni
Posts: 7
Joined: Sat Feb 12, 2011 1:03 pm

From Bibliography by Chapter to complete Bibliography

Post by Leoni »

Dear all,

I have faced a problem, I can't seem to find a solution for. I am writing a Thesis. Each chapter is saved separately. To get the whole Thesis, I do this:

Code: Select all

\begin{document}
\maketitle

\include{TitlePage}
\let\cleardoublepage\clearpage

\include{Intro}
\include{Chap1}
...
\include{Chap9}
\include{Experimental}

\end{document}
Before I had references after each chapter, like that:

Code: Select all

\chapter{Chapter1}
text text text
\newpage
\bibliographystyle{unsrt}
\bibliography{MYLIBRARY}
Now I need to put all references in the end of the whole Thesis. So what I did is, I deleted the last two lines from each chapter, and added them to the final source file, like here:

Code: Select all

\begin{document}
\maketitle

\include{TitlePage}
\let\cleardoublepage\clearpage

\include{Intro}
\include{Chap1}
...
\include{Chap9}
\include{Experimental}

\newpage
\bibliographystyle{unsrt}
\bibliography{MYLIBRARY}

\end{document}
I have been compiling the whole thing for quite a while, BibTeX and LaTeX, but it doesn't work. I get question marks instead of references. Here's the log from "final_output.blg"

Code: Select all

This is BibTeX, Version 0.99d (TeX Live 2010)
Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
The top-level auxiliary file: final_output.aux
...
A level-1 auxiliary file: Chap1.aux
...
A level-1 auxiliary file: Chap9.aux
A level-1 auxiliary file: Experimental.aux
The style file: plain.bst
Database file #1: MYLIBRARY.bib
Repeated entry---line 5609 of file MYLIBRARY.bib
 : @article{428
 :             ,
I'm skipping whatever remains of this entry
Warning--I didn't find a database entry for "452"
Warning--empty journal in 316
...
You've used 164 entries,
            2118 wiz_defined-function locations,
            1325 strings with 28671 characters,
and the built_in function-call counts, 52165 in all, are:
= -- 4903
> -- 2786
< -- 4
+ -- 1106
- -- 928
* -- 3826
:= -- 8994
add.period$ -- 465
call.type$ -- 164
change.case$ -- 944
chr.to.int$ -- 0
cite$ -- 179
duplicate$ -- 1743
empty$ -- 3970
format.name$ -- 928
if$ -- 10722
int.to.chr$ -- 0
int.to.str$ -- 164
missing$ -- 149
newline$ -- 796
num.names$ -- 328
pop$ -- 886
preamble$ -- 1
purify$ -- 792
quote$ -- 0
skip$ -- 1252
stack$ -- 0
substring$ -- 2958
swap$ -- 196
text.length$ -- 4
text.prefix$ -- 0
top$ -- 0
type$ -- 638
warning$ -- 15
while$ -- 444
width$ -- 167
write$ -- 1713
(There was 1 error message)
I have skipped repeated references from my other chapters and some repeated warnings on missing journals information..

Can anybody please give me a hint, how to fix this problem?
Last edited by localghost on Sun Apr 28, 2013 9:09 am, edited 1 time in total.

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

From Bibliography by Chapter to complete Bibliography

Post by cgnieder »

I'd take the error message literally: you seem to have two entries with the same ID:

Code: Select all

Repeated entry---line 5609 of file MYLIBRARY.bib
 : @article{428
 :             ,
I'm skipping whatever remains of this entry
Then there are two warnings: a missing entry

Code: Select all

Warning--I didn't find a database entry for "452"
I actually don't know what the next thing means but it should become clear when you take a look at line 316 of your bib file:

Code: Select all

Warning--empty journal in 316
Regards
site moderator & package author
Post Reply