1

This question is an exact duplicate of:

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)

marked as duplicate by moewe, Mensch, Moriambar, Stefan Pinnow, Zarko May 10 '17 at 18:03

This question was marked as an exact duplicate of an existing question.

  • 1
    Probably you need to be running bibtex locally (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 8 '17 at 15:29
  • 2
    It would be much better to use biblatex to have a bibliography per chapter. The template supports biblatex by default, you just have to trigger the use. – Johannes_B May 8 '17 at 15:44
  • 1
    Since the project works on Overleaf it is very likely that on your machine you forgot to run BibTeX. See Dai Bowen's link. Since your project does not use biblatex but natbib I have retagged your question. – moewe May 8 '17 at 16:17
  • 1
    Off-topic: Your version of the template is badly outdated. Some bugs have been fixed in the meantime. – Johannes_B May 9 '17 at 4:58
  • 1
    All updates have been made upstream, i don't know if Krishna pushed them to the online compilers. It is always better to use a template directly instead of using templates from online compilers. They (online compilers) rely on updates by the template author, and they often forget to push updates. – Johannes_B May 9 '17 at 16:09

Browse other questions tagged or ask your own question.