-
Notifications
You must be signed in to change notification settings - Fork 407
Viewing with okular using temp files broke #2288
Copy link
Copy link
Closed
Description
Description
I am using vimtex in nvim-qt with okular as a viewer and latexmk backend. A minimal init.vim to reproduce the issue is as follows.
call plug#begin('~/.cache/nvim/plugged')
Plug 'lervag/vimtex'
call plug#end()
let g:vimtex_view_general_viewer = 'okular'
let g:vimtex_view_use_temp_files = 1Expected behavior
Issuing :VimtexCompile, e.g., on a file named test.tex, produces test.pdf. Upon successful compilation, test.pdf is copied over to test_vimtex.pdf, which is the file opened by issuing :VimtexView. This used to work until recently (c72d34b ?)
Actual behavior
test.pdf is created but it is not copied to test_vimtex.pdf. Issuing :VimtexView results in a Viewer cannot read PDF file! error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels