Hi Alessandro,

When I compile the latex file myself from a terminal, it works fine.

And, I kind of got the idea how to make it work, as I put the following setting 
in my .vimrc file, the compile works fine.
===============
let g:Tex_FormatDependency_pdf = 'dvi,ps,pdf'

let g:Tex_CompileRule_dvi = 'latex --interaction=nonstopmode $*'
let g:Tex_CompileRule_ps = 'dvips -Ppdf -o $*.ps $*.dvi'
let g:Tex_CompileRule_pdf = 'ps2pdf $*.ps'
===============

Is that means I donot need to modify ~.vim/ftplugin/latex-suite/texrc, and just 
overwrite it by putting setting in .vimrc file?

Thanks,
Liang


On 17 Jul 2012, at 07:41, Alessandro Pezzoni wrote:

> On Tue, Jul 17, 2012 at 12:34:55AM +0100, Liang Guo (Gmail) wrote:
>> I'm new to vim-latex, I had a silly question. I'm using latex on my
>> mac with mvim. When I compiled it using '\ll', I assume it uses
>> pdflatex rather than latex as all my *.eps have been converted into
>> *.pdf.
>> 
>> I tried to change the compile rule to using latex. Here is what I did
>> in ~.vim/ftplugin/latex-suite/texrc :
>> 
>> However, it turned out that there is nothing happened, every time as I
>> used '\ll' to compile, at the bottom of the mvim shown "Ran latex 1
>> time(s)". And there was nothing occurred except a blank .pdf file.
> 
> Hello,
> could you please tell me what happens when you try to compile the latex
> file yourself (from a terminal)?
> Moreover, could you please post your latex-suite related vim settings?
> 
> Alessandro
> 
> 
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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