Bug 158453 - absolute paths don't trigger BibTeX autocompletion
Summary: absolute paths don't trigger BibTeX autocompletion
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 15:17 UTC by Vitor M. Pereira
Modified: 2023-01-08 20:28 UTC (History)
1 user (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 Vitor M. Pereira 2008-02-26 15:17:19 UTC
Version:           2.0 (using KDE 3.5.8)
Installed from:    Fedora RPMs

When using a project with BibTeX files, and inserting 
\cite{}, one has an autocompletion drop-down list with the 
bibtex keys of your .bib files. This is great.

However this only seems to work if your .bib files are 
passed to \bibliography{} with relative paths (on or down 
the same path as the project file). If I put the full path 
to the .bib file, then the auto-completion list is 
disabled. Likewise, it fails if I pass an external path, 
relative to the project location.

Incidentaly (I'm sure this is related), when the .bib 
file(s) are specified in \bibliography{} with relative 
paths, I see them on my project tree "inside" the master 
document:

  Project Name
  |-other
  |-source.tex
  --|-other
  ----|-bibfile.bib

But the moment I specify the full path (even if it is the 
same), the bibtex file appears inside "other" on the 
project tree:

  Project Name
  |-other
  --|-bibfile.bib
  |-source.tex

I didn't check whether the same happens with \input{}, but 
it seems that kile is not able to treat these files (.bib 
or \input'ed .tex) as dependent when a full path is used, 
although these files are always stored in .kilepr with a 
relative path (i.e.: ../../../something).

Regards.

Vitor.
Comment 1 Thomas Braun 2008-12-16 23:22:55 UTC
See also https://sourceforge.net/forum/message.php?msg_id=5826529
Comment 2 Thomas Braun 2009-08-17 23:14:17 UTC
Hi Vitor,

it works for me here with Kile 2.1 beta1 which is KDE4 only.

Can you verify that?
Comment 3 madsmh 2012-02-05 23:44:27 UTC
It would be nice for kile to regocnize bib-flies located in an external TeXmf tree without having to specify the path (other than filename).