-
Notifications
You must be signed in to change notification settings - Fork 386
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
[windows support] Make bib completion work on windows #20
Comments
I think the last commit should fix this issue. Could you test? |
Using the following MWE:
I get the error:
|
I manage to partially fix this. It won't work with the MWE that uses
I hope you can help me fix the general case (does it work on Unix)? |
The first MWE won't work because the bibtex_search function does not know where The mechanism behind the completion is really very simple: We create a temporary aux file that includes every citation from every bib file, then we use bibtex with a custom style file to generate a bbl file that we finally parse to get the candidates. I now notice that the parsing of the bib files with I just tested the example after using relative paths instead of full paths, and that seems to make things work. I'll make the change, since it seems to work. If someting breaks for complicated projects, then I'll investigate further. |
Fixed by 55a35fc. |
Thanks! This in fact fixes the example but there is a scenario that still has issues. Maybe it falls under what you've called "complicated projects" but I think it is pretty simple and quite common. Let
where,
and
If you write Additional question regarding the mechanism to build de bbl file: can |
Ah, interesting. Could you try to set |
Regarding your second question: Yes, that would be possible. However, it seems to complicate things, so I'm curious if it is worth the effort. Do you have any performance issues or similar? |
Setting |
Regarding the second question, I have no performance issues at all. If it complicates things then just forget about my question. I only asked it because I noticed that you recently improved the TOC and thought that maybe if it wasn't too much trouble you were willing to also improve bibcompletion. Thank you for the great help! |
No problem! |
This issue was first mentioned by @petobens here. He suggest that I make changes similar to this change in LaTeX-Box at this line.
The text was updated successfully, but these errors were encountered: