[Vim-latex-devel] Forward search

2015-02-11 Thread Filip Kadlec
Dear all, after a distribution upgrade, I am experiencing a strange problem with the forward search. I use pdflatex and pdf target format for both compiling and viewing. When I input \lv , Okular with the pdf file is activated. (By the way, Okular 0.21 now supports document tabbing, and each

Re: [Vim-latex-devel] Forward search in windows with vim and sumatrapdf?

2013-01-28 Thread Jorge Rodrigues
If you are using summatra it now has options * * *-reuse-instance* -forward-search that should make it really easy to do forward and inverse search with it. Best Regards, Jorge On Mon, Jan 28, 2013 at 12:24 PM, Winfried Moser wrote: > Julien Cornebise gmail.com> writes: > > > > > Hi Jorge > >

Re: [Vim-latex-devel] Forward search in windows with vim and sumatrapdf?

2013-01-28 Thread Winfried Moser
Julien Cornebise gmail.com> writes: > > Hi Jorge > > As the co-author of the patch a while ago, I unfortunately can tell > you that, if there were a way in vim-latex already, Manuel and I > wouldn't have bothered writing it > > The patch is very short, only adding an extra case-check to allow

[Vim-latex-devel] Forward search with sumatrapdf

2012-10-26 Thread Jorge Rodrigues
Hi all, I previously thought it was necessary to patch vim-latex in order to have forward search when using sumatrapdf in windows, but after checking the options of sumatrapdf I realize that it is much easier. I just defined a function: function! MyForwardSearch() let target = 'main.pdf'

Re: [Vim-latex-devel] Forward search with okular

2012-05-29 Thread Filip Kadlec
Hello Peter, I think the problem is resolved now. The clue was in the line: let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*' instead of which I had let g:Tex_CompileRule_pdf = "/usr/local/bin/latexmk -e '$pdflatex=q/pdflatex -interaction=nonstopmode -file-line-er

Re: [Vim-latex-devel] Forward search in windows with vim and sumatrapdf?

2012-05-28 Thread Julien Cornebise
Hi Jorge As the co-author of the patch a while ago, I unfortunately can tell you that, if there were a way in vim-latex already, Manuel and I wouldn't have bothered writing it ;-) The patch is very short, only adding an extra case-check to allow for sumatrapdf along YAP and the other viewers Howe

[Vim-latex-devel] Forward search in windows with vim and sumatrapdf?

2012-05-26 Thread jorge rodrigues
Hi I saw some recent messages about setting up forward search with okular for linux. I am using vim-latex in windows using sumatra pdf as the viewer. I can do inverse search (that is I click the pdf and it opens vim in the location), but I don't know how to setup forward search. Using google I fo

Re: [Vim-latex-devel] Forward search with okular

2012-05-20 Thread Peter Vasil
Hi Filip, If you have something like this i your vimrc set grepprg=grep\ -nH\ $* let g:tex_flavor='latex' let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_ViewRule_pdf = 'okular' let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*' and have a ...synctex.gz (this is the f

Re: [Vim-latex-devel] Forward search with okular

2012-05-17 Thread Filip Kadlec
Dear Peter, thanks so much for your description. I have updated vim-latex to the latest version; installed and activated pathogen, un-installed the distribution system-wide vim-latex, and then installed the latest vim-latex: ~>cd ~/.vim/bundle ~/.vim/bundle> git clone git://vim-latex.git.

Re: [Vim-latex-devel] Forward search with okular

2012-05-17 Thread Peter Vasil
On Thu, May 17, 2012 at 1:00 PM, Filip Kadlec wrote: > Peter, >  thanks for your reply. > > Having sourced the lines below into vim, there is some progress. Now, when I > type \ls , three new okular instances will open; one contains the compiled > file while the other two are empty. Each provides

Re: [Vim-latex-devel] Forward search with okular

2012-05-17 Thread Filip Kadlec
Peter, thanks for your reply. Having sourced the lines below into vim, there is some progress. Now, when I type \ls , three new okular instances will open; one contains the compiled file while the other two are empty. Each provides an error box, like this: Could not open /home/kadlecf/Docum

Re: [Vim-latex-devel] Forward search with okular

2012-05-17 Thread Peter Vasil
Hi, I use vim-latex with okular and forward search works like a charm. I have this in my .vimrc set grepprg=grep\ -nH\ $* let g:tex_flavor='latex' let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_ViewRule_pdf = 'okular' let g:Tex_CompileRule_pdf = "/usr/local/bin/latexmk -e '$pdflatex=q/pdflatex

[Vim-latex-devel] Forward search with okular

2012-05-17 Thread Filip Kadlec
Hello, I would appreciate if someone could help me to resolve this problem. I have installed vim-latex from the OpenSuSE distribution. Most of its features work correctly. \ll will start latex translation, and \lv launches the viewer. However, \ls , instead of launching the forward search, do

Re: [Vim-latex-devel] forward search pdf with okular patch

2012-01-27 Thread Ted Pavlic
Peter -- > thanks for the changes and yes git-send-mail is better but I have't > set up the config for that. Will do next time. Great. The nice thing about having the git formatted patches is that someone can check them in directly so you get credit right in the changelog as the author of

Re: [Vim-latex-devel] forward search pdf with okular patch

2012-01-27 Thread Peter Vasil
On Fri, Jan 27, 2012 at 11:57 AM, Peter Vasil wrote: > Hi Ted, > > thanks for the changes and yes git-send-mail is better but I have't > set up the config for that. Will do next time. > > I see that you changed all linux viewers to have the unique option. I > don't know if they have the option. I

Re: [Vim-latex-devel] forward search pdf with okular patch

2012-01-27 Thread Peter Vasil
Hi Ted, thanks for the changes and yes git-send-mail is better but I have't set up the config for that. Will do next time. I see that you changed all linux viewers to have the unique option. I don't know if they have the option. I just know about okular. And yes, if I forward search in okular wi

Re: [Vim-latex-devel] forward search pdf with okular patch

2012-01-26 Thread Ted Pavlic
> Good work. A few comments though. Before that, have you used patchbomb? Sorry -- forgot which project this was. "git send-email" is what I meant, of course... :) --Ted -- Ted Pavlic -- Try before you buy = See

Re: [Vim-latex-devel] forward search pdf with okular patch

2012-01-26 Thread Ted Pavlic
Peter -- Good work. A few comments though. Before that, have you used patchbomb? Sometimes it's nice to be able to scrutinize a patch within an e-mail (as opposed to an attached file). > I use pdf as output and latex-suite only supports dvi on linux. I > changed the hardcoded ".dvi" into

[Vim-latex-devel] forward search pdf with okular patch

2012-01-26 Thread Peter Vasil
Hi, I use pdf as output and latex-suite only supports dvi on linux. I changed the hardcoded ".dvi" into ".s:target:". and it works now with pdf files. Also added --unique option. What do you think? I attached the patch. Peter From 360d6ccb7c026f8f3867c38c219f8d5cc38e647f Mon Sep 17 00:00:00 2001

Re: [Vim-latex-devel] forward search only for dvi?

2008-06-19 Thread Till Maas
On Thu June 19 2008, Simon Friedberger wrote: > Does anybody have customizations or ideas how to adopt the forward > search features for pdflatex + evince/xpdf/kpdf/whatever? You can use pdfsync (a latex package) and okular (from KDE4) afaik. Probably you need to use the current svn version to ma

[Vim-latex-devel] forward search only for dvi?

2008-06-19 Thread Simon Friedberger
Does anybody have customizations or ideas how to adopt the forward search features for pdflatex + evince/xpdf/kpdf/whatever? Greetings Simon - Check out the new SourceForge.net Marketplace. It's the best place to buy

[Vim-latex-devel] Forward search in pdf on Mac OS X

2006-12-25 Thread Michail Vidiassov
Dear All, there is a PDFView program, that supports pdfsync. It is possible to use the feature from vim-latex. On \ls PDFView jumps to the correct page. Backward serach does not work, since vim lacks remote control capability on Mac. Just FUI. May be there are better solutions? I have the follo