TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question is the continuation of my previous question in here. I have updated everything according to the instructions given there in the answer of @doctorate.

The problem that I have is the autocpmplete list in TeXStudio 2.5.2 for bibliography entries. Unfortunately, updating did not fix the autocomplete issue. I am using classicthesis package and my Bibliography.tex is located in the folder named FrontBackMatter. I came up with a solution for autocomplete by having:


in the file Bibliography.tex. This will allow me to see the entries of the bibliography in autocomplete list (very cool). However, the problem is that the compiler does not succeed in putting the citations in the document itself by using for example \citep{}. When I change it back to:


in the file Bibliography.tex, the citation works perfectly in the document but autocomplete fails to show me the entries.

I should say that my problem is not \citep{keylist}. \citep{keylist} is shown in the autocomplete because natbin.cwl is already selected. Actually, I would like to see \citep{bibitem1}, \citep{bibitem2}, ..., \citep{bibitemN} in the autocomplete list so that I can easily select the bibliography entries by scrolling through them. Unfortunately, the autocomplete list in my TeXStudio only shows the commands.

Could someone help me find the solution to issue?

share|improve this question
I've always thought that the subdivision of the input files proposed by André Miede is faulty. Just put Bibliography.bib in the same directory as the main file. The .bib file doesn't belong to the front or back matter. It's something different that isn't even related to the document you're writing, as it's a database reusable for as many document as you want. – egreg May 26 '13 at 10:59
@egreg: Bibliography.bib is in the same folder as main.tex. But Bibliography.tex is in another folder named FrontBackMatter. To examine your commend, I put them in the same folder as main.tex but it did not solve the problem of autocompleting the bibliography entries. – Ahmad May 26 '13 at 11:10
Why do you even have a Bibliography.tex? Is there much more in it than the bibliography command? – Juri Robl May 26 '13 at 11:20
@Juri Robl: Thanks. That solved my problem. I put the content of Bibloiography.tex inside main.tex and autocomplete now shows all the entries in Bibliography.bib. – Ahmad May 26 '13 at 11:37
@Ahm In my opinion there's no point in having a two line Bibliography.tex file. Move the code in the main file. – egreg May 26 '13 at 12:28
up vote 2 down vote accepted

For me it isn't an issue related to LaTeX. It's an editor issue and so you should contact the author of TeXStudio. This can be done at sourceforge:


share|improve this answer
thanks. I have posted the issue, which can be found here: sourceforge.net/p/texstudio/discussion/907839/thread/9aaff015/… – Ahmad May 26 '13 at 21:15
@A2009 it's a shame no one ever replied. Did you find a solution? If not, I'll report it as a bug. I already have my bibliography commands in my main.tex, but I have the problem you described above. – Laua Aug 17 '15 at 16:07
@Laua: I did not find any solution and I stopped using this feature. – Ahmad Aug 18 '15 at 0:09
@A2009 I solved the issue for myself and posted a reply at sourceforge. Hope it works for you too! sourceforge.net/p/texstudio/discussion/907839/thread/9aaff015 – Laua Aug 19 '15 at 15:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.