I realize that similar questions have been asked before. I have looked at the threads, and read the biblatex documentation. But it hasn't helped.
I have a document for which I'd like to add the bibliography at the end of each chapter, rather than at the end of the document. All my references are in one .bib file.
However, using the solutions posted by other users, I have two problems:
The bibliography is not printed at the end of each chapter.
When the references are cited, instead of numbers, I get the cite-key!
Here is the sample of my code:
\usepackage{graphicx,pstricks}
\usepackage{graphics}
\usepackage{amsmath,bm}
\usepackage{moreverb}
\usepackage{subfigure}
\usepackage{epsfig}
\usepackage{subfigure}
\usepackage{hangcaption}
\usepackage{txfonts}
\usepackage{palatino}
%\usepackage[style=trad-plain,sorting=none,backend=bibtex]{biblatex}
\usepackage[backend=bibtex]{biblatex}
\tolerance=9999
\addbibresource{\jobname.bib}
\begin{document}
\maketitle
\chapter{Introduction}
\begin{refsection}
stuff....\cite{cite-key}
\printbibliography[heading={subbibliography}]
\end{refsection}
\end{document}
I want numbers and not cite-keys for the citation. And I'd like the references printed out at the end of the chapter.
Also, I'm using TeXShop on Mac. I compile the main .tex file once, then the .bib file using the bibtex option in TeXShop, and then compile the .tex file at least twice.
I would appreciate any suggestions on how to get this.
bibtexon your.texfile, non on your.bibfile. Btw, why are you usingbibtexand notbiberwithbiblatex? – CarLaTeX Oct 23 '17 at 03:20graphicxandgraphics: the first is enough. And you loadedsubfiguretwice: only one is needed. – CarLaTeX Oct 23 '17 at 03:50txfonts(which provides a Times Roman font clone) andpalatino( which provides a Palatino clone). Load one package or the other, but not both. – Mico Oct 23 '17 at 05:35subfigureis obsolete. Kumz: usesubfigorsubcaptioninstead. – CarLaTeX Oct 23 '17 at 06:12