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?
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.Bibliography.bib
is in the same folder asmain.tex
. ButBibliography.tex
is in another folder namedFrontBackMatter
. To examine your commend, I put them in the same folder asmain.tex
but it did not solve the problem of autocompleting the bibliography entries.Bibliography.tex
? Is there much more in it than the bibliography command?Bibloiography.tex
insidemain.tex
and autocomplete now shows all the entries inBibliography.bib
.Bibliography.tex
file. Move the code in the main file.