1

I am writing my PhD proposal. I have a problem with making a bibliography section for my document.

Instead of having one document, I have separate .tex files for all of my sections, and include them using \input{section-1} in my main.tex.

To create the bibliography section, I am using

\documentclass[12]{article}

\usepackage[utf8]{inputenc}

\usepackage{biblatex}

\addbibresource{refs.bib}

\begin{document}

\input{sections/introduction}
\input{sections/exp_approach}

\printbibliography

\end{document}

However, it doesn't print out the bibliography section. And all the \cite{} in my sections cannot communicate with the references in my refs.bib file.

Could anyone please let me know what I've been doing wrong? and how to fix it?

Thanks!

7
  • 1
    Welcome to TeX.SX! As far as you've shown us, thinks look ok. But, two questions. Have you cited any references in your \inputed files? Have you run latex -> biber -> latex to compile?
    – gusbrs
    May 5, 2018 at 22:27
  • First question: I did cite references in my inputed files. Second question: No, I did not. I am using sharelatex.com to compile my document. Would that be the problem? Should I download a latex compiling software? I am totally new to latex that I depend entirely on the help document posted on sharelatex.com.
    – K Dang
    May 7, 2018 at 12:38
  • Actually, sharelatex should be taking care of that, so that must be something else then. I'm not really acquainted with sharelatex. But then, other questions. Does your other parts of the document appear normally (I mean the inputed sections)? Do your citation call outs appear correctly? Do you get any error messages when sharelatex builds your document?
    – gusbrs
    May 7, 2018 at 12:53
  • 1
    If you found a solution by yourself, may this question be closed then? In it's current state, it is probably not very useful to others. Regarding your weird character, see if this discussion tex.stackexchange.com/q/430379/105447 can help you.
    – gusbrs
    May 7, 2018 at 14:22
  • 4
    I'm voting to close this question as off-topic because it was solved in the comments.
    – gusbrs
    May 7, 2018 at 18:23

0

Browse other questions tagged or ask your own question.