Nuno S.L.S. Ferreira
2007-03-27 18:33:42 UTC
Hi *
Just started to learn Latex few days ago, to write my PhD thesis, with
this GUI TexNic. This is just a great tool ;-)
After reading some info, I choose the book document class to write the
thesis. Moreover, I read about using command \include{} in order to
have chapters in external files, which makes things easier for big
chapters.
After that, I built a .bib repository, using JabRef tool.
Now I'm trying to understand how I could have a bibliographic section
at the end of each chapter, though I'm having some problems getting it
right. For that, I'm using the package chapterbib along with natbib to
handle the citations as author-year references in the text.
In my usepackage section, I added the following:
\usepackage[sectionbib,sort]{natbib} % natural sciences citations/ref.
\usepackage{chapterbib} % multiple bibliographies in one document
Think this is correct for what I want. The problem comes later.
In each external chapter files (presently working with only one file
for testing purposes), I added the following accordingly with natbib
tips at the end of the chapter file:
\bibliographystyle{plainnat}
\bibliography{jabref}
But I never get a final document with a bibliographic section at the
end, neither the citations are substituted in the text (using the
cimmand \citep{key} )
The TexNic log file says:
Package natbib Warning: Citation `Correia2006' on page 3 undefined on
input line 16.
No file chapter1.bbl.
[...snip...]
Package natbib Warning: There were undefined citations.
Can you guys give any hint? I hit the F7 key (build output) several
times, at least 4 or 5, but I'm not getting there. For sure it's a
newbie question ...
Cheers,
Nuno
Just started to learn Latex few days ago, to write my PhD thesis, with
this GUI TexNic. This is just a great tool ;-)
After reading some info, I choose the book document class to write the
thesis. Moreover, I read about using command \include{} in order to
have chapters in external files, which makes things easier for big
chapters.
After that, I built a .bib repository, using JabRef tool.
Now I'm trying to understand how I could have a bibliographic section
at the end of each chapter, though I'm having some problems getting it
right. For that, I'm using the package chapterbib along with natbib to
handle the citations as author-year references in the text.
In my usepackage section, I added the following:
\usepackage[sectionbib,sort]{natbib} % natural sciences citations/ref.
\usepackage{chapterbib} % multiple bibliographies in one document
Think this is correct for what I want. The problem comes later.
In each external chapter files (presently working with only one file
for testing purposes), I added the following accordingly with natbib
tips at the end of the chapter file:
\bibliographystyle{plainnat}
\bibliography{jabref}
But I never get a final document with a bibliographic section at the
end, neither the citations are substituted in the text (using the
cimmand \citep{key} )
The TexNic log file says:
Package natbib Warning: Citation `Correia2006' on page 3 undefined on
input line 16.
No file chapter1.bbl.
[...snip...]
Package natbib Warning: There were undefined citations.
Can you guys give any hint? I hit the F7 key (build output) several
times, at least 4 or 5, but I'm not getting there. For sure it's a
newbie question ...
Cheers,
Nuno