I have a problem with compiling a subfile with bibliography entries in it. My setup is a follows:

My directory structure is:


Now, my main.tex has the following preamble:


Now, in my subfile.tex i have the following structure:

a cited book \cite{Aigner2014}.

When I compile my main file it works all fine and displays the references correctly, but when I try to compile the subfile, i get the following error message from Biber:

"INFO - This is Biber 1.9 INFO - Logfile is 'test.blg' INFO - Reading 'test.bcf' INFO - Found 1 citekey in bib section 0 INFO - Processing section 0 INFO - Looking for bibtex format file 'bibliography.bib' for section 0 ERROR - Cannot find 'bibliography.bib'! INFO - ERRORS: 1"

I can't seem to figure out why this is not working, since everything is apparently as it should be. I tried the solution provided here, but it still doesn't work. I don't know if it is just a problem with outdated versions of biblatex and biber or whether it is something else. I am really confused, since none of the solutions I have looked up here seem to work for me. I am working on windows 7, with my editor being Texmaker 4.5 and running Texlive 2014.

  • Is this now a duplicate of your other question? Or is there something more to it? (I notice that you deleted your earlier self-answer.)
    – moewe
    Commented May 19, 2016 at 6:04
  • That is true. I can undelete it if someone may come across this entry, but I don't think it will contribute that much.
    – Bartuc
    Commented May 21, 2016 at 11:59
  • Mhhh, currently we have a question here that is solved, but not marked as such, that is a bit unsatisfactory. So undeleting your answer would definitely improve the situation.
    – moewe
    Commented May 24, 2016 at 5:23
  • @moewe and @Bartuc: I'm a bit confused -- is this question solved or not? I am considering whether to to try to use subfiles with a similar setup (memoir, biber, etc.), and this question has made me hesitate since it would be pointless to try to restructure my project this way if these packages are incompatible. The self-answer currently marked as accepted has an "EDIT" that says that it only works to compile the mainfile but not the individual subfiles, but the latter is of course the whole point of using subfiles. Commented Sep 10, 2022 at 16:22

1 Answer 1


I solved it myself.

I totally forgot that I should specify my main.tex in my editor as the master-file, since then it compiles quite easily.

EDIT: It seems that this solution only makes it so that the mainfile can compile and include everything, because when I compile the smaller files, they will compile, but they can't display only their own content - they just show the mainfile's output and NOT their own. Any suggestion on what to try next?

You must log in to answer this question.

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