Bug 207590 - Why citation auto-completion need a project?
Summary: Why citation auto-completion need a project?
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.0.83
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
: 234897 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-16 16:12 UTC by Ronaldo Reis Júnior
Modified: 2014-04-04 23:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronaldo Reis Júnior 2009-09-16 16:12:25 UTC
Version:           2.0.83 (using 4.3.1 (KDE 4.3.1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.30-1-686

Hi,

I dont understand why I need a project to make the \cite{} to use auto-completion citation key from my bibtex database. It make some problems that is recursive in kile. Sometimes it is fixed but in new versions it go back. 

I think that is more simple kile search a document for a \bibliography command and get the string inside bibliography to search the bibliography for citation.

If I have:

\bibliography{/home/ronaldo/mybib.bib} 

kile use mybib.bib to find citation key. If I have:

\bibliography{mybib.bib} 

kile use mybib.bib that is in the same directory that my tex to find the citation key.

If I use a environment BIBINPUTS, kile find the mybib.bib inside the BIBINPUTS directory, unless that I put ./mybib.bib, in this case kile dont look in BIBINPUTS.

In this way I dont need to create a project file.

Thanks
Ronaldo
Comment 1 Andreas Cord-Landwehr 2012-04-16 16:34:41 UTC
*** Bug 234897 has been marked as a duplicate of this bug. ***
Comment 2 Tudor Protopopescu 2014-04-04 23:27:48 UTC
I would find this feature (making citation auto-completion independent of projects) very useful. Most of the things I write use only one source file, and so  making a project is rather redundant in terms of workflow, except for the citation completion. 

If it were possible to get citations from the content of either \bibliography{} or \addbibresource{} it would also solve the problem that citation autocompletion does not fully work with biblatex, see bug 307437 https://bugs.kde.org/show_bug.cgi?id=307437