[Vim-latex-devel] TL8 and latexSuite
Brought to you by:
srinathava,
tmaas
From: Mikolaj M. <mi...@wp...> - 2003-03-16 18:16:20
|
Hello, In next 2 month new release of TeXLive is coming. Of course lS will be present. Staszek Wawrykiewicz one of the leaders of this project proposed some changes to texrc to make lS more TL8 compatible: --8<-- ----- Section " Compiler rules {{{ " This is the first thing you should customize. It is set up for most common " values, but if use some other compiler, then you will want to change this. " As CompileFlags value you'd perhaps like to use, e.g., '-src-specials', " but it is known that it can sometimes give different results in the output, " so use it with care. let s:CompileFlags = '' TexLet g:Tex_EscapeChars = '{}\' TexLet g:Tex_CompileRule_dvi = 'latex ' . s:CompileFlags . \ ' -interaction=nonstopmode $*' TexLet g:Tex_CompileRule_ps = 'dvips -Ppdf -o $*.ps $*.dvi' " ways to generate pdf files. there are soo many... " NOTE: pdflatex generates the same output as latex. therefore quickfix is " possible. TexLet g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode $*.tex' ----- Section " Viewer rules {{{ " Viewer rules {{{ " these programs are for viewing other formats. " NOTE: latex-suite will automatically append file.<format> to these functions " when calling them. The viewer therefore cannot accept arguments after " the filename. " Important for Windows users: " you should adapt the absolute path for gsview32 and AcroRd32 calls; " below you can find some standard locations of those programs. " Tex_ViewRule_dvi value can be set to 'yap -1' or 'windvi'. if has('win32') TexLet g:Tex_ViewRule_ps = 'gsview32' TexLet g:Tex_ViewRule_pdf = 'AcroRd32' TexLet g:Tex_ViewRule_dvi = 'yap -1' --8<-- It works, and I have nothing against little forking, but what do you think about including this in main branch? Mikolaj |