I am writing my dissertation in LaTeX and as it's a long document I have split up the chapters into separate .tex files and am compiling them from a master .tex file:

%front matter
%main matter part 1
%main matter part 2
%back matter

In the addlit.tex file I am calling the bibliography:

\renewcommand{\bibname}{Additional Literature}
    \addcontentsline{toc}{chapter}{Additional Literature}

And in various other chapters e.g. itb.tex I am citing things from that bibliography:

"...necessitating the use of the theory of general relativity \cite{Roseveare}."

My problem is that when I compile the master .tex file, the citation appears as [?] and the section with the heading "Additional Literature" is blank. How can I solve this problem so that the citations are correct and the bibliography appears?

I am using TexStudio and Bibtex, if that makes any difference.

Edit: my .sty file is

\graphicspath{ {images/} }

My .bib file is like this:

author= {Roseveare, N. T.},
title= {Mercury's Perihelion from Le Verrier to Einstein},
publisher= {Oxford University Press},


and my .tex files are like this:

Some text here. Some text here. Some more text here \cite{Roseveare}.
  • 2
    Welcome to TeX.SE. To fully resolve all cross-references -- and in LaTeX, citation call-outs are set up as cross-references to entries in the bibliography -- it is necessary to run LaTeX, then BibTeX, and then re-run LaTeX twice more; a single re-run of LaTeX is not enough. Did you do this four-step process? Does the file \jobname.blg contain warning and/or error messages?
    – Mico
    Dec 5, 2015 at 17:59
  • 1
    I think Mico's hint is the correct pointer, but if that should not solve the problem, how should we track this issue? Neither mystyle.sty isn't available nor the .bib nor the various .tex files.
    – user31729
    Dec 5, 2015 at 18:00
  • I am not sure as I am very new to LaTex but I think when I compile through TexStudio it runs LaTex then BibTex etc. If not, could you explain how to run Bibtex separately? I get no warnings or error messages. For brevity, I excluded my .sty .bib and .tex files, but I will edit the question to add these.
    – astronat
    Dec 5, 2015 at 18:04
  • 1
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Dec 5, 2015 at 18:06
  • @NatalieHogg: TeXStudio is a Mac - Application, isn't it? Either it's not configured correctly or you have to switch to console compilation, which should be possible for MAC anyway.
    – user31729
    Dec 5, 2015 at 18:15

1 Answer 1


Don't mention the filename extension .bib in the argument of \bibliography. The instruction should be


rather than \bibliography{dissbib.bib}.

  • 2
    A solution without lualatex, I am shocked (+1) ;-)
    – user31729
    Dec 5, 2015 at 18:46
  • @ChristianHupfer - Hey, it's been almost an entire month since I posted a LuaLaTeX-based answer. (I toyed -- only very briefly! -- with a LuaLaTeX preprocessor-type approach, scanning all input lines and removing any .bib substrings in the argument of \bibliography. The solution I ended up posting seems a tad simpler, doesn't it?)
    – Mico
    Dec 5, 2015 at 19:10
  • 1
    Mico, I love to annoy you about Lua :-P
    – user31729
    Dec 5, 2015 at 19:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .