Friday, December 27, 2013

latex-suite, okular and servers

I'm trying to use the forward/inverse search functionality of the latex-suite pluging. My pdf viewer of choice is okular. Forward search (vim -> okular using `<leader>ls`) works just fine. However, I cannot seem to get inverse search (okular -> vim using `shift+leftclick`). Here are my current settings:

Okular > Editor Options:
========================
vim --servername VIM --remote +%l %f

.vimrc, latex-suite relevant options:
=====================================
let g:Tex_CompileRule_pdf="pdflatex -synctex=1 -interaction=nonstopmode $*"
let g:Tex_ViewRule_pdf='okular --unique'

When I open a tex file from the terminal, I use the command:
============================================================
vim --servername VIM mytexfile.tex

Does anyone have any ideas why it wouldn't be working? Thanks for the help if you can!

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: