-
Notifications
You must be signed in to change notification settings - Fork 407
Let g:vimtex_view_method = 'zathura' , but cannot open zathura after compilation. #2630
Copy link
Copy link
Closed
Labels
Description
Description
I set g:vimtex_view_method = 'zathura' in ftplugin/tex/tex.vim. In neovim I execute :echo g:vimtex_view_method, it outputs "zathura". But when I query the VimtexInfo, the value of viewer is still "General". The neovim cannot open the zathura when finishing compilation as well as use shortcut \lv.
But I can use zathura main.pdf to open the pdf file. ldd $(which zathura) | grep libsynctex also shows the linked .so file.
Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
No
VimtexInfo
System info:
OS: Ubuntu 20.04.4 LTS
Vim version: NVIM v0.8.1
Has clientserver: true
Servername: /run/user/1000/nvim.1314874.0
VimTeX project: main
base: main.tex
root: /home/lionky/Documents/
tex: /home/lionky/Documents/main.tex
main parser: current file verified
document class: article
packages: amsbsy amsfonts amsgen amsmath amsopn amssymb amstext amsthm atbegshi auxhook bm booktabs calc color empheq epstopdf-base etexcmds etoolbox everyshi expl3 geometry graphics graphicx iftex ifvtex infwarerr keyval kvdefinekeys kvoptions kvsetkeys lipsum ltxcmds mathtools mdframed mhsetup needspace pdftexcmds pgf pgfcomp-version-0-65 pgfcomp-version-1-18 pgfcore pgffor pgfkeys pgfmath pgfplots pgfrcs pgfsys psfrag tikz trig xcolor xparse zref-abspage zref-base
compiler: latexmk
engine: -pdf
options:
-verbose
-file-line-error
-synctex=1
-interaction=nonstopmode
callback: 1
continuous: 1
executable: latexmk
viewer: General
job:
pid: -
cmd: xdg-open '/home/lionky/Documents/main.pdf'
qf method: LaTeX logfileReactions are currently unavailable

