# How can I cite from bibliography in separate .tex files?

I'm working on a large document, and for that reason I'm using a main.tex file and including several files like chapterX.tex etc. Problem is that only my main.tex file has the bibliography in the preamble, TeXStudio doesn't give me the list of references when I type \cite{

The workaround I've been using is to add

\usepackage{csquotes,lmodern}
\usepackage[backend=bibtex,style=chem-acs,biblabel=dot]{biblatex}


to the chapterX.tex documents while typing so it shows me the list, and then removing these lines again when I compile the main document.

Is here a better way to solve this problem?

• Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Apr 6 '14 at 10:14
• The document is made up out of several different files – Dr. Hoenikker Apr 6 '14 at 10:47