I am trying to create a document with \bibchapter package so that there is a chapter-specific bibliography at the end of every chapter.
1.) I open a new project and checked the box "Using BibTeX"
2.) I put all the preambles in a .tex file called "home"
3.) Then I went on to write the first chapter called intro.tex like this:
Code: Select all
\chapter{Introduction}
This is intro!! /cite{article101}
\bibliography{file}
\bibliographystyle{plain}
Code: Select all
\documentclass{report}
\usepackage{cite, chapterbib}
\begin{document}
\include{intro}
\end{document}
I researched a bit and learned that I actually need an intro.bbl file, but I only got home.bbl. The only way I can get an intro.bbl is to put all the preambles and \end{document} into the introduction chapter and compile it as if it's a separate document. Then I'd have to go back and take them away, and then go to home.tex to make my big document.
It sounds very convoluted. Am I actually doing it correctly?
Thank you for your time.