I am using Cambridge template to write my thesis. I added a section for list of publication and tried to have the reference section in each chapter rather than for the whole thesis. I used the command
\PassOptionsToPackage{sectionbib}{natbib}
and always get 'undefined citation'.
I already uploaded the project on the Overleaf website and it works perfect there, but on my own computer I got the citation problem. This is the link for my project: https://www.overleaf.com/read/jzgpmgsgbhtj
when I run the bibtex I got this error message
I got this when i run bibtex
Process started
This is BibTeX, Version 0.99d (MiKTeX 2.9.6210 64-bit)
The top-level auxiliary file: build\thesis.aux
A level-1 auxiliary file: Dedication/dedication.aux
A level-1 auxiliary file: Declaration/declaration.aux
A level-1 auxiliary file: Acknowledgement/acknowledgement.aux
A level-1 auxiliary file: Abstract/abstract.aux
I couldn't open auxiliary file ownpubs.aux ---line 33 of file build\thesis.aux : \@input{ownpubs.aux : }
I'm skipping whatever remains of this command
I couldn't open auxiliary file Chapter1/chapter1.aux ---line 38 of file build\thesis.aux : \@input{Chapter1/chapter1.aux : }
I'm skipping whatever remains of this command
I couldn't open auxiliary file Chapter2/chapter2.aux ---line 41 of file build\thesis.aux : \@input{Chapter2/chapter2.aux : }
I'm skipping whatever remains of this command
I couldn't open auxiliary file Chapter3/chapter3.aux ---line 44 of file build\thesis.aux : \@input{Chapter3/chapter3.aux : }
I'm skipping whatever remains of this command
A level-1 auxiliary file: Appendix1/appendix1.aux
A level-1 auxiliary file: Appendix2/appendix2.aux
I found no \citation commands---while reading file build\thesis.aux
I found no \bibdata command---while reading file build\thesis.aux
I found no \bibstyle command---while reading file build\thesis.aux
(There were 7 error messages)
Process exited with error(s)
bibtexlocally (overleaf will do this for you automatically) in addition to(pdf)latex, take a look at Question mark or bold citation key instead of citation number. – Dai Bowen May 08 '17 at 15:29biblatexto have a bibliography per chapter. The template supportsbiblatexby default, you just have to trigger the use. – Johannes_B May 08 '17 at 15:44biblatexbutnatbibI have retagged your question. – moewe May 08 '17 at 16:17