Commit 1d67949b authored by Sebastian Ramacher's avatar Sebastian Ramacher

Improve synctex documentation

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <>
parent 98cbbb6d
......@@ -8,7 +8,25 @@ pass the arguments to *synctex view*'s *-i* option to zathura via
*--syntex-forward* and zathura will pass the information to the correct
For gvim forward and backwards synchronization support can be set up as follows:
First add the following to the vim configuration:
function! Synctex()
execute "silent !zathura --synctex-forward " . line('.') . ":" . col('.') . ":" . bufname('%') . " " . g:syncpdf
map <C-enter> :call Synctex()<cr>
Then launch *zathura* with
zathura -x "gvim --servername vim -c \"let g:syncpdf='$1'\" --remote +%{line} %{input}" $file
Some editors support zathura as viewer out of the box:
* LaTeXTools for SublimeText
* LaTeX for Atom (
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment