Bug#408416: \cite completion very brittle

martin f krafft madduck at debian.org
Thu Jan 25 23:07:10 UTC 2007

Package: vim-latexsuite
Version: 20060325-2
Severity: normal

I have a folder ~/uni containing biblio.bib, my central BibTeX file.

I also have a folder ~/uni/paper1 and ~/uni/paper1/content
. ~/uni/paper1/main.tex is the .latexmain file and contains
\bibliography{../biblio} to reference my global .bib file.

If I edit ~/uni/paper1/content/results.tex and try ti use \cite{}
completion, nothing happens.

To get cite completion to work, I had to:

  - symlink ../biblio.tex to ~/uni/paper1
  - use \bibliography{biblio} (instead of ../biblio)
  - add let g:Tex_BIBINPUTS = '/home/madduck/ul'
    to ~/.vim/ftplugin/tex/texrc (using ~ instead of /home/madduck
    does *not* work)

I don't see why I have to do all this. If latexsuite's cite
completion cannot handle ../biblio, then the symlink should fix
that. I don't know why I also need to set g:Tex_BIBINPUTS as well.

-- Package-specific info:
Vim related packages installed on this system:
 - vim-latexsuite
 - vim-runtime
 - vim-vimoutliner

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages vim-latexsuite depends on:
ii  python                       2.4.4-2     An interactive high-level object-o
ii  vim                          1:7.0-164+3 Vi IMproved - enhanced vi editor
ii  vim-common                   1:7.0-164+3 Vi IMproved - Common files

Versions of packages vim-latexsuite recommends:
ii  tetex-bin                     3.0-29     The teTeX programs

-- no debconf information

 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20070125/f01ba4eb/attachment-0001.pgp 

More information about the pkg-vim-maintainers mailing list