-
Notifications
You must be signed in to change notification settings - Fork 391
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
:VimtexInfo fails on first attempt to run #2671
Comments
Ok, but it works on every subsequent attempt?
Can you be even more explicit about the steps? E.g., do you do this?
After explaining your steps above; can you explain if there is any different after you do |
My first impression is that this is due to lazy loading.
Let's solve the first problem first. It may be related.
Is this the only configuration? I suspect you are not doing
Don't use lazy.nvim's lazy-loading mechanism for VimTeX. It is not relevant if that is the problem here or not: you just should not force lazy loading of VimTeX, because it breaks things. VimTeX is lazy by design anyways. You probably read my last comment to @henriqpsantos, where I ask for more explicit steps. It would be much easier to help if I get more information, such as a proper minimal (or evne full) configuration and the exact steps to reproduce. |
@lervag Thanks for your feedback ! The problem seems to be Windows' related because I have tested the same config in WSL2 and If I can afford it, I would be interested to know your choice for the PDF viewer (if you accept to answer) and why it could be a good choice. |
Ok; I've inspected the error message you get: It has to do with the encoding, I think. Let's test some more; could you
I agree, but it means something is wrong already at the start, and I always like to fix the first issues first. This part should work, and if it doesn't we want to figure out what's wrong. I notice you are using Windows with French as the UI language. I believe the problem is related to language and encodings - it seems you are also not using UTF-8 encoding. I'm not really sure how to configure this type of thing in Windows. Could you check regional settings and see if there may be some relevant config? Also, could you try to refresh the cache with
I would be surprised if SumatraPDF did not work. Okular may be more experimental, but it should also work.
No, please! Don't update old issues, create a new one instead! I really don't like spamming threads with digressions. E.g., this particular thread is about
I use Sioyek today. I like it, but I'm not sure if I like it more than Zathura. It has many more interesting features, but I don't know if I need them yet. Zathura is simple, fast and has nice keybindings that I like. Let's continue the discussion on the original issue, but please open a new issue if you want to discuss the PDF viewers. :) |
Thanks for checking these things. It seems enabling the beta feature solves the issue? Perhaps we could add a section to the faq about this in e.g. |
That sounds good to me. For the faq, should I make a PR or do you take care of it? |
I'd be very happy to consider a PR. :) |
I assume that this means we can close the issue? |
Description
With the specified minimal config,
:VimtexInfo
fails on the first attempt to run it. Full error is in #2664.Steps to reproduce
Expected behavior
VimTeX information to be displayed.
Actual behavior
Do you use a latexmkrc file?
No
VimtexInfo
The text was updated successfully, but these errors were encountered: