vim-latex-cvs Mailing List for Vim-Latex (Page 21)
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: <sri...@us...> - 2003-06-08 22:14:57
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv22512 Modified Files: compiler.vim wizardfuncs.vim Log Message: Bug: compiling parts of a document did not open up the preview of the .log file. Cause: mainfname was not defined in part compilation A lot of restructuring in compiler.vim and wizardfuncs.vim. See the accompanying e-mail to vim-latex-devel. Will also note this in Changelog. Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** compiler.vim 5 Jun 2003 18:16:28 -0000 1.37 --- compiler.vim 8 Jun 2003 22:14:55 -0000 1.38 *************** *** 96,99 **** --- 96,101 ---- " RunLaTeX() is called. function! RunLaTeX() + + call Tex_Debug('getting to RunLaTeX, b:fragmentFile = '.exists('b:fragmentFile')) if &ft != 'tex' echo "calling RunLaTeX from a non-tex file" *************** *** 108,155 **** " Logic to choose how to compile: ! " if g:partcomp is set ! " do partial compilation ! " else if there is a makefile and no .latexmain ! " do make ! " else ! " call the latex compiler on ! " the current file if there is not .latexmain ! " .latexmain if there is one ! " ! " if partial compilation is wanted ! if exists("g:partcomp") ! " Change directory to location of temporary file. In this way output ! " files will be in temporary directory (no garbage in real current ! " directory). System will take care about space. ! let curdir = getcwd() ! let pcomdir = fnamemodify(g:tfile, ":p:h") ! exe 'lcd '.pcomdir ! exec 'make '.g:tfile ! exe 'lcd '.curdir ! redraw! ! else ! let mainfname = Tex_GetMainFileName() ! " if a makefile and no *.latexmain exists, just use the make utility ! " this also sets mainfname for the rest of the function ! if (glob('makefile') != '' || glob('Makefile') != '') ! let mainfname = expand("%:t:r") ! let _makeprg = &l:makeprg ! let &l:makeprg = 'make $*' ! if exists('s:target') ! exec 'make '.s:target ! else ! exec 'make' ! endif ! let &l:makeprg = _makeprg ! else ! " otherwise, if a *.latexmain file is found, then use that file to ! " construct a main file. ! if mainfname == '' ! let mainfname = expand("%:t") ! endif ! exec 'make '.mainfname ! endif ! redraw! ! endif let winnum = winnr() --- 110,143 ---- " Logic to choose how to compile: ! " if b:fragmentFile exists, then this is a fragment ! " therefore, just compile this file ! " else ! " if makefile or Makefile exists, then use that ! " elseif *.latexmain exists ! " use that ! " else use current file ! " ! " if mainfname exists, then it means it was supplied to RunLaTeX(). ! let mainfname = Tex_GetMainFileName() ! if exists('b:fragmentFile') || mainfname == '' ! let mainfname = expand('%:t') ! endif ! ! " if a makefile exists, then use that irrespective of whether *.latexmain ! " exists or not. mainfname is still extracted from *.latexmain (if ! " possible) log file name depends on the main file which will be compiled. ! if glob('makefile') != '' || glob('Makefile') != '' ! let _makeprg = &l:makeprg ! let &l:makeprg = 'make $*' ! if exists('s:target') ! exec 'make '.s:target ! else ! exec 'make' ! endif ! let &l:makeprg = _makeprg ! else ! exec 'make '.mainfname ! endif ! redraw! let winnum = winnr() *************** *** 160,167 **** cclose cwindow ! " remove extension from mainfname ! let mfnlog = fnamemodify(mainfname, ":r") " if we moved to a different window, then it means we had some errors. ! if winnum != winnr() && glob(mfnlog.'.log') != '' call UpdatePreviewWindow(mfnlog) exe 'nnoremap <buffer> <silent> j j:call UpdatePreviewWindow("'.mfnlog.'")<CR>' --- 148,156 ---- cclose cwindow ! " create log file name from mainfname ! let mfnlog = fnamemodify(mainfname, ":t:r").'.log' ! call Tex_Debug('mfnlog = '.mfnlog, 'comp') " if we moved to a different window, then it means we had some errors. ! if winnum != winnr() call UpdatePreviewWindow(mfnlog) exe 'nnoremap <buffer> <silent> j j:call UpdatePreviewWindow("'.mfnlog.'")<CR>' *************** *** 189,193 **** " in g:tfile variable. If g:tfile doesnt exist, no problem. Function is called " as silent. ! function! ViewLaTeX(size) if &ft != 'tex' echo "calling ViewLaTeX from a non-tex file" --- 178,182 ---- " in g:tfile variable. If g:tfile doesnt exist, no problem. Function is called " as silent. ! function! ViewLaTeX() if &ft != 'tex' echo "calling ViewLaTeX from a non-tex file" *************** *** 199,203 **** exec 'cd '.expand("%:p:h") ! if Tex_GetMainFileName() != '' let mainfname = Tex_GetMainFileName() else --- 188,195 ---- exec 'cd '.expand("%:p:h") ! " 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 ! " *.latexmain or makefile's. ! if Tex_GetMainFileName() != '' && !exists('b:fragmentFile') let mainfname = Tex_GetMainFileName() else *************** *** 209,226 **** " editor from the command line. that would have really helped ensure " that this particular vim and yap are connected. ! if a:size == "all" ! exec '!start' s:viewer mainfname . '.' . s:target ! else ! exec '!start' s:viewer g:tfile . '.' . s:target ! endif elseif has('macunix') if strlen(s:viewer) let s:viewer = '-a ' . s:viewer endif ! if a:size == "all" ! execute '!open' s:viewer mainfname . '.' . s:target ! else ! execute '!open' s:viewer g:tfile . '.' . s:target ! endif else " taken from Dimitri Antoniou's tip on vim.sf.net (tip #225). --- 201,210 ---- " editor from the command line. that would have really helped ensure " that this particular vim and yap are connected. ! 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). *************** *** 240,256 **** exec '!kdvi --unique '.mainfname.'.dvi &' else ! if a:size == "all" ! exec '!'.s:viewer.' '.mainfname.'.dvi &' ! else ! exec '!'.s:viewer.' '.g:tfile.'.dvi &' ! endif endif redraw! else ! if a:size == "all" ! exec '!'.s:viewer.' '.mainfname.'.'.s:target.' &' ! else ! exec '!'.s:viewer.' '.g:tfile.'.'.s:target.' &' ! endif redraw! endif --- 224,232 ---- exec '!kdvi --unique '.mainfname.'.dvi &' else ! exec '!'.s:viewer.' '.mainfname.'.dvi &' endif redraw! else ! exec '!'.s:viewer.' '.mainfname.'.'.s:target.' &' redraw! endif *************** *** 318,321 **** --- 294,336 ---- " }}} + " Tex_PartCompile: compiles selected fragment {{{ + " Description: creates a temporary file from the selected fragment of text + " prepending the preamble and \end{document} and then asks RunLaTeX() to + " compile it. + function! Tex_PartCompile() range + + call Tex_Debug('getting to Tex_PartCompile', 'comp') + " Save position + let pos = line('.').' | normal! '.virtcol('.').'|' + + " Create temporary file and save its name into global variable to use in + " compiler.vim + let tmpfile = tempname().'.tex' + + " If mainfile exists open it in tiny window and extract preamble there, + " otherwise do it from current file + let mainfile = Tex_GetMainFileName(":p:r") + if mainfile != '' + exe 'bot 1 split '.mainfile + exe '1,/\s*\\begin{document}/w '.tmpfile + wincmd q + else + exe '1,/\s*\\begin{document}/w '.tmpfile + endif + + exe a:firstline.','.a:lastline."w! >> ".tmpfile + + " edit the temporary file + exec 'drop '.tmpfile + + " append the \end{document} line. + $ put ='\end{document}' + w + + " set this as a fragment file. + let b:fragmentFile = 1 + + silent! call RunLaTeX() + endfunction " }}} " ============================================================================== *************** *** 396,402 **** " land us on the error in a.tex. if errfile != '' ! exec 'bot pedit +/(\(\f\|\[\|\]\)*'.errfile.'/ '.a:filename.'.log' else ! exec 'bot pedit +0 '.a:filename.'.log' endif " Goto the preview window --- 411,417 ---- " land us on the error in a.tex. if errfile != '' ! exec 'bot pedit +/(\(\f\|\[\|\]\)*'.errfile.'/ '.a:filename else ! exec 'bot pedit +0 '.a:filename endif " Goto the preview window *************** *** 438,444 **** " " The position is both the correct line number and the column number. - " - " TODO: When there are multiple errors on the same line, this only takes you - " to the very first error every time. function! GotoErrorLocation(filename) --- 453,456 ---- *************** *** 447,450 **** --- 459,468 ---- " without applying any logic. exec "normal! \<enter>" + " If the log file is not found, then going to the correct line number is + " all we can do. + if glob(a:filename) == '' + return + endif + let winnum = winnr() " then come back to the quickfix window *************** *** 499,520 **** if has("gui") nnoremap <buffer> <Leader>ll :silent! call RunLaTeX()<cr> ! vnoremap <buffer> <Leader>lc :call Tex_PartCompilation("f","l","v")<cr> ! nnoremap <buffer> <Leader>lv :silent! call ViewLaTeX("all")<cr> ! nnoremap <buffer> <Leader>lp :silent! call ViewLaTeX("part")<cr> nnoremap <buffer> <Leader>ls :silent! call ForwardSearchLaTeX()<cr> else nnoremap <buffer> <Leader>ll :call RunLaTeX()<cr> ! vnoremap <buffer> <Leader>lc :call Tex_PartCompilation("f","l","v")<cr> ! nnoremap <buffer> <Leader>lv :call ViewLaTeX("all")<cr> ! nnoremap <buffer> <Leader>lp :call ViewLaTeX("part")<cr> nnoremap <buffer> <Leader>ls :call ForwardSearchLaTeX()<cr> end end endfunction " }}} augroup LatexSuite ! au LatexSuite User LatexSuiteFileType call <SID>SetCompilerMaps() augroup END " vim:fdm=marker:ff=unix:noet:ts=4:sw=4 --- 517,546 ---- if has("gui") nnoremap <buffer> <Leader>ll :silent! call RunLaTeX()<cr> ! vnoremap <buffer> <Leader>ll :call Tex_PartCompile()<cr> ! nnoremap <buffer> <Leader>lv :silent! call ViewLaTeX()<cr> nnoremap <buffer> <Leader>ls :silent! call ForwardSearchLaTeX()<cr> else nnoremap <buffer> <Leader>ll :call RunLaTeX()<cr> ! vnoremap <buffer> <Leader>ll :call Tex_PartCompile()<cr> ! nnoremap <buffer> <Leader>lv :call ViewLaTeX()<cr> nnoremap <buffer> <Leader>ls :call ForwardSearchLaTeX()<cr> end end + vnoremap <buffer> <silent> <Plug>Tex_PartCompile :call Tex_PartCompile()<CR> + if !hasmapto('<Plug>Tex_PartCompilation',"v") + vmap <buffer> <silent> <F10> <Plug>Tex_PartCompile + endif + endif + endfunction " }}} augroup LatexSuite ! au LatexSuite User LatexSuiteFileType ! \ call Tex_Debug('compiler.vim: Catching LatexSuiteFileType event') | ! \ call <SID>SetCompilerMaps() augroup END + + command! -nargs=0 -range=% TPartCompile :<line1>, <line2> silent! call Tex_PartCompile() " vim:fdm=marker:ff=unix:noet:ts=4:sw=4 Index: wizardfuncs.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/wizardfuncs.vim,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** wizardfuncs.vim 31 May 2003 17:51:15 -0000 1.16 --- wizardfuncs.vim 8 Jun 2003 22:14:55 -0000 1.17 *************** *** 235,298 **** " ============================================================================== - " Partial compilation and viewing output - " ============================================================================== - " - noremap <buffer> <silent> <Plug>Tex_PartCompilation :call Tex_PartCompilation("f","l","v")<CR> - - if !hasmapto('<Plug>Tex_PartCompilation',"v") - vmap <buffer> <silent> <F10> <Plug>Tex_PartCompilation - endif - - command! -nargs=0 -range TPartComp silent! call Tex_PartCompilation(<line1>,<line2>, "c") - command! -nargs=0 TPartView silent! call ViewLaTeX("part") - - " Tex_PartCompilation: compilation of selected fragment {{{ - function! Tex_PartCompilation(fline,lline,mode) range - - " Set partial compilation flag - let g:partcomp = 1 - " Save position - let pos = line('.').' | normal! '.virtcol('.').'|' - - " Create temporary file and save its name into global variable to use in - " compiler.vim - let tmpfile = tempname() - let g:tfile = tmpfile - let tmpfile = tmpfile.'.tex' - - "Create temporary file - " If mainfile exists open it in tiny window and extract preamble there, - " otherwise do it from current file - let mainfile = Tex_GetMainFileName(":p:r") - if mainfile != '' - exe 'bot 1 split '.mainfile - exe '1,/\s*\\begin{document}/w '.tmpfile - wincmd q - else - exe '1,/\s*\\begin{document}/w '.tmpfile - endif - " Write range to file, check how it works with marks, range and //,// - if a:mode == 'v' - exe a:firstline.','.a:lastline."w! >> ".tmpfile - else - exe a:fline.','.a:lline."w! >> ".tmpfile - endif - " Add \end{document} to temporary file. Is it really the only way? - let _clipboard = @c - let @c = '\end{document}' - exe 'redir >> '.tmpfile - echo @c - redir END - let @c = _clipboard - - silent! call RunLaTeX() - - " Unlet partial compilation flag for not interfering with normal - " compilation. Maybe argument for RunLaTeX() is better? - unlet g:partcomp - - endfunction " }}} - - " ============================================================================== " Tables of shortcuts " ============================================================================== --- 235,238 ---- |
From: <sri...@us...> - 2003-06-08 20:25:54
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv16868 Modified Files: envmacros.vim Log Message: Bug: syntax error made the maps in envmacros.vim get triggered only for the first buffer which latex-suite triggered on. Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** envmacros.vim 6 Jun 2003 22:53:52 -0000 1.31 --- envmacros.vim 8 Jun 2003 20:25:50 -0000 1.32 *************** *** 1058,1064 **** " Catch the Filetype event so we set maps for each buffer {{{ augroup LatexSuite ! augroup LatexSuite User LatexSuiteFileType ! \ | call Tex_Debug('envmacros.vim: catching LatexSuiteFileType') ! \ | call s:SetEnvMacrosOptions() augroup END " }}} --- 1058,1064 ---- " Catch the Filetype event so we set maps for each buffer {{{ augroup LatexSuite ! au LatexSuite User LatexSuiteFileType ! \ call Tex_Debug('envmacros.vim: Catching LatexSuiteFileType event') | ! \ call s:SetEnvMacrosOptions() augroup END " }}} |
From: <sri...@us...> - 2003-06-07 21:02:27
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory sc8-pr-cvs1:/tmp/cvs-serv24873 Modified Files: texviewer.vim Log Message: Bug: <F9> did not work with the following \includegraphics[0.8\columnwidth]{} because the regexp thought that s:type = '\columnwidth]' Improved the regexp to account for commands within options. Still not tested extensively, but should be better than before. Bug: "wincmd q" does not always seem to work from within the script (this is a vim bug). replace with q which seems more reliable. Index: texviewer.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/texviewer.vim,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** texviewer.vim 7 Jun 2003 10:39:24 -0000 1.17 --- texviewer.vim 7 Jun 2003 21:02:23 -0000 1.18 *************** *** 63,69 **** let s:curline = strpart(getline('.'), col('.') - 40, 40) let s:prefix = matchstr(s:curline, '.*{\zs.\{-}$') ! let s:type = matchstr(s:curline, '.*\\\zs.\{-}\ze{.\{-}$') ! let s:typeoption = matchstr(s:type, '\zs[.*]\ze') ! let s:type = substitute(s:type, '[.*', '', 'e') if exists("s:type") && s:type =~ 'ref' --- 63,77 ---- let s:curline = strpart(getline('.'), col('.') - 40, 40) let s:prefix = matchstr(s:curline, '.*{\zs.\{-}$') ! " a command is of the type ! " \includegraphics[0.8\columnwidth]{} ! " Thus ! " s:curline = '\includegraphics[0.8\columnwidth]{' ! " (with possibly some junk before \includegraphics) ! " from which we need to extract ! " s:type = 'includegraphics' ! " s:typeoption = '[0.8\columnwidth]' ! let pattern = '.*\\\(\w\{-}\)\(\[.\{-}\]\)\?{$' ! let s:type = substitute(s:curline, pattern, '\1', 'e') ! let s:typeoption = substitute(s:curline, pattern, '\2', 'e') if exists("s:type") && s:type =~ 'ref' *************** *** 332,339 **** cclose elseif a:type =~ 'expl_ext\|expl_noext' ! wincmd q endif exe s:pos " Complete word, check if add closing } --- 340,348 ---- cclose elseif a:type =~ 'expl_ext\|expl_noext' ! q endif exe s:pos + " Complete word, check if add closing } |
From: <sri...@us...> - 2003-06-07 10:39:27
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory sc8-pr-cvs1:/tmp/cvs-serv31098 Modified Files: texviewer.vim Log Message: Bug: <F9> for inserting references does not work in standard vim + cygwin combination for windows. Cause: Vim issues commands via the vimrun.exe program which calls the cygwin bash shell in the following manner: bash -c "command" when we do ":!command" from within vim. With the current setup we issue the command !fgrep "\\label{" *.tex > c:/TEMP/VIe12.tmp This gets converted into bash -c "fgrep "\\label{" *.tex > c:/TEMP/VIe12.tmp" by vimrun.exe. This causes all sorts of confusion. Solution: Avoid issuing commands which contain double quotes otherwise vimrun.exe screws up. Convert the grep commands to grep '\label{' *.tex from grep "\\label{" *.tex NOTE: the backslash escaping still needs to be done due to the outer double quotes in the exec statement. Index: texviewer.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/texviewer.vim,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** texviewer.vim 28 May 2003 11:11:22 -0000 1.16 --- texviewer.vim 7 Jun 2003 10:39:24 -0000 1.17 *************** *** 68,72 **** if exists("s:type") && s:type =~ 'ref' ! exe 'silent! grep! "\\label{'.s:prefix.'" '.s:search_directory.'*.tex' call <SID>Tex_c_window_setup() --- 68,72 ---- if exists("s:type") && s:type =~ 'ref' ! exe "silent! grep! '\\label{".s:prefix."' ".s:search_directory.'*.tex' call <SID>Tex_c_window_setup() *************** *** 76,84 **** let bblfiles = <SID>Tex_FindBblFiles() if bibfiles != '' ! exe 'silent! grepadd! "@.*{'.s:prefix.'" '.bibfiles ! let g:bbb = 'silent! grepadd! "@.*{'.s:prefix.'" '.bibfiles endif if bblfiles != '' ! exe 'silent! grepadd! "bibitem{'.s:prefix.'" '.bblfiles endif call <SID>Tex_c_window_setup() --- 76,84 ---- let bblfiles = <SID>Tex_FindBblFiles() if bibfiles != '' ! exe "silent! grepadd! '@.*{".s:prefix."' ".bibfiles ! let g:bbb = "silent! grepadd! '@.*{".s:prefix."' ".bibfiles endif if bblfiles != '' ! exe "silent! grepadd! 'bibitem{".s:prefix."' ".bblfiles endif call <SID>Tex_c_window_setup() *************** *** 125,129 **** endif endif ! exe 'silent! grep! "\<' . s:word . '" '.s:search_directory.'*.tex' call <SID>Tex_c_window_setup() --- 125,129 ---- endif endif ! exe "silent! grep! '\<".s:word."' ".s:search_directory.'*.tex' call <SID>Tex_c_window_setup() *************** *** 132,147 **** elseif a:where == 'tex' " Process :TLook command ! exe 'silent! grep! "'.a:what.'" '.s:search_directory.'*.tex' call <SID>Tex_c_window_setup() elseif a:where == 'bib' " Process :TLookBib command ! exe 'silent! grep! "'.a:what.'" '.s:search_directory.'*.bib' ! exe 'silent! grepadd! "'.a:what.'" '.s:search_directory.'*.bbl' call <SID>Tex_c_window_setup() elseif a:where == 'all' " Process :TLookAll command ! exe 'silent! grep! "'.a:what.'" '.s:search_directory.'*' call <SID>Tex_c_window_setup() --- 132,147 ---- elseif a:where == 'tex' " Process :TLook command ! exe "silent! grep! '".a:what."' ".s:search_directory.'*.tex' call <SID>Tex_c_window_setup() elseif a:where == 'bib' " Process :TLookBib command ! exe "silent! grep! '".a:what."' ".s:search_directory.'*.bib' ! exe "silent! grepadd! '".a:what."' ".s:search_directory.'*.bbl' call <SID>Tex_c_window_setup() elseif a:where == 'all' " Process :TLookAll command ! exe "silent! grep! '".a:what."' ".s:search_directory.'*' call <SID>Tex_c_window_setup() |
From: <mi...@us...> - 2003-06-06 22:53:56
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv25907 Modified Files: envmacros.vim Log Message: omitted g: before one test for g:Tex_UseMenuWizard in inserting of environments Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** envmacros.vim 28 May 2003 09:15:48 -0000 1.30 --- envmacros.vim 6 Jun 2003 22:53:52 -0000 1.31 *************** *** 394,398 **** " Tex_tabular: {{{ function! Tex_tabular(env) ! if Tex_UseMenuWizard == 1 let pos = input('(Optional) Position (t b)? ') let format = input("Format ( l r c p{width} | @{text} )? ") --- 394,398 ---- " Tex_tabular: {{{ function! Tex_tabular(env) ! if g:Tex_UseMenuWizard == 1 let pos = input('(Optional) Position (t b)? ') let format = input("Format ( l r c p{width} | @{text} )? ") |
From: <sri...@us...> - 2003-06-05 18:35:11
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv16693 Modified Files: compiler.vim Log Message: Bug: The recent change with "escaping" the special characters in PositionPreviewWindow messes up movement in the Error list window. Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** compiler.vim 4 Jun 2003 09:52:41 -0000 1.36 --- compiler.vim 5 Jun 2003 18:16:28 -0000 1.37 *************** *** 396,401 **** " land us on the error in a.tex. if errfile != '' ! "exec 'bot pedit +/(\(\f\|\[\|\]\)*'.errfile.'/ '.a:filename.'.log' ! exec 'bot pedit +/(\\(\\f\\|\\[\\|\\]\\)\*'.errfile.'/ '.a:filename.'.log' else exec 'bot pedit +0 '.a:filename.'.log' --- 396,400 ---- " land us on the error in a.tex. if errfile != '' ! exec 'bot pedit +/(\(\f\|\[\|\]\)*'.errfile.'/ '.a:filename.'.log' else exec 'bot pedit +0 '.a:filename.'.log' |
From: <mi...@us...> - 2003-06-04 09:52:44
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv19211 Modified Files: compiler.vim Log Message: add slashes te escape special characters in UpdateWindow Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** compiler.vim 3 Jun 2003 11:17:18 -0000 1.35 --- compiler.vim 4 Jun 2003 09:52:41 -0000 1.36 *************** *** 396,400 **** " land us on the error in a.tex. if errfile != '' ! exec 'bot pedit +/(\(\f\|\[\|\]\)*'.errfile.'/ '.a:filename.'.log' else exec 'bot pedit +0 '.a:filename.'.log' --- 396,401 ---- " land us on the error in a.tex. if errfile != '' ! "exec 'bot pedit +/(\(\f\|\[\|\]\)*'.errfile.'/ '.a:filename.'.log' ! exec 'bot pedit +/(\\(\\f\\|\\[\\|\\]\\)\*'.errfile.'/ '.a:filename.'.log' else exec 'bot pedit +0 '.a:filename.'.log' |
From: <mi...@us...> - 2003-06-03 11:17:27
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv11041 Modified Files: compiler.vim Log Message: endif was missed Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** compiler.vim 3 Jun 2003 09:45:32 -0000 1.34 --- compiler.vim 3 Jun 2003 11:17:18 -0000 1.35 *************** *** 147,150 **** --- 147,151 ---- if mainfname == '' let mainfname = expand("%:t") + endif exec 'make '.mainfname endif |
From: <mi...@us...> - 2003-06-03 09:45:39
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv13579 Modified Files: compiler.vim Log Message: Bug: Srinath: but your patch makes impossible to distinguish between various extenstions of LaTeX files - .tex, .ltx and so on Solution: use not :r files for compiling but remove extension when dealing with quickfix window But with both versions I have serious bug: when walking with j, k and <cr> through list of errors I am getting message: PositionPreviewWindow: Line 62: E486: Pattern not found: ((f|[|])*myfile.tex Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** compiler.vim 3 Jun 2003 05:58:21 -0000 1.33 --- compiler.vim 3 Jun 2003 09:45:32 -0000 1.34 *************** *** 129,132 **** --- 129,133 ---- redraw! else + let mainfname = Tex_GetMainFileName() " if a makefile and no *.latexmain exists, just use the make utility " this also sets mainfname for the rest of the function *************** *** 145,150 **** " construct a main file. if mainfname == '' ! let mainfname = expand("%:t:r") ! endif exec 'make '.mainfname endif --- 146,150 ---- " construct a main file. if mainfname == '' ! let mainfname = expand("%:t") exec 'make '.mainfname endif *************** *** 159,170 **** cclose cwindow " if we moved to a different window, then it means we had some errors. ! if winnum != winnr() && glob(mainfname.'.log') != '' ! call UpdatePreviewWindow(mainfname) ! exe 'nnoremap <buffer> <silent> j j:call UpdatePreviewWindow("'.mainfname.'")<CR>' ! exe 'nnoremap <buffer> <silent> k k:call UpdatePreviewWindow("'.mainfname.'")<CR>' ! exe 'nnoremap <buffer> <silent> <up> <up>:call UpdatePreviewWindow("'.mainfname.'")<CR>' ! exe 'nnoremap <buffer> <silent> <down> <down>:call UpdatePreviewWindow("'.mainfname.'")<CR>' ! exe 'nnoremap <buffer> <silent> <enter> :call GotoErrorLocation("'.mainfname.'")<CR>' setlocal nowrap --- 159,172 ---- cclose cwindow + " remove extension from mainfname + let mfnlog = fnamemodify(mainfname, ":r") " if we moved to a different window, then it means we had some errors. ! if winnum != winnr() && glob(mfnlog.'.log') != '' ! call UpdatePreviewWindow(mfnlog) ! exe 'nnoremap <buffer> <silent> j j:call UpdatePreviewWindow("'.mfnlog.'")<CR>' ! exe 'nnoremap <buffer> <silent> k k:call UpdatePreviewWindow("'.mfnlog.'")<CR>' ! exe 'nnoremap <buffer> <silent> <up> <up>:call UpdatePreviewWindow("'.mfnlog.'")<CR>' ! exe 'nnoremap <buffer> <silent> <down> <down>:call UpdatePreviewWindow("'.mfnlog.'")<CR>' ! exe 'nnoremap <buffer> <silent> <enter> :call GotoErrorLocation("'.mfnlog.'")<CR>' setlocal nowrap *************** *** 172,176 **** " resize the window to just fit in with the number of lines. exec ( line('$') < 4 ? line('$') : 4 ).' wincmd _' ! call GotoErrorLocation(mainfname) endif --- 174,178 ---- " resize the window to just fit in with the number of lines. exec ( line('$') < 4 ? line('$') : 4 ).' wincmd _' ! call GotoErrorLocation(mfnlog) endif |
From: <sri...@us...> - 2003-06-03 06:05:37
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv32765 Modified Files: compiler.vim Log Message: Bug: the preview window with the .log window was not being opened on compilation error. Cause: We used to depend on the file's suffix being removed for a lot of processing. A recent change seems to have reversed this. Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** compiler.vim 1 Jun 2003 23:23:43 -0000 1.32 --- compiler.vim 3 Jun 2003 05:58:21 -0000 1.33 *************** *** 129,133 **** redraw! else - let mainfname = Tex_GetMainFileName() " if a makefile and no *.latexmain exists, just use the make utility " this also sets mainfname for the rest of the function --- 129,132 ---- *************** *** 146,150 **** " construct a main file. if mainfname == '' ! let mainfname = expand("%:t") endif exec 'make '.mainfname --- 145,149 ---- " construct a main file. if mainfname == '' ! let mainfname = expand("%:t:r") endif exec 'make '.mainfname |
From: <mi...@us...> - 2003-06-02 13:39:39
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv23998 Modified Files: texrc Log Message: Remove hardcoded .tex extension in CompilerRule_pdf - after removing :r in RunLatex it was doubling extension to myfile.tex.tex. NOTE: update of personal texrc is required! (Animesh N Nerurkar) Index: texrc =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texrc,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** texrc 24 May 2003 22:20:31 -0000 1.26 --- texrc 2 Jun 2003 13:39:35 -0000 1.27 *************** *** 91,95 **** " 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' --- 91,95 ---- " NOTE: pdflatex generates the same output as latex. therefore quickfix is " possible. ! TexLet g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode $*' " TexLet g:Tex_CompileRule_pdf = 'ps2pdf $*.ps' |
From: <mi...@us...> - 2003-06-02 13:39:32
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv23975 Modified Files: ChangeLog Log Message: update Index: ChangeLog =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ChangeLog 1 Jun 2003 23:23:30 -0000 1.5 --- ChangeLog 2 Jun 2003 13:39:26 -0000 1.6 *************** *** 44,45 **** --- 44,51 ---- Solution: Add redraw! after calling compilers and viewers (partial implementation of JT patch, MM) + * texrc: + Problem: Compiling pdf didn't succed because of double file extension, + eg. myfile.tex.tex (Animesh N Nerurkar) + Solution: Remove hardcoded .tex in CompilerRule_pdf. NOTE: Update of + personal texrc is required! (Animesh N Nerurkar) + |
From: <mi...@us...> - 2003-06-01 23:23:46
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv5330 Modified Files: compiler.vim Log Message: refresh screen after View and Compile -redraw! - suggestion from Jess Thrysoee Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** compiler.vim 29 May 2003 12:48:13 -0000 1.31 --- compiler.vim 1 Jun 2003 23:23:43 -0000 1.32 *************** *** 127,130 **** --- 127,131 ---- exec 'make '.g:tfile exe 'lcd '.curdir + redraw! else let mainfname = Tex_GetMainFileName() *************** *** 149,152 **** --- 150,154 ---- exec 'make '.mainfname endif + redraw! endif *************** *** 242,245 **** --- 244,248 ---- endif endif + redraw! else if a:size == "all" *************** *** 248,251 **** --- 251,255 ---- exec '!'.s:viewer.' '.g:tfile.'.'.s:target.' &' endif + redraw! endif end *************** *** 305,308 **** --- 309,313 ---- exec '!kdvi --unique file:'.mainfname.'.dvi\#src:'.line('.').Tex_GetMainFileName(":p:t:r").' &' endif + redraw! end |
From: <mi...@us...> - 2003-06-01 23:23:34
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv5287 Modified Files: ChangeLog Log Message: updates Index: ChangeLog =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ChangeLog 29 May 2003 12:48:15 -0000 1.4 --- ChangeLog 1 Jun 2003 23:23:30 -0000 1.5 *************** *** 20,33 **** Add ChangeLog file in ftplugin/latex-suite directory (MM) * wizardfuncs.vim, latex-suite.txt: ! Tshortcuts - new command show various shortcuts (MM) * latex-suite.txt: More cross-references with main Vim help, corrected mispells (MM) * texmenuconf.vim: Show value of <mapleader> in General menu instead of hardcoded \ (it ! caused confusion) (MM) Bugfixes * compiler.vim: ! Compile file with current file expansion, not always .tex file (MM) * texviewer.vim: ! Check if s:type exists in UpdateViewerWindow (MM) --- 20,45 ---- Add ChangeLog file in ftplugin/latex-suite directory (MM) * wizardfuncs.vim, latex-suite.txt: ! Tshortcuts - new command show various shortcuts (MM, SA) * latex-suite.txt: More cross-references with main Vim help, corrected mispells (MM) * texmenuconf.vim: Show value of <mapleader> in General menu instead of hardcoded \ (it ! caused confusion) (MM, SA) ! * texmenuconf.vim, mathmacros.vim: ! Add accels for for Suite, Elements end Environments menus. ! Changed accel in Math (Animesh Nerurkar) Bugfixes * compiler.vim: ! Problem: Compile file with current file expansion, not always .tex ! file (Animesh N Nerurkar) ! Solution: When looking for file to compile don't remove extension (if ! *.latexmain doesn't exist) (MM) * texviewer.vim: ! Problem: :TLook doesn't work (Animesh N Nerurkar) ! Solution: Check if s:type exists in UpdateViewerWindow (MM) ! * compiler.vim: ! Problem: Text is messed after calling external command in terminal ! version of Vim (Jess Thrysoee) ! Solution: Add redraw! after calling compilers and viewers (partial ! implementation of JT patch, MM) |
From: <mi...@us...> - 2003-05-31 18:06:32
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv12024 Modified Files: wizardfuncs.vim Log Message: Replace g:Tex_Leader with <Leader> Index: wizardfuncs.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/wizardfuncs.vim,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** wizardfuncs.vim 30 May 2003 04:30:52 -0000 1.15 --- wizardfuncs.vim 31 May 2003 17:51:15 -0000 1.16 *************** *** 332,336 **** let g:generalshortcuts = '' \."\n General shortcuts" ! \."\n <mapleader> is a value of g:Tex_Leader" \."\n ".s:mapleader.'ll compile whole document' \."\n ".s:mapleader.'lv view compiled document' --- 332,336 ---- let g:generalshortcuts = '' \."\n General shortcuts" ! \."\n <mapleader> is a value of <Leader>" \."\n ".s:mapleader.'ll compile whole document' \."\n ".s:mapleader.'lv view compiled document' |
From: <mi...@us...> - 2003-05-31 17:47:37
|
Update of /cvsroot/vim-latex/vimfiles In directory sc8-pr-cvs1:/tmp/cvs-serv10705 Modified Files: makefile Log Message: remove temporary catalog for creating tar.gz - there can be garbage which can be inserted in next latexSuite* Index: makefile =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/makefile,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** makefile 26 May 2003 08:56:22 -0000 1.14 --- makefile 31 May 2003 17:47:31 -0000 1.15 *************** *** 29,32 **** --- 29,33 ---- # Now to make a tar.gz file from the .zip file. + rm -rf $(TMP)/latexSuite0793 mkdir -p $(TMP)/latexSuite0793 cp latexSuite.zip $(TMP)/latexSuite0793/ |
From: <sri...@us...> - 2003-05-30 04:34:34
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv5151 Modified Files: texmenuconf.vim wizardfuncs.vim Log Message: Bug: undefined mapleader variable causes crashes. Solution: Instead use s:mapleader which defaults to '\' if mapleader does not exist. Index: texmenuconf.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texmenuconf.vim,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** texmenuconf.vim 29 May 2003 08:19:46 -0000 1.15 --- texmenuconf.vim 30 May 2003 04:30:52 -0000 1.16 *************** *** 10,13 **** --- 10,14 ---- let s:up_path = expand("<sfile>:p:h:h") let s:mainmenuname = g:Tex_MenuPrefix.'S&uite.' + let s:mapleader = exists('mapleader') ? mapleader : "\\" if g:Tex_NestPackagesMenu *************** *** 34,46 **** " menus for compiling / viewing etc. ! exec 'anoremenu 80.30 '.s:mainmenuname.'&Compile<tab>'.mapleader.'ll'. \' :silent! call RunLaTeX()<CR>' ! exec 'vnoremenu 80.35 '.s:mainmenuname.'Compile&Part<tab>'.mapleader.'lc'. \' :call Tex_PartCompilation("f","l","v")<CR>' ! exec 'anoremenu 80.40 '.s:mainmenuname.'&View<tab>'.mapleader.'lv'. \' :silent! call ViewLaTeX("all")<CR>' ! exec 'anoremenu 80.45 '.s:mainmenuname.'Vi&ewPart<tab>'.mapleader.'lp'. \' :silent! call ViewLaTeX("part")<CR>' ! exec 'anoremenu 80.50 '.s:mainmenuname.'&Search<tab>'.mapleader.'ls'. \' :silent! call ForwardSearchLaTeX()<CR>' exec 'anoremenu 80.60 '.s:mainmenuname.'&Target\ Format<tab>:TTarget'. --- 35,47 ---- " menus for compiling / viewing etc. ! exec 'anoremenu 80.30 '.s:mainmenuname.'&Compile<tab>'.s:mapleader.'ll'. \' :silent! call RunLaTeX()<CR>' ! exec 'vnoremenu 80.35 '.s:mainmenuname.'Compile&Part<tab>'.s:mapleader.'lc'. \' :call Tex_PartCompilation("f","l","v")<CR>' ! exec 'anoremenu 80.40 '.s:mainmenuname.'&View<tab>'.s:mapleader.'lv'. \' :silent! call ViewLaTeX("all")<CR>' ! exec 'anoremenu 80.45 '.s:mainmenuname.'Vi&ewPart<tab>'.s:mapleader.'lp'. \' :silent! call ViewLaTeX("part")<CR>' ! exec 'anoremenu 80.50 '.s:mainmenuname.'&Search<tab>'.s:mapleader.'ls'. \' :silent! call ForwardSearchLaTeX()<CR>' exec 'anoremenu 80.60 '.s:mainmenuname.'&Target\ Format<tab>:TTarget'. *************** *** 64,68 **** " refreshing folds if g:Tex_Folding ! exec 'anoremenu 80.120 '.s:mainmenuname.'&Refresh\ Folds<tab>'.mapleader.'rf'. \' :call MakeTexFolds(1)<CR>' exec 'anoremenu 80.130 '.s:mainmenuname.'-sepsuite2- :' --- 65,69 ---- " refreshing folds if g:Tex_Folding ! exec 'anoremenu 80.120 '.s:mainmenuname.'&Refresh\ Folds<tab>'.s:mapleader.'rf'. \' :call MakeTexFolds(1)<CR>' exec 'anoremenu 80.130 '.s:mainmenuname.'-sepsuite2- :' Index: wizardfuncs.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/wizardfuncs.vim,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** wizardfuncs.vim 28 May 2003 11:11:08 -0000 1.14 --- wizardfuncs.vim 30 May 2003 04:30:52 -0000 1.15 *************** *** 12,15 **** --- 12,17 ---- endif let s:doneOnce = 1 + + let s:mapleader = exists('mapleader') ? mapleader : "\\" " ============================================================================== " Specialized functions for handling sections from command line *************** *** 331,339 **** \."\n General shortcuts" \."\n <mapleader> is a value of g:Tex_Leader" ! \."\n ".mapleader.'ll compile whole document' ! \."\n ".mapleader.'lv view compiled document' ! \."\n ".mapleader.'lp view last compiled part of document' ! \."\n ".mapleader.'ls make forward searching if possible' ! \."\n ".mapleader.'rf refresh folds' " }}} " Environment shortcuts {{{ --- 333,341 ---- \."\n General shortcuts" \."\n <mapleader> is a value of g:Tex_Leader" ! \."\n ".s:mapleader.'ll compile whole document' ! \."\n ".s:mapleader.'lv view compiled document' ! \."\n ".s:mapleader.'lp view last compiled part of document' ! \."\n ".s:mapleader.'ls make forward searching if possible' ! \."\n ".s:mapleader.'rf refresh folds' " }}} " Environment shortcuts {{{ |
From: <mi...@us...> - 2003-05-29 12:48:19
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv12297 Modified Files: ChangeLog Log Message: update Index: ChangeLog =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/ChangeLog,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ChangeLog 29 May 2003 08:19:26 -0000 1.3 --- ChangeLog 29 May 2003 12:48:15 -0000 1.4 *************** *** 12,15 **** --- 12,18 ---- Added support for regular viewing and forward searching for kdvi (KDE viewer of .dvi files) (MM) + * compiler.vim: + Show default target enclosed in [] after calling :TTarget, :TCTarget + or :TVTarget. Allow no argument for :TTarget. * mathmacros.vim, main.vim, texrc, latex-suite.txt: Added utf-8 menus for math (MM) |
From: <mi...@us...> - 2003-05-29 12:48:16
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv12245 Modified Files: compiler.vim Log Message: allow TTarget accept no arguments and show possible choices with default enclosed in [] Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** compiler.vim 29 May 2003 10:43:31 -0000 1.30 --- compiler.vim 29 May 2003 12:48:13 -0000 1.31 *************** *** 61,65 **** function! SetTeXTarget(...) if a:0 < 1 ! let target = input('Enter target for compiler and viewer ([dvi]/ps/pdf/...) :') else let target = a:1 --- 61,73 ---- function! SetTeXTarget(...) if a:0 < 1 ! if g:Tex_DefaultTargetFormat == 'dvi' ! let target = input('Enter the target for compiler and viewer ([dvi]/ps/pdf/...): ') ! elseif g:Tex_DefaultTargetFormat == 'ps' ! let target = input('Enter the target for compiler and viewer (dvi/[ps]/pdf/...): ') ! elseif g:Tex_DefaultTargetFormat =~ 'pdf' ! let target = input('Enter the target for compiler and viewer (dvi/ps/[pdf]/...): ') ! else ! let target = input('Enter the target for compiler and viewer (dvi/ps/pdf/['.g:Tex_DefaultTargetFormat.']): ') ! endif else let target = a:1 *************** *** 74,78 **** com! -nargs=1 TCTarget :call SetTeXCompilerTarget('Compile', <f-args>) com! -nargs=1 TVTarget :call SetTeXCompilerTarget('View', <f-args>) ! com! -nargs=1 TTarget :call SetTeXTarget(<f-args>) " }}} --- 82,86 ---- com! -nargs=1 TCTarget :call SetTeXCompilerTarget('Compile', <f-args>) com! -nargs=1 TVTarget :call SetTeXCompilerTarget('View', <f-args>) ! com! -nargs=? TTarget :call SetTeXTarget(<f-args>) " }}} |
From: <mi...@us...> - 2003-05-29 10:43:35
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv4742 Modified Files: compiler.vim Log Message: show value of g:Tex_DefaultTargetFormat if not one of: dvi,ps,pdf Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** compiler.vim 29 May 2003 08:19:41 -0000 1.29 --- compiler.vim 29 May 2003 10:43:31 -0000 1.30 *************** *** 17,21 **** let target = input('Enter the target (dvi/ps/[pdf]/...) for '.a:type.'r: ') else ! let target = input('Enter the target (dvi/ps/pdf/[...]) for '.a:type.'r: ') endif else --- 17,21 ---- let target = input('Enter the target (dvi/ps/[pdf]/...) for '.a:type.'r: ') else ! let target = input('Enter the target (dvi/ps/pdf/['.g:Tex_DefaultTargetFormat.']) for '.a:type.'r: ') endif else |
From: <mi...@us...> - 2003-05-29 08:19:49
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv24650 Modified Files: texmenuconf.vim Log Message: correct mispell which caused bug: s/mapleaer/mapleader/ Index: texmenuconf.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texmenuconf.vim,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** texmenuconf.vim 28 May 2003 11:11:16 -0000 1.14 --- texmenuconf.vim 29 May 2003 08:19:46 -0000 1.15 *************** *** 36,40 **** exec 'anoremenu 80.30 '.s:mainmenuname.'&Compile<tab>'.mapleader.'ll'. \' :silent! call RunLaTeX()<CR>' ! exec 'vnoremenu 80.35 '.s:mainmenuname.'Compile&Part<tab>'.mapleaer.'lc'. \' :call Tex_PartCompilation("f","l","v")<CR>' exec 'anoremenu 80.40 '.s:mainmenuname.'&View<tab>'.mapleader.'lv'. --- 36,40 ---- exec 'anoremenu 80.30 '.s:mainmenuname.'&Compile<tab>'.mapleader.'ll'. \' :silent! call RunLaTeX()<CR>' ! exec 'vnoremenu 80.35 '.s:mainmenuname.'Compile&Part<tab>'.mapleader.'lc'. \' :call Tex_PartCompilation("f","l","v")<CR>' exec 'anoremenu 80.40 '.s:mainmenuname.'&View<tab>'.mapleader.'lv'. *************** *** 64,68 **** " refreshing folds if g:Tex_Folding ! exec 'anoremenu 80.120 '.s:mainmenuname.'&Refresh\ Folds<tab>'.mapleaer.'rf'. \' :call MakeTexFolds(1)<CR>' exec 'anoremenu 80.130 '.s:mainmenuname.'-sepsuite2- :' --- 64,68 ---- " refreshing folds if g:Tex_Folding ! exec 'anoremenu 80.120 '.s:mainmenuname.'&Refresh\ Folds<tab>'.mapleader.'rf'. \' :call MakeTexFolds(1)<CR>' exec 'anoremenu 80.130 '.s:mainmenuname.'-sepsuite2- :' |
From: <mi...@us...> - 2003-05-29 08:19:47
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv24604 Modified Files: compiler.vim Log Message: TCTarget from menu show now correct value of DefaultTarget enclosed in [] Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** compiler.vim 24 May 2003 14:37:09 -0000 1.28 --- compiler.vim 29 May 2003 08:19:41 -0000 1.29 *************** *** 10,14 **** function! SetTeXCompilerTarget(type, target) if a:target == '' ! let target = input('Enter the target ([dvi]/ps/pdf/...) for '.a:type.'r:') else let target = a:target --- 10,22 ---- function! SetTeXCompilerTarget(type, target) if a:target == '' ! if g:Tex_DefaultTargetFormat == 'dvi' ! let target = input('Enter the target ([dvi]/ps/pdf/...) for '.a:type.'r: ') ! elseif g:Tex_DefaultTargetFormat == 'ps' ! let target = input('Enter the target (dvi/[ps]/pdf/...) for '.a:type.'r: ') ! elseif g:Tex_DefaultTargetFormat =~ 'pdf' ! let target = input('Enter the target (dvi/ps/[pdf]/...) for '.a:type.'r: ') ! else ! let target = input('Enter the target (dvi/ps/pdf/[...]) for '.a:type.'r: ') ! endif else let target = a:target |
From: <mi...@us...> - 2003-05-29 08:19:30
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv24549 Modified Files: ChangeLog Log Message: update Index: ChangeLog =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog 28 May 2003 11:11:09 -0000 1.2 --- ChangeLog 29 May 2003 08:19:26 -0000 1.3 *************** *** 19,23 **** Tshortcuts - new command show various shortcuts (MM) * latex-suite.txt: ! more cross-references with main Vim help, corrected mispells (MM) Bugfixes --- 19,26 ---- Tshortcuts - new command show various shortcuts (MM) * latex-suite.txt: ! More cross-references with main Vim help, corrected mispells (MM) ! * texmenuconf.vim: ! Show value of <mapleader> in General menu instead of hardcoded \ (it ! caused confusion) (MM) Bugfixes |
From: <mi...@us...> - 2003-05-28 11:25:44
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv3924 Modified Files: texmenuconf.vim Log Message: replace \\ in TeX-Suite menu with mapleader value - it often cause problems if someone change it in other places Index: texmenuconf.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texmenuconf.vim,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** texmenuconf.vim 19 May 2003 14:51:19 -0000 1.13 --- texmenuconf.vim 28 May 2003 11:11:16 -0000 1.14 *************** *** 34,46 **** " menus for compiling / viewing etc. ! exec 'anoremenu 80.30 '.s:mainmenuname.'&Compile<tab>\\ll'. \' :silent! call RunLaTeX()<CR>' ! exec 'vnoremenu 80.35 '.s:mainmenuname.'Compile&Part<tab>\\lc'. \' :call Tex_PartCompilation("f","l","v")<CR>' ! exec 'anoremenu 80.40 '.s:mainmenuname.'&View<tab>\\lv'. \' :silent! call ViewLaTeX("all")<CR>' ! exec 'anoremenu 80.45 '.s:mainmenuname.'Vi&ewPart<tab>\\lp'. \' :silent! call ViewLaTeX("part")<CR>' ! exec 'anoremenu 80.50 '.s:mainmenuname.'&Search<tab>\\ls'. \' :silent! call ForwardSearchLaTeX()<CR>' exec 'anoremenu 80.60 '.s:mainmenuname.'&Target\ Format<tab>:TTarget'. --- 34,46 ---- " menus for compiling / viewing etc. ! exec 'anoremenu 80.30 '.s:mainmenuname.'&Compile<tab>'.mapleader.'ll'. \' :silent! call RunLaTeX()<CR>' ! exec 'vnoremenu 80.35 '.s:mainmenuname.'Compile&Part<tab>'.mapleaer.'lc'. \' :call Tex_PartCompilation("f","l","v")<CR>' ! exec 'anoremenu 80.40 '.s:mainmenuname.'&View<tab>'.mapleader.'lv'. \' :silent! call ViewLaTeX("all")<CR>' ! exec 'anoremenu 80.45 '.s:mainmenuname.'Vi&ewPart<tab>'.mapleader.'lp'. \' :silent! call ViewLaTeX("part")<CR>' ! exec 'anoremenu 80.50 '.s:mainmenuname.'&Search<tab>'.mapleader.'ls'. \' :silent! call ForwardSearchLaTeX()<CR>' exec 'anoremenu 80.60 '.s:mainmenuname.'&Target\ Format<tab>:TTarget'. *************** *** 64,68 **** " refreshing folds if g:Tex_Folding ! exec 'anoremenu 80.120 '.s:mainmenuname.'&Refresh\ Folds<tab>\\rf'. \' :call MakeTexFolds(1)<CR>' exec 'anoremenu 80.130 '.s:mainmenuname.'-sepsuite2- :' --- 64,68 ---- " refreshing folds if g:Tex_Folding ! exec 'anoremenu 80.120 '.s:mainmenuname.'&Refresh\ Folds<tab>'.mapleaer.'rf'. \' :call MakeTexFolds(1)<CR>' exec 'anoremenu 80.130 '.s:mainmenuname.'-sepsuite2- :' |
From: <mi...@us...> - 2003-05-28 11:11:26
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory sc8-pr-cvs1:/tmp/cvs-serv3923 Modified Files: texviewer.vim Log Message: check if s:type exists in UpdateViewerWindow Index: texviewer.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/texviewer.vim,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** texviewer.vim 19 May 2003 14:50:44 -0000 1.15 --- texviewer.vim 28 May 2003 11:11:22 -0000 1.16 *************** *** 263,267 **** setlocal foldlevel=10 ! if s:type =~ 'cite' " In cite context place bibkey at the top of preview window. setlocal scrolloff=0 --- 263,267 ---- setlocal foldlevel=10 ! if exists('s:type') && s:type =~ 'cite' " In cite context place bibkey at the top of preview window. setlocal scrolloff=0 |