2

My problem is similar to TeXmaker citation

But as the above thread is closed so I am putting it as new question.

In my TeXmaker, the auto-completion works fine except for the citations which are to be pulled from mybibfile.bib. I have \bibliography{mybibfile} in my .tex file and I have no issue in generating list of references. My problem is, in TeXmaker, the auto completion for citations is not working. My bib file is in ~\texmf\bibtex\bib directory and so I do not need to provide the path for the bib file in the .tex document.

Version: Texmaker 4.0.1 - 10 Year Anniversary Edition (compiled with Qt 4.8.1)

OS: Ubuntu 12.04.

I am compiling the .tex document using pdflatex and bibtex.

EDIT: when I put the .bib file in the working folder, everything works perfectly. How can I work with autocompletion for citation keeping the .bib file in ~\texmf\bibtex\bib folder ?

  • Normally TeXmaker detects .bib files inside main.tex folder for auto completion of bib keys, i doubt TeXmaker can detect files in other directories because it does not have Kpathsea type path searching. – texenthusiast Jun 11 '13 at 5:06
  • @texenthusiast That's as close as we're likely to get to an answer: could you make it one? – Joseph Wright Aug 18 '13 at 7:18
3

Normally TeXmaker detects .bib files inside main.tex folder for auto completion of bib keys, I doubt TeXmaker can detect files in other directories because it does not have Kpathsea type path searching.

Hence include .bib files in the same folder as main.tex for better auto-completion of bib keys in TeXmaker.

3

I had a similar problem. If I added a source to my .bib file, it would not show up in auto-complete.

I fixed the problem by closing the .bib file and then reopening it in TeXmaker. After doing that, the newly added sources showed up in auto-complete.

  • 2
    Sometimes I need to press Edit -> Refresh Bibliography to refresh the bibliography list. – np8 Aug 21 '16 at 8:41
0

Yes, i have sometimes issues of the same kind, with a biblio.bib file, loaded by a biblio.tex file, placed in subfolder of the working directory.

It seems that the different concerned files have to be all opened in TexMaker (and optionnally reloaded), i.e. the main.tex, biblio.tex and biblio.bib.

It also seems that a little delay is required to load the different bibliography keys, depending on their amount...

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – Paul Gessler Mar 25 '15 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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