I don't know how much help it is, but everything works for me!
I've never noticed any problems with \ll (make sure "Launch vim
processes in a login shell" is selected in preferences). This should
be all that's necessary - I don't think a modified .app is required to
make this work.
For forward search, I patched compiler.vim with
VIM-LaTeX-osx-inverse-search-compiler.patch from:
http://phaseportrait.blogspot.com/2007/07/vim-latex-modification-forward.html
Then in my .vimrc I have:
let g:Tex_ViewRule_pdf = 'Skim'
and forward searching seems to work fine with Skim (It's not perfect,
the red dot doesn't always end up in exactly the right place but its
normally the right paragraph).
Reverse searching also works fine. I have:
mvim
--remote-silent +":%line;foldo!" "%file"
as my options in skim (I used remote-silent since I don't like tabs).
When I shift-command-click in Skim, the cursor is sent the appropriate
position in macvim (but it doesn't grab focus, I think it used to but
I lost my settings on a Skim upgrade and can't remember what I had
before). Also it can get a bit confused and sometimes opens a new
window on the file if there are lots of macvim windows open, but if
you close it and launch it from Skim (by forward searching) then
backwards/forwards seems to work without any trouble.
Hope this is some help...
Cheers
Robin
Note that this has less to do with Skim as it does with pdfsync.
Pdfsync is meant to mirror the source specials that you get with DVI's.
You can encode much more information with DVI source specials than you
can with pdfsync (it's a fundamental difference between DVI's and
PDF's). So, the positioning isn't going to be "ideal," but it at least
gets you close.
--Ted
--
Ted Pavlic <t...@tedpavlic.com>
This may help:
http://phaseportrait.blogspot.com/search/label/MacVim
Did that fix your inverse searching problems (from Skim) too?
If shift+command+click wasn't bringing you back into MacVim, I can't
think of a reason why the "Launch processes" preference would have fixed
that. Maybe there was a typo in your Skim prefs?
That being said, also note that Vim-LaTeX's build will run bibtex as
needed. In fact, I *believe* that with the patches mentioned in the
links below, it will even rebuild with makeindex/makeglossary/etc.
(though that may just be in my personal copy).
--Ted
--
Ted Pavlic <t...@tedpavlic.com>
http://phaseportrait.blogspot.com/2008/03/vim-latex-vim-70-and-filetype-plugin.html
http://phaseportrait.blogspot.com/2008/03/fixing-vim-latex-compiler-error.html
If your Vim-LaTeX is not activating when you open .tex files, see the
first link. If compiler errors keep opening the WRONG file, see the
second link.
--Ted
Daniele Avitabile wrote:
> Hi everybody,
>
> my configuartion: Mac OS 10.5.2, MacVim snapshot 22, visualising with
> Skim 1.0.3. I've already read all the other topics about this
> matter, especially the contributions from Ted Pavlic. Here is my
> report
>
> Compiling in LaTeX: the shorcut \ll for compilation does not work
> when the .tex file MacVim is dragged/dropped from a MacVim.app
> instance or when it's double-clicked. The same command does work when
> MacVim is launched from the command line mvim. Ted Pavlic proposed an
> alternative mvim.app that, once substituded to MacVim.app works fine.
> Any chance to make mvim.app to substitute MacVim.app in the next
> snapshot? This is where to download mvim.app
> <http://links.tedpavlic.com/zip/>
>
> http://links.tedpavlic.com/zip/
>
> Inverse search: I've followed the instructions given by Ted at
> http://phaseportrait.blogspot.com/2007/12/pdfsync-inverse-searches-in-macvim.html
> In summary:
>
> 1. write a line \usepackage{pdfsync} in the latex file 2. in Skim
> under Preferences>Sync choose Custom Preset, and then set Command to
> mvim and Arguments to --remote-tab-silent +":%line;foldo!" "%file" 3.
> Shift+Command+Click in Skim and it will jump back to the
> corresponding line in the source file.
>
> This doesn't work at all for me. Any ideas why?
>
> Forward search: Ted seems to have a patch for this as well, which I
> haven't tried yet.
>
> As Ted precious informations are scattered in many different places
> (and in my case, I didn't manage to get them to work for inverse
> search), my proposal is to gather as many informations as possible in
> one single place about MacVim, Vim-LaTeX and Skim. I will be happy to
> write a post or whatever else to facilitate LaTeX MacVim Leopard
> users.
>
> Does any of the previous things (Compilation, Forward Search, Inverse
> Search) work for you?
>
> Best.
>
> Daniele
>
>
> >
--
Ted Pavlic <t...@tedpavlic.com>