[Vim-latex-devel] Using option -sourceposition with xdvi
Brought to you by:
srinathava,
tmaas
From: Jens M. <jen...@gm...> - 2010-01-16 11:24:28
|
Hi, I found a little problem when viewing dvi files using \ls. You only run into this problem if your tex file starts with a digit. >From the xdvi manpage (under -sourceposition): "The space before filename is only needed if the filename starts with a digit. When the space is used, the argument needs to be encosed in quotes to prevent the shell from misinterpreting the space as argument separator." That's why I think we should change -sourceposition '.line('.').expand("%").' ' to -sourceposition "'.line('.').' '.expand("%").'" ' in ftplugin/latex-suite/compiler.vim Regards, Jens |