Re: [Vim-latex-devel] question about opening xdvi in vim-latex

2009-04-25 Thread John Babber
Dear Ted: I appreciate you very much for your kindly help. However it is regretful that it did not work for me. But I just found an alternative way for this issue. I state it out so that maybe some other help can benefit from it. Put the following line :map \ld :execute '!LC_ALL=C xdvi -s 4 -sou

Re: [Vim-latex-devel] question about opening xdvi in vim-latex

2009-04-25 Thread Ted Pavlic
> yes I tried, it really works, however... by such configuration I > cannot get the forward search If I recall correctly, forward search passes the line number to xdvi via parameters. The line I suggested... >> let g:Tex_ViewRule_dvi = 'bash -c "LC_ALL=C xdvi \$1" xdvi ' Only deals with one

Re: [Vim-latex-devel] question about opening xdvi in vim-latex

2009-04-25 Thread John Babber
Dear Ted: yes I tried, it really works, however... by such configuration I cannot get the forward search :( Thank you very much for spending time on my question. Peng On Sun, Apr 26, 2009 at 12:46 AM, Ted Pavlic wrote: >> let g:Tex_ViewRule_dvi = 'LC_ALL=C xdvi ' > > Have you tried somethi

Re: [Vim-latex-devel] question about opening xdvi in vim-latex

2009-04-25 Thread Ted Pavlic
> let g:Tex_ViewRule_dvi = 'LC_ALL=C xdvi ' Have you tried something like... bash -c 'LC_ALL=C xdvi' ? That is, let g:Tex_ViewRule_dvi = 'bash -c "LC_ALL=C xdvi \$1" xdvi ' You might have to play around with the quoting, but in principle I think it would work... --Ted -- Ted Pavlic