-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bib completion not working #133
Comments
Hi! I think the problem is in
First: I am not sure if However, since I dont use windows, I am not able to debug this case myself. Perhaps you could try to fix the mentioned line, and if you find an expression that works on windows, then I can add it and push a fix? |
This indicates that |
I removed the
|
Hmm. Could you try with
If it works, could you also try with
Thanks! |
Unluckily I'm getting the same error as before. I will however test again tomorrow. Thanks for the help and patience. |
That's strange and unfortunate. Let me know if/when you find anything. At least I am pretty sure this is where the error is. |
If I set in my vimrc
And write in complete.vim the problematic lines as:
then there are no errors but I don't get any completion! I just says
|
Interesting. Note that
and see if it produces any error messages. It would also be helpful for me if you could add
just before this line and copy the output here. If all files are in the same root directory, then you could also simply try
Or perhaps:
|
When I try with
I get the output that is seen in the image. On the other hand
gives
|
I think we are getting closer. Could you try to change |
Btw: What version of bibtex are you using? |
To be more specific, I think the error is in the bibtex command, as you see in your screenshot. For some reason, bibtex tries to search Perhaps if you make a file
And then run
And report the output. Oh, hmm... perhaps the problem is the path for the bst file? Could you also try to add |
Replacing
and also set in my vimrc:
So is there a way to avoid searching for |
This really is strange. When I try to reproduce, I also get that the database becomes It seems that the problem can be solved if we remove the extensions, since bibtex obviously does not need the extension. Could you try to change
with
at the end of |
I think I fixed it now, please test. |
Thank you! That works great. I was wondering whether you could also make it work when setting
|
Could you add
just before the execution line, so that I can see what the problem is when |
Can you try now? I added a very quick and dirty fix, and I am not sure if it works... |
The completion eventually works but an error message appears:
And the shellslash option is not restored properly. |
Setting it like this seems to work:
|
Thanks! I updated. Does everything work as it should now? |
Good question. I don't know, but there might be. Perhaps there are entries where upper and lower case means different things? I don't want to change it unless you can give a good reason why I should. |
Ahhh it is used to distinguish between "book" type and "in book" type. Thanks for all the great help and patience! |
No problem, I'm happy to help :) |
I was mostly completing my citations using tag files generated by ctags from the relevant bib file and today I decided to try the omni complete function. However when I tested it with a simple document as
where test.bib is
I got the following error:
Is bib completion suppose to work on MS Windows? I believe kpsewhich works with Miktex. Thanks in advance for the help.
The text was updated successfully, but these errors were encountered: