vim-latex-cvs Mailing List for Vim-Latex (Page 5)
Brought to you by:
srinathava,
tmaas
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(82) |
Dec
(124) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(104) |
Feb
(3) |
Mar
(6) |
Apr
(48) |
May
(34) |
Jun
(62) |
Jul
(33) |
Aug
(24) |
Sep
(32) |
Oct
(16) |
Nov
(36) |
Dec
(39) |
| 2004 |
Jan
|
Feb
(3) |
Mar
(8) |
Apr
|
May
(29) |
Jun
(13) |
Jul
(4) |
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
(6) |
Dec
(9) |
| 2006 |
Jan
(9) |
Feb
(2) |
Mar
(16) |
Apr
(5) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(22) |
Jun
(1) |
Jul
|
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
(17) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
(3) |
| 2010 |
Jan
(25) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(8) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(10) |
Oct
(1) |
Nov
|
Dec
(1) |
| 2012 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
|
| 2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(15) |
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
|
From: <tm...@us...> - 2009-09-30 12:53:28
|
Revision: 1071
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1071&view=rev
Author: tmaas
Date: 2009-09-30 12:17:28 +0000 (Wed, 30 Sep 2009)
Log Message:
-----------
Description: Primary paste buffer should not be overwritten with the contents
of the file which the .latexmain file corresponds to.
Author: Johann Felix Soden <jo...@gm...>
Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1103347&group_id=52322&atid=466456
Bug-Debian: http://bugs.debian.org/280793
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/packages.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/packages.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/packages.vim 2009-09-15 18:28:17 UTC (rev 1070)
+++ trunk/vimfiles/ftplugin/latex-suite/packages.vim 2009-09-30 12:17:28 UTC (rev 1071)
@@ -668,7 +668,10 @@
augroup LatexSuite
au LatexSuite User LatexSuiteFileType
\ call Tex_Debug('packages.vim: Catching LatexSuiteFileType event', 'pack') |
- \ call Tex_pack_updateall(0)
+ \ let s:save_clipboard = &clipboard |
+ \ set clipboard= |
+ \ call Tex_pack_updateall(0) |
+ \ let &clipboard=s:save_clipboard
augroup END
" vim:fdm=marker:ts=4:sw=4:noet:ff=unix
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-09-15 18:28:26
|
Revision: 1070
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1070&view=rev
Author: tmaas
Date: 2009-09-15 18:28:17 +0000 (Tue, 15 Sep 2009)
Log Message:
-----------
Description: Don't overwrite the global error formats
Author: Thomas Koch <tho...@ym...>
Bug-Debian: http://bugs.debian.org/487661
Modified Paths:
--------------
trunk/vimfiles/compiler/tex.vim
Modified: trunk/vimfiles/compiler/tex.vim
===================================================================
--- trunk/vimfiles/compiler/tex.vim 2009-09-01 18:51:19 UTC (rev 1069)
+++ trunk/vimfiles/compiler/tex.vim 2009-09-15 18:28:17 UTC (rev 1070)
@@ -194,7 +194,7 @@
let pm = ( g:Tex_ShowallLines == 1 ? '+' : '-' )
- set efm=
+ setlocal efm=
if !g:Tex_ShowallLines
call s:IgnoreWarnings()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-09-01 18:51:29
|
Revision: 1069
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1069&view=rev
Author: tmaas
Date: 2009-09-01 18:51:19 +0000 (Tue, 01 Sep 2009)
Log Message:
-----------
- fix double fnameescape for s:path / missing escape for dict, patch by Gary Johnson
- add fnameescape for pytools.py
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/main.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/main.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/main.vim 2009-08-16 19:47:15 UTC (rev 1068)
+++ trunk/vimfiles/ftplugin/latex-suite/main.vim 2009-09-01 18:51:19 UTC (rev 1069)
@@ -25,7 +25,7 @@
" get the place where this plugin resides for setting cpt and dict options.
" these lines need to be outside the function.
-let s:path = fnameescape(expand('<sfile>:p:h'))
+let s:path = expand('<sfile>:p:h')
" set up personal defaults.
runtime ftplugin/tex/texrc
" set up global defaults.
@@ -851,7 +851,7 @@
endif
let b:doneSetTeXOptions = 1
- exe 'setlocal dict^='.s:path.'/dictionaries/dictionary'
+ exe 'setlocal dict^='.fnameescape(s:path.'/dictionaries/dictionary')
call Tex_Debug('SetTeXOptions: sourcing maps', 'main')
" smart functions
@@ -1037,6 +1037,6 @@
finish
endif
-exec 'pyfile '.expand('<sfile>:p:h').'/pytools.py'
+exec 'pyfile '.fnameescape(expand('<sfile>:p:h')).'/pytools.py'
" vim:fdm=marker:ff=unix:noet:ts=4:sw=4:nowrap
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-16 19:47:23
|
Revision: 1068
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1068&view=rev
Author: tmaas
Date: 2009-08-16 19:47:15 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
use fnameescape instead of Tex_CD
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/compiler.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/compiler.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2009-08-16 19:42:39 UTC (rev 1067)
+++ trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2009-08-16 19:47:15 UTC (rev 1068)
@@ -98,7 +98,7 @@
" close any preview windows left open.
pclose!
- let curd = getcwd()
+ let s:origdir = fnameescape(getcwd())
" Find the main file corresponding to this file. Always cd to the
" directory containing the file to avoid problems with the directory
@@ -143,7 +143,7 @@
endif
redraw!
- call Tex_CD(curd)
+ exe 'cd '.s:origdir
endfunction " }}}
" Tex_RunLaTeX: compilation function {{{
" this function runs the latex command on the currently open file. often times
@@ -159,7 +159,7 @@
call Tex_Debug('+Tex_RunLaTeX, b:fragmentFile = '.exists('b:fragmentFile'), 'comp')
let dir = expand("%:p:h").'/'
- let curd = getcwd()
+ let s:origdir = fnameescape(getcwd())
call Tex_CD(expand("%:p:h"))
let initTarget = s:target
@@ -210,7 +210,7 @@
let s:origwinnum = winnr()
call Tex_SetupErrorWindow()
- call Tex_CD(curd)
+ exe 'cd '.s:origdir
call Tex_Debug("-Tex_RunLaTeX", "comp")
endfunction
@@ -225,7 +225,7 @@
return
end
- let curd = getcwd()
+ let s:origdir = fnameescape(getcwd())
" If b:fragmentFile is set, it means this file was compiled as a fragment
" using Tex_PartCompile, which means that we want to ignore any
@@ -307,7 +307,7 @@
redraw!
endif
- call Tex_CD(curd)
+ exe 'cd '.s:origdir
endfunction
" }}}
@@ -333,7 +333,7 @@
endif
let viewer = Tex_GetVarValue('Tex_ViewRule_'.s:target)
- let curd = getcwd()
+ let s:origdir = fnameescape(getcwd())
let mainfname = Tex_GetMainFileName(':t')
let mainfnameRoot = fnamemodify(Tex_GetMainFileName(), ':t:r')
@@ -415,7 +415,7 @@
redraw!
endif
- call Tex_CD(curd)
+ exe 'cd '.s:origdir
endfunction
" }}}
@@ -501,7 +501,7 @@
function! Tex_CompileMultipleTimes()
" Just extract the root without any extension because we want to construct
" the log file names etc from it.
- let curd = getcwd()
+ let s:origdir = fnameescape(getcwd())
let mainFileName_root = Tex_GetMainFileName(':p:t:r')
call Tex_CD(Tex_GetMainFileName(':p:h'))
@@ -603,7 +603,7 @@
" emptied because of bibtex/makeindex being run as the last step.
exec 'silent! cfile '.mainFileName_root.'.log'
- call Tex_CD(curd)
+ exe 'cd '.s:origdir
endfunction " }}}
" Tex_GetAuxFile: get the contents of the AUX file {{{
" Description: get the contents of the AUX file recursively including any
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-16 19:42:52
|
Revision: 1067
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1067&view=rev
Author: tmaas
Date: 2009-08-16 19:42:39 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
use fnameescape
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/packages.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/packages.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/packages.vim 2009-08-16 19:41:55 UTC (rev 1066)
+++ trunk/vimfiles/ftplugin/latex-suite/packages.vim 2009-08-16 19:42:39 UTC (rev 1067)
@@ -13,7 +13,7 @@
endif
let s:doneOnce = 1
-let s:path = expand("<sfile>:p:h")
+let s:path = fnameescape(expand("<sfile>:p:h"))
let s:menu_div = 20
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-16 19:42:04
|
Revision: 1066
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1066&view=rev
Author: tmaas
Date: 2009-08-16 19:41:55 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
use fnameescape
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/compiler.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/compiler.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2009-08-16 19:39:23 UTC (rev 1065)
+++ trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2009-08-16 19:41:55 UTC (rev 1066)
@@ -41,8 +41,8 @@
let s:target = target
else
- let curd = getcwd()
- exe 'cd '.expand('%:p:h')
+ let s:origdir = fnameescape(getcwd())
+ exe 'cd '.fnameescape(expand('%:p:h'))
if !Tex_GetVarValue('Tex_UseMakefile') || (glob('makefile*') == '' && glob('Makefile*') == '')
if has('gui_running')
call confirm(
@@ -63,7 +63,7 @@
echomsg 'Assuming target is for makefile'
let s:target = target
endif
- exe 'cd '.curd
+ exe 'cd '.s:origdir
endif
endfunction
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-16 19:39:30
|
Revision: 1065
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1065&view=rev
Author: tmaas
Date: 2009-08-16 19:39:23 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
use fnameescape
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/templates.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/templates.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/templates.vim 2009-08-16 19:37:57 UTC (rev 1064)
+++ trunk/vimfiles/ftplugin/latex-suite/templates.vim 2009-08-16 19:39:23 UTC (rev 1065)
@@ -11,7 +11,7 @@
" directory.
"=============================================================================
-let s:path = expand("<sfile>:p:h")
+let s:path = fnameescape(expand("<sfile>:p:h"))
" SetTemplateMenu: sets up the menu for templates {{{
function! <SID>SetTemplateMenu()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-16 19:38:09
|
Revision: 1064
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1064&view=rev
Author: tmaas
Date: 2009-08-16 19:37:57 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
call fnameescape, when the filename is expanded for uniformity
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/texmenuconf.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/texmenuconf.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texmenuconf.vim 2009-08-16 19:34:34 UTC (rev 1063)
+++ trunk/vimfiles/ftplugin/latex-suite/texmenuconf.vim 2009-08-16 19:37:57 UTC (rev 1064)
@@ -8,8 +8,8 @@
"=============================================================================
" Paths, crucial for functions
-let s:path = expand("<sfile>:p:h")
-let s:up_path = expand("<sfile>:p:h:h")
+let s:path = fnameescape(expand("<sfile>:p:h"))
+let s:up_path = fnameescape(expand("<sfile>:p:h:h"))
let s:mainmenuname = g:Tex_MenuPrefix.'S&uite.'
let s:mapleader = exists('mapleader') ? mapleader : "\\"
@@ -89,7 +89,7 @@
if a:type == 'math'
if a:action == 1
let g:Tex_MathMenus = 1
- exe 'so '.fnameescape(s:path.'/mathmacros.vim')
+ exe 'source '.s:path.'/mathmacros.vim'
exe 'amenu disable '.menuloc.'Add\ Math\ Menu'
exe 'amenu enable '.menuloc.'Remove\ Math\ Menu'
elseif a:action == 0
@@ -111,7 +111,7 @@
elseif a:type == 'packages'
if a:action == 1
let g:Tex_PackagesMenu = 1
- exe 'so '.fnameescape(s:path.'/packages.vim')
+ exe 'source '.s:path.'/packages.vim'
exe 'amenu disable '.menuloc.'Load\ Packages\ Menu'
endif
endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-16 19:34:46
|
Revision: 1063
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1063&view=rev
Author: tmaas
Date: 2009-08-16 19:34:34 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
use fnameescape instead of Tex_CD
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/main.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/main.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/main.vim 2009-08-16 19:30:14 UTC (rev 1062)
+++ trunk/vimfiles/ftplugin/latex-suite/main.vim 2009-08-16 19:34:34 UTC (rev 1063)
@@ -25,7 +25,7 @@
" get the place where this plugin resides for setting cpt and dict options.
" these lines need to be outside the function.
-let s:path = expand('<sfile>:p:h')
+let s:path = fnameescape(expand('<sfile>:p:h'))
" set up personal defaults.
runtime ftplugin/tex/texrc
" set up global defaults.
@@ -412,23 +412,24 @@
return retval
endif
- let curd = getcwd()
+ let s:origdir = fnameescape(getcwd())
let dirmodifier = '%:p:h'
- let dirLast = expand(dirmodifier)
- call Tex_CD(dirLast)
+ let dirLast = fnameescape(expand(dirmodifier))
+ exe 'cd '.dirLast
" move up the directory tree until we find a .latexmain file.
" TODO: Should we be doing this recursion by default, or should there be a
" setting?
while glob('*.latexmain') == ''
let dirmodifier = dirmodifier.':h'
+ let dirNew = fnameescape(expand(dirmodifier))
" break from the loop if we cannot go up any further.
- if expand(dirmodifier) == dirLast
+ if dirNew == dirLast
break
endif
- let dirLast = expand(dirmodifier)
- call Tex_CD(dirLast)
+ let dirLast = dirNew
+ exe 'cd '.dirLast
endwhile
let lheadfile = glob('*.latexmain')
@@ -442,12 +443,12 @@
let lheadfile = expand('%'.modifier)
endif
- call Tex_CD(curd)
+ exe 'cd '.s:origdir
- " NOTE: The caller of this function needs to escape spaces in the
- " file name as appropriate. The reason its not done here is that
- " escaping spaces is not safe if this file is to be used as part of
- " an external command on certain platforms.
+ " NOTE: The caller of this function needs to escape the file name with
+ " fnameescape() . The reason its not done here is that escaping is not
+ " safe if this file is to be used as part of an external command on
+ " certain platforms.
return lheadfile
endfunction
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-16 19:30:20
|
Revision: 1062
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1062&view=rev
Author: tmaas
Date: 2009-08-16 19:30:14 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
Fix bugs introduced with r1061, patch by Alexander Stefanescu
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2009-08-16 19:26:30 UTC (rev 1061)
+++ trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2009-08-16 19:30:14 UTC (rev 1062)
@@ -110,12 +110,12 @@
if has('python') && Tex_GetVarValue('Tex_UsePython')
\ && Tex_GetVarValue('Tex_UseCiteCompletionVer2') == 1
- cd s:origdir
+ exe 'cd '.s:origdir
silent! call Tex_StartCiteCompletion()
elseif Tex_GetVarValue('Tex_UseJabref') == 1
- cd s:origdir
+ exe 'cd '.s:origdir
let g:Remote_WaitingForCite = 1
let citation = input('Enter citation from jabref (<enter> to leave blank): ')
let g:Remote_WaitingForCite = 0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-16 19:26:38
|
Revision: 1061
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1061&view=rev
Author: tmaas
Date: 2009-08-16 19:26:30 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
escape filenames with fnameescape with help from Alexander Stefanescu
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2009-08-12 21:40:49 UTC (rev 1060)
+++ trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2009-08-16 19:26:30 UTC (rev 1061)
@@ -44,8 +44,8 @@
" Change to the directory of the file being edited before running all the
" :grep commands. We will change back to the original directory after we
" finish with the grep.
- let s:origdir = getcwd()
- cd %:p:h
+ let s:origdir = fnameescape(getcwd())
+ exe 'cd '.fnameescape(expand('%:p:h'))
let s:pos = Tex_GetPos()
@@ -89,7 +89,7 @@
elseif Tex_GetVarValue('Tex_ProjectSourceFiles') != ''
call Tex_Debug('Tex_Complete: searching for \\labels in all Tex_ProjectSourceFiles', 'view')
- call Tex_CD(Tex_GetMainFileName(':p:h'))
+ exec 'cd '.fnameescape(Tex_GetMainFileName(':p:h'))
call Tex_Grep('\\label{'.s:prefix, Tex_GetVarValue('Tex_ProjectSourceFiles'))
call <SID>Tex_SetupCWindow()
@@ -110,12 +110,12 @@
if has('python') && Tex_GetVarValue('Tex_UsePython')
\ && Tex_GetVarValue('Tex_UseCiteCompletionVer2') == 1
- call Tex_CD(s:origdir)
+ cd s:origdir
silent! call Tex_StartCiteCompletion()
elseif Tex_GetVarValue('Tex_UseJabref') == 1
- call Tex_CD(s:origdir)
+ cd s:origdir
let g:Remote_WaitingForCite = 1
let citation = input('Enter citation from jabref (<enter> to leave blank): ')
let g:Remote_WaitingForCite = 0
@@ -614,7 +614,7 @@
let foundCiteFile = 1
split
- lcd %:p:h
+ lcd fnameescape(expand('%:p:h'))
call Tex_Debug("silent! grepadd! ".Tex_EscapeForGrep('\\bibitem{'.a:prefix)." %", 'view')
call Tex_Grepadd('\\bibitem\s*[\[|{]'.a:prefix, "%")
q
@@ -657,7 +657,7 @@
function! Tex_ScanFileForLabels(prefix)
call Tex_Debug("+Tex_ScanFileForLabels: grepping in file [".bufname('%')."]", "view")
- lcd %:p:h
+ lcd fnameescape(expand('%:p:h'))
call Tex_Grepadd('\\label{'.a:prefix, "%")
" Then recursively grep for all \include'd or \input'ed files.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-12 21:41:00
|
Revision: 1060
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1060&view=rev
Author: tmaas
Date: 2009-08-12 21:40:49 +0000 (Wed, 12 Aug 2009)
Log Message:
-----------
Create snapshots from HEAD and not WORKING.
Modified Paths:
--------------
trunk/vimfiles/Makefile
Modified: trunk/vimfiles/Makefile
===================================================================
--- trunk/vimfiles/Makefile 2009-08-12 21:38:05 UTC (rev 1059)
+++ trunk/vimfiles/Makefile 2009-08-12 21:40:49 UTC (rev 1060)
@@ -3,14 +3,14 @@
BINDIR = $(PREFIX)/bin
VERSION=1.5
-REVISION=$(shell svn info 2>/dev/null| head -n 5 | tail -n 1 | cut -d" " -f2)
+REVISION=$(shell svn info -r HEAD 2>/dev/null| head -n 5 | tail -n 1 | cut -d" " -f2)
DATE = $(shell date +%Y%m%d)
SNAPSHOTNAME = vim-latex-$(VERSION)-$(DATE)-r$(REVISION)
snapshot:
rm -rf -- ./$(SNAPSHOTNAME)
- svn export . $(SNAPSHOTNAME)
+ svn export -r HEAD . $(SNAPSHOTNAME)
make -C $(SNAPSHOTNAME)/doc
tar cvzf ./$(SNAPSHOTNAME).tar.gz ./$(SNAPSHOTNAME)
rm -rf -- ./$(SNAPSHOTNAME)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-12 21:38:16
|
Revision: 1059
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1059&view=rev
Author: tmaas
Date: 2009-08-12 21:38:05 +0000 (Wed, 12 Aug 2009)
Log Message:
-----------
Fix filename handling with help from Alexander Stefanescu.
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/texproject.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/texproject.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texproject.vim 2009-08-03 22:22:32 UTC (rev 1058)
+++ trunk/vimfiles/ftplugin/latex-suite/texproject.vim 2009-08-12 21:38:05 UTC (rev 1059)
@@ -7,7 +7,7 @@
" Description: Handling tex projects.
"=============================================================================
-let s:path = expand("<sfile>:p:h")
+let s:path = fnameescape(expand("<sfile>:p:h"))
command! -nargs=0 TProjectEdit :call <SID>Tex_ProjectEdit()
@@ -21,7 +21,7 @@
let file = expand("%:p")
let mainfname = Tex_GetMainFileName()
if glob(mainfname.'.latexmain') != ''
- exec 'split '.Tex_EscapeSpaces(mainfname.'.latexmain')
+ exec 'split '.fnameescape(mainfname.'.latexmain')
else
echohl WarningMsg
echomsg "Master file not found."
@@ -34,15 +34,15 @@
" Tex_ProjectLoad: loads the .latexmain file {{{
" Description: If a *.latexmain file exists, then sources it
function! Tex_ProjectLoad()
- let curd = getcwd()
- call Tex_CD(expand('%:p:h'))
+ let s:origdir = fnameescape(getcwd())
+ exe 'cd '.fnameescape(expand('%:p:h'))
if glob(Tex_GetMainFileName(':p').'.latexmain') != ''
call Tex_Debug("Tex_ProjectLoad: sourcing [".Tex_GetMainFileName().".latexmain]", "proj")
exec 'source 'fnameescape(.Tex_GetMainFileName().'.latexmain')
endif
- call Tex_CD(curd)
+ exe 'cd '.s:origdir
endfunction " }}}
augroup LatexSuite
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-03 22:22:45
|
Revision: 1058
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1058&view=rev
Author: tmaas
Date: 2009-08-03 22:22:32 +0000 (Mon, 03 Aug 2009)
Log Message:
-----------
add upload target to Makefile
Modified Paths:
--------------
trunk/vimfiles/Makefile
Modified: trunk/vimfiles/Makefile
===================================================================
--- trunk/vimfiles/Makefile 2009-08-03 22:19:19 UTC (rev 1057)
+++ trunk/vimfiles/Makefile 2009-08-03 22:22:32 UTC (rev 1058)
@@ -25,3 +25,6 @@
install -d "$(DESTDIR)$(BINDIR)"
install latextags ltags "$(DESTDIR)$(BINDIR)"
+
+upload: snapshot
+ scp "$(SNAPSHOTNAME).tar.gz" frs.sourceforge.net:/home/frs/project/v/vi/vim-latex/snapshots
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-03 22:19:26
|
Revision: 1057
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1057&view=rev
Author: tmaas
Date: 2009-08-03 22:19:19 +0000 (Mon, 03 Aug 2009)
Log Message:
-----------
include documentation in the snapshot
Modified Paths:
--------------
trunk/vimfiles/Makefile
Modified: trunk/vimfiles/Makefile
===================================================================
--- trunk/vimfiles/Makefile 2009-08-03 22:15:11 UTC (rev 1056)
+++ trunk/vimfiles/Makefile 2009-08-03 22:19:19 UTC (rev 1057)
@@ -11,6 +11,7 @@
snapshot:
rm -rf -- ./$(SNAPSHOTNAME)
svn export . $(SNAPSHOTNAME)
+ make -C $(SNAPSHOTNAME)/doc
tar cvzf ./$(SNAPSHOTNAME).tar.gz ./$(SNAPSHOTNAME)
rm -rf -- ./$(SNAPSHOTNAME)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-03 22:15:18
|
Revision: 1056
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1056&view=rev
Author: tmaas
Date: 2009-08-03 22:15:11 +0000 (Mon, 03 Aug 2009)
Log Message:
-----------
add pointer to README.new
Modified Paths:
--------------
trunk/vimfiles/doc/README
Modified: trunk/vimfiles/doc/README
===================================================================
--- trunk/vimfiles/doc/README 2009-08-03 22:13:42 UTC (rev 1055)
+++ trunk/vimfiles/doc/README 2009-08-03 22:15:11 UTC (rev 1056)
@@ -1,3 +1,7 @@
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+This file is outdated, please look at README.new for updated information
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
====================================
Generating Latex-Suite documentation
====================================
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-03 22:13:58
|
Revision: 1055
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1055&view=rev
Author: tmaas
Date: 2009-08-03 22:13:42 +0000 (Mon, 03 Aug 2009)
Log Message:
-----------
add README for the new doc Makefile
Added Paths:
-----------
trunk/vimfiles/doc/README.new
Added: trunk/vimfiles/doc/README.new
===================================================================
--- trunk/vimfiles/doc/README.new (rev 0)
+++ trunk/vimfiles/doc/README.new 2009-08-03 22:13:42 UTC (rev 1055)
@@ -0,0 +1,17 @@
+====================================
+Generating Latex-Suite documentation
+====================================
+
+You need:
+- xsltproc
+- Docbook XSL stylesheets (*)
+- Docbook DTD (*)
+
+(*) These files will be downloaded every time you create the documentation,
+unless you install or download them.
+
+On Fedora, you can run as root:
+
+yum install libxslt docbook-style-xsl docbook-dtds
+
+to install the required packages.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-03 22:06:25
|
Revision: 1054
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1054&view=rev
Author: tmaas
Date: 2009-08-03 22:06:17 +0000 (Mon, 03 Aug 2009)
Log Message:
-----------
- Use /usr/local as default prefix
- Include revision in snapshot tarball name
Modified Paths:
--------------
trunk/vimfiles/Makefile
Modified: trunk/vimfiles/Makefile
===================================================================
--- trunk/vimfiles/Makefile 2009-08-03 21:53:14 UTC (rev 1053)
+++ trunk/vimfiles/Makefile 2009-08-03 22:06:17 UTC (rev 1054)
@@ -1,12 +1,13 @@
-PREFIX = /usr
+PREFIX = /usr/local
VIMDIR = $(PREFIX)/share/vim
BINDIR = $(PREFIX)/bin
VERSION=1.5
-
+REVISION=$(shell svn info 2>/dev/null| head -n 5 | tail -n 1 | cut -d" " -f2)
DATE = $(shell date +%Y%m%d)
-SNAPSHOTNAME = vim-latex-$(VERSION)-$(DATE)
+SNAPSHOTNAME = vim-latex-$(VERSION)-$(DATE)-r$(REVISION)
+
snapshot:
rm -rf -- ./$(SNAPSHOTNAME)
svn export . $(SNAPSHOTNAME)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-03 21:53:23
|
Revision: 1053
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1053&view=rev
Author: tmaas
Date: 2009-08-03 21:53:14 +0000 (Mon, 03 Aug 2009)
Log Message:
-----------
support PREFIX in Makefile
Modified Paths:
--------------
trunk/vimfiles/Makefile
Modified: trunk/vimfiles/Makefile
===================================================================
--- trunk/vimfiles/Makefile 2009-08-03 21:51:24 UTC (rev 1052)
+++ trunk/vimfiles/Makefile 2009-08-03 21:53:14 UTC (rev 1053)
@@ -1,5 +1,6 @@
-VIMDIR = /usr/share/vim
-BINDIR = /usr/bin
+PREFIX = /usr
+VIMDIR = $(PREFIX)/share/vim
+BINDIR = $(PREFIX)/bin
VERSION=1.5
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-08-03 21:51:32
|
Revision: 1052
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1052&view=rev
Author: tmaas
Date: 2009-08-03 21:51:24 +0000 (Mon, 03 Aug 2009)
Log Message:
-----------
Create tarballs in the Makefile with .tar.gz suffix instead of .tgz
Modified Paths:
--------------
trunk/vimfiles/Makefile
Modified: trunk/vimfiles/Makefile
===================================================================
--- trunk/vimfiles/Makefile 2009-06-02 18:33:54 UTC (rev 1051)
+++ trunk/vimfiles/Makefile 2009-08-03 21:51:24 UTC (rev 1052)
@@ -9,7 +9,7 @@
snapshot:
rm -rf -- ./$(SNAPSHOTNAME)
svn export . $(SNAPSHOTNAME)
- tar cvzf ./$(SNAPSHOTNAME).tgz ./$(SNAPSHOTNAME)
+ tar cvzf ./$(SNAPSHOTNAME).tar.gz ./$(SNAPSHOTNAME)
rm -rf -- ./$(SNAPSHOTNAME)
install:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-06-02 18:33:56
|
Revision: 1051
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1051&view=rev
Author: tmaas
Date: 2009-06-02 18:33:54 +0000 (Tue, 02 Jun 2009)
Log Message:
-----------
add fnameescape() to various places, where files are sourced. Patch by Gary
Johnson.
This fixes failures in case the path contains spaces. Other special
characters may have caused problems, too.
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/envmacros.vim
trunk/vimfiles/ftplugin/latex-suite/main.vim
trunk/vimfiles/ftplugin/latex-suite/texmenuconf.vim
trunk/vimfiles/ftplugin/latex-suite/texproject.vim
trunk/vimfiles/ftplugin/tex_latexSuite.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/envmacros.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/envmacros.vim 2009-04-29 13:29:56 UTC (rev 1050)
+++ trunk/vimfiles/ftplugin/latex-suite/envmacros.vim 2009-06-02 18:33:54 UTC (rev 1051)
@@ -10,7 +10,7 @@
finish
endif
-exe 'so '.expand('<sfile>:p:h').'/wizardfuncs.vim'
+exe 'so '.fnameescape(expand('<sfile>:p:h').'/wizardfuncs.vim')
nmap <silent> <script> <plug> i
imap <silent> <script> <C-o><plug> <Nop>
Modified: trunk/vimfiles/ftplugin/latex-suite/main.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/main.vim 2009-04-29 13:29:56 UTC (rev 1050)
+++ trunk/vimfiles/ftplugin/latex-suite/main.vim 2009-06-02 18:33:54 UTC (rev 1051)
@@ -29,7 +29,7 @@
" set up personal defaults.
runtime ftplugin/tex/texrc
" set up global defaults.
-exe "so ".s:path.'/texrc'
+exe "so ".fnameescape(s:path.'/texrc')
" }}}
@@ -805,39 +805,39 @@
" }}}
" source texproject.vim before other files
-exe 'source '.s:path.'/texproject.vim'
+exe 'source '.fnameescape(s:path.'/texproject.vim')
" source all the relevant files.
-exe 'source '.s:path.'/texmenuconf.vim'
-exe 'source '.s:path.'/envmacros.vim'
-exe 'source '.s:path.'/elementmacros.vim'
+exe 'source '.fnameescape(s:path.'/texmenuconf.vim')
+exe 'source '.fnameescape(s:path.'/envmacros.vim')
+exe 'source '.fnameescape(s:path.'/elementmacros.vim')
" source utf-8 or plain math menus
if exists("g:Tex_UseUtfMenus") && g:Tex_UseUtfMenus != 0 && has("gui_running")
- exe 'source '.s:path.'/mathmacros-utf.vim'
+ exe 'source '.fnameescape(s:path.'/mathmacros-utf.vim')
else
- exe 'source '.s:path.'/mathmacros.vim'
+ exe 'source '.fnameescape(s:path.'/mathmacros.vim')
endif
-exe 'source '.s:path.'/multicompile.vim'
-exe 'source '.s:path.'/compiler.vim'
-exe 'source '.s:path.'/folding.vim'
-exe 'source '.s:path.'/templates.vim'
-exe 'source '.s:path.'/custommacros.vim'
-exe 'source '.s:path.'/bibtex.vim'
+exe 'source '.fnameescape(s:path.'/multicompile.vim')
+exe 'source '.fnameescape(s:path.'/compiler.vim')
+exe 'source '.fnameescape(s:path.'/folding.vim')
+exe 'source '.fnameescape(s:path.'/templates.vim')
+exe 'source '.fnameescape(s:path.'/custommacros.vim')
+exe 'source '.fnameescape(s:path.'/bibtex.vim')
" source advanced math functions
if g:Tex_AdvancedMath == 1
- exe 'source '.s:path.'/brackets.vim'
- exe 'source '.s:path.'/smartspace.vim'
+ exe 'source '.fnameescape(s:path.'/brackets.vim')
+ exe 'source '.fnameescape(s:path.'/smartspace.vim')
endif
if g:Tex_Diacritics != 0
- exe 'source '.s:path.'/diacritics.vim'
+ exe 'source '.fnameescape(s:path.'/diacritics.vim')
endif
-exe 'source '.s:path.'/texviewer.vim'
-exe 'source '.s:path.'/version.vim'
+exe 'source '.fnameescape(s:path.'/texviewer.vim')
+exe 'source '.fnameescape(s:path.'/version.vim')
" ==============================================================================
" Finally set up the folding, options, mappings and quit.
@@ -921,7 +921,7 @@
let g:Tex_completion_explorer = ','
" Mappings defined in package files will overwrite all other
-exe 'source '.s:path.'/packages.vim'
+exe 'source '.fnameescape(s:path.'/packages.vim')
" ==============================================================================
" These functions are used to immitate certain operating system type functions
Modified: trunk/vimfiles/ftplugin/latex-suite/texmenuconf.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texmenuconf.vim 2009-04-29 13:29:56 UTC (rev 1050)
+++ trunk/vimfiles/ftplugin/latex-suite/texmenuconf.vim 2009-06-02 18:33:54 UTC (rev 1051)
@@ -89,7 +89,7 @@
if a:type == 'math'
if a:action == 1
let g:Tex_MathMenus = 1
- exe 'so '.s:path.'/mathmacros.vim'
+ exe 'so '.fnameescape(s:path.'/mathmacros.vim')
exe 'amenu disable '.menuloc.'Add\ Math\ Menu'
exe 'amenu enable '.menuloc.'Remove\ Math\ Menu'
elseif a:action == 0
@@ -107,11 +107,11 @@
exe 'amenu enable '.menuloc.'Expand\ Elements'
exe 'amenu disable '.menuloc.'Compress\ Elements'
endif
- exe 'source '.s:path.'/elementmacros.vim'
+ exe 'source '.fnameescape(s:path.'/elementmacros.vim')
elseif a:type == 'packages'
if a:action == 1
let g:Tex_PackagesMenu = 1
- exe 'so '.s:path.'/packages.vim'
+ exe 'so '.fnameescape(s:path.'/packages.vim')
exe 'amenu disable '.menuloc.'Load\ Packages\ Menu'
endif
endif
Modified: trunk/vimfiles/ftplugin/latex-suite/texproject.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texproject.vim 2009-04-29 13:29:56 UTC (rev 1050)
+++ trunk/vimfiles/ftplugin/latex-suite/texproject.vim 2009-06-02 18:33:54 UTC (rev 1051)
@@ -39,7 +39,7 @@
if glob(Tex_GetMainFileName(':p').'.latexmain') != ''
call Tex_Debug("Tex_ProjectLoad: sourcing [".Tex_GetMainFileName().".latexmain]", "proj")
- exec 'source '.Tex_GetMainFileName().'.latexmain'
+ exec 'source 'fnameescape(.Tex_GetMainFileName().'.latexmain')
endif
call Tex_CD(curd)
Modified: trunk/vimfiles/ftplugin/tex_latexSuite.vim
===================================================================
--- trunk/vimfiles/ftplugin/tex_latexSuite.vim 2009-04-29 13:29:56 UTC (rev 1050)
+++ trunk/vimfiles/ftplugin/tex_latexSuite.vim 2009-06-02 18:33:54 UTC (rev 1051)
@@ -5,7 +5,7 @@
if !exists('s:initLatexSuite')
let s:initLatexSuite = 1
- exec 'so '.expand('<sfile>:p:h').'/latex-suite/main.vim'
+ exec 'so '.fnameescape(expand('<sfile>:p:h').'/latex-suite/main.vim')
silent! do LatexSuite User LatexSuiteInitPost
endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-04-29 13:30:01
|
Revision: 1050
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1050&view=rev
Author: tmaas
Date: 2009-04-29 13:29:56 +0000 (Wed, 29 Apr 2009)
Log Message:
-----------
Make \cite completion work for \bibitem with labels and spaces: \bibitem [A] {a}
Patch by Thomas Ibbotson and Mat?\195?\173as Gra?\195?\177a
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2009-04-26 17:56:24 UTC (rev 1049)
+++ trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2009-04-29 13:29:56 UTC (rev 1050)
@@ -380,10 +380,10 @@
function! s:Tex_CompleteRefCiteCustom(type)
if a:type =~ 'cite'
- if getline('.') =~ '\\bibitem{'
- let bibkey = matchstr(getline('.'), '\\bibitem{\zs.\{-}\ze}')
+ if getline('.') =~ '\\bibitem\s*{'
+ let bibkey = matchstr(getline('.'), '\\bibitem\s*{\zs.\{-}\ze}')
else
- let bibkey = matchstr(getline('.'), '{\zs.\{-}\ze\(,\|$\)')
+ let bibkey = matchstr(getline('.'), '\\bibitem\s*\[.\{-}\]\s*{\zs.\{-}\ze}')
endif
let completeword = strpart(bibkey, strlen(s:prefix))
@@ -616,7 +616,7 @@
split
lcd %:p:h
call Tex_Debug("silent! grepadd! ".Tex_EscapeForGrep('\\bibitem{'.a:prefix)." %", 'view')
- call Tex_Grepadd('\\bibitem{'.a:prefix, "%")
+ call Tex_Grepadd('\\bibitem\s*[\[|{]'.a:prefix, "%")
q
return 1
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-04-26 17:56:31
|
Revision: 1049
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1049&view=rev
Author: tmaas
Date: 2009-04-26 17:56:24 +0000 (Sun, 26 Apr 2009)
Log Message:
-----------
Fix typo in elsif comparison
Patch by Thomas Ibbotson
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/compiler.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/compiler.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2009-03-11 16:11:25 UTC (rev 1048)
+++ trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2009-04-26 17:56:24 UTC (rev 1049)
@@ -387,7 +387,7 @@
let execString = 'silent! !kdvi --unique file:'.mainfnameRoot.'.dvi\#src:'.line('.').expand("%")
- elseif (viewer == "xdvi" || viewer = "xdvik" )
+ elseif (viewer == "xdvi" || viewer == "xdvik" )
let execString = 'silent! !'.viewer.' -name xdvi -sourceposition '.line('.').expand("%").' '.mainfnameRoot.'.dvi'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-03-11 16:11:46
|
Revision: 1048
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1048&view=rev
Author: tmaas
Date: 2009-03-11 16:11:25 +0000 (Wed, 11 Mar 2009)
Log Message:
-----------
Patch by William (B.J.) Snow Orvis:
Do not prepend '-a ' to s:viewer everytime Tex_ViewLaTeX() is called, only add
it to the 'open' command if needed.
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/compiler.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/compiler.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2009-03-11 15:08:58 UTC (rev 1047)
+++ trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2009-03-11 16:11:25 UTC (rev 1048)
@@ -254,9 +254,11 @@
elseif (has('macunix') && Tex_GetVarValue('Tex_TreatMacViewerAsUNIX') != 1)
if strlen(s:viewer)
- let s:viewer = '-a '.s:viewer
+ let appOpt = '-a '
+ else
+ let appOpt = ''
endif
- let execString = 'open '.s:viewer.' $*.'.s:target
+ let execString = 'open '.appOpt.s:viewer.' $*.'.s:target
else
" taken from Dimitri Antoniou's tip on vim.sf.net (tip #225).
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <tm...@us...> - 2009-03-11 15:09:29
|
Revision: 1047
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1047&view=rev
Author: tmaas
Date: 2009-03-11 15:08:58 +0000 (Wed, 11 Mar 2009)
Log Message:
-----------
Patch by Thomas Ibbotson:
Make "F9 \ref" completion work if the path to vim contains a blank character,
e.g. on Windows.
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2009-01-20 14:13:19 UTC (rev 1046)
+++ trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2009-03-11 15:08:58 UTC (rev 1047)
@@ -766,7 +766,7 @@
0put!=retval
else
- exec '0r!'.s:path.'/outline.py '.mainfname.' '.s:prefix
+ exec '0r!'.shellescape(s:path.'/outline.py').' '.mainfname.' '.s:prefix
endif
0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|