[Vim-latex-devel] 1 little change for kbibtex users
Brought to you by:
srinathava,
tmaas
From: Simon <sim...@gm...> - 2012-07-19 20:25:40
|
I had the same probleme than here : http://ubuntuforums.org/showthread.php?t=952911 and as I don't wand to edit my .bib each time kbibtex save the file, I change the ftplugin/latex-suite/bibtools.py file in order to allow space before the key of the bib entry : Line 32 : m = re.match(r'\s*@(\w+){((\S+),)?(.*)}\s*', txt,re.MULTILINE | re.DOTALL) I just add a \s* m = re.match(r'\s*@(\w+){\s*((\S+),)?(.*)}\s*', txt, re.MULTILINE | re.DOTALL) Maybe it can be a good idea to add it into the repository, I spend long time to find why I wasn't able to have this beautiful completion working, and it's not so much change to do :) have a nice week! Simon |