TransWikia.com

References not appearing in my Latex Document

TeX - LaTeX Asked by Siba on March 6, 2021

I have a thesis latex document which compiles seperately written chapters into a larger thesis document.
My in-text citations and references list are not showing up in my final compiled PDF.

Is there a reason why this happens? I am compiling, running the bib file and compiling twice as mentioned for the references to build properly. However, I still dont have any luck.

Here is an example of my documents:

  1. Ch1_Intro.tex file
clearpage

blablabla cite{reference1}

bibliographystyle{unsrt} %% NATBIB command
{renewcommand{bibname}{References}bibliography{refs_Ch1}}

2)Compiled_Thesis.tex file

usepackage[journal=ancham]{achemso}
setkeys{acs}{articletitle=true}
usepackage{natbib} % Top-level referencing package
usepackage[sectionbib]{chapterbib} % Additional support for chapter-based bibliographies
setlength{bibsep}{0pt plus 0.3ex} % reduce spacing between bibliography entries
usepackage{xkeyval} 
usepackage{hyperref} % Make references clickable 
hypersetup{
  colorlinks   = true, %Colours links 
  urlcolor     = red, %Colour for external hyperlinks
  linkcolor    = blue, %Colour of internal links
  citecolor   = blue} %Colour of citations
renewcommand{chapterautorefname}{Chapter} % autoref to chapter uses capital C  
usepackage{xpatch} % remove leading space for non-superscripted citations
makeatletter % remove leading space for non-superscripted citations
xpatchcmdcitenum{NAT@spacechar}{unkern}{}{fail} % remove leading space for non-superscripted citations
makeatother % remove leading space for non-superscripted citations
renewcommand*{thefootnote}{fnsymbol{footnote}} % use symbols rather than numbers for footnotes
renewcommand*{bibfont}{footnotesize} % make the bibliography font smaller
renewcommand{bibname}{References}

begin{document}

include{Ch1_Intro}

end{document}

  1. refs_Ch1.bib file
@article{reference1},
  citation-number = {1},
  author = {me},
  title = {my paper},
  date = {2007},
  volume = {84},
  pages = {644},
  language = {en},
  journal = {my journal},
  number = {4}
}

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP