Niels --

>> Or could you at least attach
>> the log file generated by TeX?
> 
> Just tried to compile the file from a clean directory. There is nothing
> generated. There's just in vim the message "Ran latex 1 time(s)".
> Therefore I think that nothing gets really called.

        That's very interesting. I notice that you're using a Mac. Are you
using vim from the Terminal, or are you using something like MacVim? If
I recall correctly, MacVim had a setting (off by default?) that would
run the internal instance of vim through a login shell. That would
ensure your PATH was set correctly. If you didn't have the setting set,
then you wouldn't have access to everything you might expect to have
access to.

        From your Vim, can you try and test your PATH? For example, try
something like:

:!echo $PATH

or, perhaps better, try:

:!latex

In the latter case, LaTeX should start and give you a prompt. You can
hit Cntrl+D to exit from LaTeX if it pops up. If it doesn't pop up, then
Vim cannot find it.

        --Ted


>> Thanks -
> 
> I have to thank that you take the time and think about my problem :)
> 
> Niels
> 
>>> Hi,
>>>
>>> I am trying to get something compiled with latexmk and the
>>> vim-latex-suite. When I invoke latexmk on the file in the command line
>>> it work w/out any problems. When I invoke the compile in vim I just get:
>>> "Runnning bibtex…
>>> Ran latex 1 time(s)"
>>> Even when the bib-file or references changed.
>>>
>>> commands for compilation in my .vimrc:
>>> let g:Tex_MultipleCompileFormats = 'pdf'
>>> let g:Tex_CompileRule_pdf = 'latexmk -pdf -pvc $*'
>>> let g:Tex_DefaultTargetFormat='pdf'
>>>
>>> I also tried "let g:Tex_CompileRule_pdf = 'latexmk $*'"
>>>
>>> My .latexmkrc looks like that:
>>> $pdflatex = "xelatex -synctex=1 -interaction=nonstopmode %O %S";
>>> $bibtex_use = 2;
>>> $print_type = 'pdf';
>>> $pdf_mode = 1;
>>> $pdf_previewer = "open -a /Applications/Skim.app";
>>> $pdf_update_method = 0;
>>> $clean_ext = "paux lox pdfsync out";
>>> $force_mode = 1;
>>>
>>> As written before: invoking latexmk on the file in the command line
>>> "latexmk file.tex" works as it should, only in vim it doesn't.
>>>
>>> Any ideas?
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond.
>>> Discussions
>>> will include endpoint security, mobile security and the latest in
>>> malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> Vim-latex-devel mailing list
>>> Vim-latex-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>>>


-- 
Ted Pavlic <t...@tedpavlic.com>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to