You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Okular (I changed from SumatraPdf which is work) for compilation in Windows with Powershel in Windows Terminal. I use the basic configuration to set Okular, but I encounter two windows after run compilation.
The first window said there is already a unique Okular instance running. This instance won't be the unique one. The second window shows an error Could not open file:D:%5Ckarakter/karakter.pdf/%5C%23src:4D:%5Ckarakter%5Ckarakter.tex. After this, it didn't show the pdf. or back to dashboard of Okular.
I Installed Okular using chocolatey, because only chocolatey put the file location on program files like SumatraPdf which has worked previously. So I could refrence them on env. variable path.
For env. variabel path, I use C:\Program Files\Okular\bin, without bin it won't execute. I think it is usual.
Steps to reproduce
Open file tex. Then run compilation with the config :
The first window said there is already a unique Okular instance running. This instance won't be the unique one. The second window shows an error Could not open file:D:%5Ckarakter/karakter.pdf/%5C%23src:4D:%5Ckarakter%5Ckarakter.tex. After this, it didn't show the pdf. or back to dashboard of Okular.
The settings for Okular will work on Linux. However, I have no idea if it works on Windows - your issue indicates it does not work. I don't mind to have VimTeX support for Windows, but it is only as a result of user contributions. I don't use Windows and I have no way of investigating what may be wrong in this particular case.
Based on your issue report, it seems you are doing things "correctly". My suggestion would be to start Okular with the same options as we are using from VimTeX, but from a Powershell terminal. You can see the actual command VimTeX uses with \li after VimTeX has tried to start the viewer.
Open file tex. Then run compilation with the config : …
The config you provide here is very incomplete. For instance, how is VimTeX even loaded?
Notice that syntax on and filetype plugin indent on is usually not necessary if you are using a plugin manager, so you can probably remove those.
Description
I use Okular (I changed from SumatraPdf which is work) for compilation in Windows with Powershel in Windows Terminal. I use the basic configuration to set Okular, but I encounter two windows after run compilation.
The first window said
there is already a unique Okular instance running. This instance won't be the unique one
. The second window shows an errorCould not open file:D:%5Ckarakter/karakter.pdf/%5C%23src:4D:%5Ckarakter%5Ckarakter.tex
. After this, it didn't show the pdf. or back to dashboard of Okular.I Installed Okular using chocolatey, because only chocolatey put the file location on program files like SumatraPdf which has worked previously. So I could refrence them on env. variable path.
For env. variabel path, I use
C:\Program Files\Okular\bin
, without bin it won't execute. I think it is usual.Steps to reproduce
Open file tex. Then run compilation with the config :
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
No
VimtexInfo
The text was updated successfully, but these errors were encountered: