gauteh / vim-evince-synctex

Forward and backward search (synctex) between gvim and Evince
8 stars 15 forks source link

vim-evince-syntex in vimtex #3

Open rudrab opened 3 years ago

rudrab commented 3 years ago

Hi, I have recently asked vim-forward/backward search with evince in vimtex https://github.com/lervag/vimtex/issues/2064

I have tried

let g:vimtex_mappings_leader='`'
let g:vimtex_compiler_latexmk = {
      \ 'continuous' : 0,
      \ 'options' : [
      \   '-verbose',
      \   '-pv',
      \   '-file-line-error',
      \   '-synctex=1',
      \   '-shell-escape',
      \   '-interaction=nonstopmode',
      \ ],
      \}
let g:vimtex_compiler_latexmk_engines = {
      \ '_' : '-lualatex',
      \}

But that is not working.

The solution was proposed in https://github.com/lervag/vimtex/issues/2064#issuecomment-890791168 and https://github.com/lervag/vimtex/issues/2064#issuecomment-890943332 shows the possibility of achiving this if vim-evince-synctex create a PR in vimtex, as suggested in https://github.com/lervag/vimtex/issues/2064#issuecomment-891144225

This is beyond my capability, but may I request someone for the same/\?

lervag commented 3 years ago

Just a minor comment: The configuration you post is not really relevant to the viewer settings in VimTeX.