0

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:

\bibliography{../Bibliography}

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:

\bibliography{Bibliography}

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?

5
  • 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
    Commented May 26, 2013 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. Commented May 26, 2013 at 11:10
  • 1
    Why do you even have a Bibliography.tex? Is there much more in it than the bibliography command?
    – Juri Robl
    Commented May 26, 2013 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. Commented May 26, 2013 at 11:37
  • 1
    @Ahm In my opinion there's no point in having a two line Bibliography.tex file. Move the code in the main file.
    – egreg
    Commented May 26, 2013 at 12:28

1 Answer 1

2

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:

http://sourceforge.net/projects/texstudio/

4

You must log in to answer this question.

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