[Vim-latex-cvs] vimfiles/ftplugin/latex-suite texrc,1.23,1.24
Brought to you by:
srinathava,
tmaas
From: <mi...@us...> - 2003-04-04 23:25:14
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv29639 Modified Files: texrc Log Message: new variables for latex completion description in file and latex-suite.txt Index: texrc =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texrc,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** texrc 3 Apr 2003 14:29:17 -0000 1.23 --- texrc 4 Apr 2003 23:25:11 -0000 1.24 *************** *** 76,93 **** " ------------------------------------------------------------------------------ " Compiler rules {{{ - " This section specifies the rules for compiling tex into other formats. - " They have been set by defaults to use the most common programs. - " " 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. ! if has('win32') ! let s:CompileFlags = '--src-specials' ! TexLet g:Tex_EscapeChars = '' ! else ! let s:CompileFlags = '' ! TexLet g:Tex_EscapeChars = '{}\' ! endif TexLet g:Tex_CompileRule_dvi = 'latex ' . s:CompileFlags . ! \ ' \nonstopmode \input{$*}' TexLet g:Tex_CompileRule_ps = 'dvips -Ppdf -o $*.ps $*.dvi' --- 76,88 ---- " ------------------------------------------------------------------------------ " 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' *************** *** 96,100 **** " NOTE: pdflatex generates the same output as latex. therefore quickfix is " possible. ! TexLet g:Tex_CompileRule_pdf = 'pdflatex \nonstopmode \input {$*.tex}' " TexLet g:Tex_CompileRule_pdf = 'ps2pdf $*.ps' " TexLet g:Tex_CompileRule_pdf = 'dvipdfm $*.dvi' --- 91,96 ---- " NOTE: pdflatex generates the same output as latex. therefore quickfix is " possible. ! TexLet g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode $*.tex' ! " TexLet g:Tex_CompileRule_pdf = 'ps2pdf $*.ps' " TexLet g:Tex_CompileRule_pdf = 'dvipdfm $*.dvi' *************** *** 110,117 **** " when calling them. The viewer therefore cannot accept arguments after " the filename. if has('win32') ! TexLet g:Tex_ViewRule_ps = 'gsview32' ! TexLet g:Tex_ViewRule_pdf = 'AcroRd32' ! TexLet g:Tex_ViewRule_dvi = 'yap -1' elseif has('macunix') " Let the system pick. If you want, you can override the choice here. --- 106,117 ---- " 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 = 'C:\Ghostgum\gsview\gsview32' ! TexLet g:Tex_ViewRule_pdf = 'C:\Progra~1\Adobe\Acroba~1.0\Reader\AcroRd32' ! TexLet g:Tex_ViewRule_dvi = 'yap -1' elseif has('macunix') " Let the system pick. If you want, you can override the choice here. *************** *** 412,424 **** " }}} ! " TeX Viewer: {{{ " Options for preview window for ref/cite completion. - " Height of cwindow TexLet g:Tex_ViewerCwindowHeight = 5 - " Height of preview window TexLet g:Tex_ViewerPreviewHeight = 10 " }}} --- 412,429 ---- " }}} ! " TeX Completion: {{{ ! " " Options for preview window for ref/cite completion. " Height of cwindow TexLet g:Tex_ViewerCwindowHeight = 5 " Height of preview window TexLet g:Tex_ViewerPreviewHeight = 10 + " Options for explorer completion. + " Height of explorer window + TexLet g:Tex_ExplorerHeight = 10 + + " Directory for images. Read |latex-completion-explorer| before changing + TexLet g:Tex_ImageDir = '' " }}} |