Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

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. –  Ahm May 26 '13 at 11:10
1  
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. –  Ahm May 26 '13 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 May 26 '13 at 12:28
add comment

1 Answer

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:

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

share|improve this answer
    
thanks. I have posted the issue, which can be found here: sourceforge.net/p/texstudio/discussion/907839/thread/9aaff015/… –  Ahm May 26 '13 at 21:15
add comment

Your Answer

 
discard

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.