[Vim-latex-cvs] vimfiles/ftplugin/latex-suite compiler.vim,1.4,1.5 texrc,1.7,1.8
Brought to you by:
srinathava,
tmaas
From: <ma...@us...> - 2002-11-04 16:32:41
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv27274 Modified Files: compiler.vim texrc Log Message: improved defaults for Mac OSX Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** compiler.vim 4 Nov 2002 15:39:24 -0000 1.4 --- compiler.vim 4 Nov 2002 16:32:37 -0000 1.5 *************** *** 143,147 **** exec '!start' s:viewer mainfname . '.' . s:target elseif has('macunix') ! execute '!open -a' s:viewer mainfname . '.' . s:target else " taken from Dimitri Antoniou's tip on vim.sf.net (tip #225). --- 143,150 ---- exec '!start' s:viewer mainfname . '.' . s:target elseif has('macunix') ! if strlen(s:viewer) ! let s:viewer = '-a ' . s:viewer ! endif ! execute '!open' s:viewer mainfname . '.' . s:target else " taken from Dimitri Antoniou's tip on vim.sf.net (tip #225). Index: texrc =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texrc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** texrc 4 Nov 2002 15:39:25 -0000 1.7 --- texrc 4 Nov 2002 16:32:37 -0000 1.8 *************** *** 62,66 **** " NOTE: Make sure that a target for this format exists in the 'Compiler rules' " section below and is set up properly for your system. ! TexLet g:Tex_DefaultTargetFormat = 'dvi' " ------------------------------------------------------------------------------ --- 62,70 ---- " NOTE: Make sure that a target for this format exists in the 'Compiler rules' " section below and is set up properly for your system. ! if has('macunix') ! TexLet g:Tex_DefaultTargetFormat = 'pdf' ! else ! TexLet g:Tex_DefaultTargetFormat = 'dvi' ! endif " ------------------------------------------------------------------------------ *************** *** 102,105 **** --- 106,115 ---- 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. + TexLet g:Tex_ViewRule_ps = '' + TexLet g:Tex_ViewRule_pdf = '' + " TexLet g:Tex_ViewRule_pdf = 'Acrobat\ Reader\ 5.1' + TexLet g:Tex_ViewRule_dvi = '' else TexLet g:Tex_ViewRule_ps = 'ghostview' |