-
Notifications
You must be signed in to change notification settings - Fork 395
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
'\lv' opens new instance of okular #1374
Comments
Is this the same as #1364? If so, it should have been fixed recently. Can you confirm that you are on latest version of vimtex? |
I can not reproduce your problem, sorry. Can you specify a full minimal example, similar to this, and explain the steps required to reproduce? |
Ok, I'll try it soon. I guess gvim has a strange reaction with xelatex. |
Sorry, I'm late! set rtp+=~/.vim
call plug#begin('~/.vim/bundles')
Plug 'lervag/vimtex', {'for': ['tex', 'plaintex', 'bst']}
let g:tex_flavor='latex'
let g:vimtex_view_general_viewer = 'okular'
let g:vimtex_view_general_options = '--unique file:@pdf\#src:@line@tex'
let g:vimtex_view_general_options_latexmk = '--unique'
call plug#end()
\documentclass{article}
\begin{document}
hello
\end{document} No
|
Ok, I still can not reproduce. Can you give me the output of Further, can you specify which system you are on? OS/Distribution, (g)vim version and okular version. Also, latexmk version may be relevant. |
Thank you for helping me tirelessly. Below is the related information.
OS version
|
Thanks. I'm sorry to say that I can't be of much more help. I don't use Windows, and so I can't look into this directly. Okular works as expected on Linux. I was not aware that Okular was also available on Windows. In any case, have you tried to use the SumatraPDF viewer? I know that it should work quite well on Windows. |
Thanks. I have tried SumatraPDF, and it has some little trouble reloading changed file, so I tend to okular. Actually the case in this issue is trivial and I have tried to use vimtex in manjaro. Whatever, so thankful to your help! |
Happy to help, and sorry I could not be of more help. :) |
I also have the same exact problem on native windows (not WSL). My nvim info (installed using pre-built binary for Windows):
and I'm running Okular version 22.12.1 straight from the Windows Microsoft Store (official by KDE). |
I understand that it is annoying, but I sorry to say that I still don't have anything to add to my earlier statements on this matter. |
Fair enough. I will just use SumatraPDF which seems to work fine. Thanks! |
Promblem
I'm using gvim with vimtex and the pdf viewer is okular obtained from chocolatey.
With arbitrary *.tex files the first call of
:VimtexCompile
causes okular to be lauched once with a popup saying "There is already a unique Okular instance running. This instance won't be the unique one." Enter "ok" and there is actually one instance. But when I use\lv
to perform a forward search, the same popup occur. After "ok" is pushed, a new instance is created.Viewer set in .vimrc
The text was updated successfully, but these errors were encountered: