I am writing my PhD thesis using TeXmaker.
%---------------------Preamble---------------%
\documentclass[b5paper,twoside,10pt,openany]{book}
\usepackage[margin=1in]{geometry}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[bitstream-charter]{mathdesign}
\usepackage{amsmath}
\usepackage{sectsty}
\usepackage{natbib}
\usepackage{chapterbib}
\pagenumbering{gobble}
\usepackage{graphicx}
\usepackage[normalem]{ulem}
\providecommand\phantomsection{}
\setcounter{secnumdepth}{3}
%---------------------Document starts here---------------%
\begin{document}
\input{titlepage}
\input{dedication}
\input{abstract}
%---------------------Chapters in the thesis---------------%
\input{chapter1}
\input{chapter2}
%------------------------------------%
\end{document}
%------------------------------------%
within each chapter: a separate bibliography and bibliography style (unsrt) is defined.
When I do: bibtex chapter1, I get an error:
Process started I couldn't open file name `chapter1.aux' Process exited normally.
Can anyone help?
chapterbib
want your chaptersinclude
d rather than simplyinput
?\input
which doesn't create an auxiliary file. Use\include
instead. See my answer.