vim-latex-cvs Mailing List for Vim-Latex (Page 28)
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: <mi...@us...> - 2003-01-09 15:31:47
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv18252 Modified Files: envmacros.vim Log Message: - <F5> key works for environments also in visual mode Only for environments, in preamble <F5> is ignored. - :g/Last Change/s/.*/" CVS Header: $Header$/ Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** envmacros.vim 5 Jan 2003 08:36:17 -0000 1.17 --- envmacros.vim 9 Jan 2003 15:31:36 -0000 1.18 *************** *** 3,8 **** " Author: Mikolaj Machowski " Created: Tue Apr 23 08:00 PM 2002 PST ! " Last Change: Sun Jan 05 12:00 AM 2003 PST ! " " Description: mappings/menus for environments. "============================================================================= --- 3,8 ---- " Author: Mikolaj Machowski " Created: Tue Apr 23 08:00 PM 2002 PST ! " CVS Header: ! " $Header$ " Description: mappings/menus for environments. "============================================================================= *************** *** 571,590 **** " Based on input argument, it calls various specialized functions. function! Tex_PutEnvironment(env) ! if a:env =~ "equation*\\|eqnarray*\\|align*\\|theorem\\|lemma\\|equation\\|eqnarray\\|align\\|multline" ! return Tex_eqnarray(a:env) ! elseif a:env =~ "enumerate\\|itemize\\|theindex\\|trivlist" ! return Tex_itemize(a:env) ! elseif a:env =~ "table\\|table*" ! return Tex_table(a:env) ! elseif a:env =~ "tabular\\|tabular*\\|array\\|array*" ! return Tex_tabular(a:env) ! elseif exists('*Tex_'.a:env) ! exe 'return Tex_'.a:env.'(a:env)' ! elseif a:env == '$$' ! return IMAP_PutTextWithMovement('$$<++>$$') ! elseif a:env == '[' ! return IMAP_PutTextWithMovement("\\[\<CR><++>\<CR>\\]<++>") else ! return IMAP_PutTextWithMovement('\begin{'.a:env."}\<cr><++>\<cr>\\end{".a:env."}<++>") endif endfunction " }}} --- 571,594 ---- " Based on input argument, it calls various specialized functions. function! Tex_PutEnvironment(env) ! if s:isvisual == "yes" ! return VEnclose('\begin{'.a:env.'}', '\end{'.a:env.'}', '\begin{'.a:env.'}', '\end{'.a:env.'}') else ! if a:env =~ "equation*\\|eqnarray*\\|align*\\|theorem\\|lemma\\|equation\\|eqnarray\\|align\\|multline" ! return Tex_eqnarray(a:env) ! elseif a:env =~ "enumerate\\|itemize\\|theindex\\|trivlist" ! return Tex_itemize(a:env) ! elseif a:env =~ "table\\|table*" ! return Tex_table(a:env) ! elseif a:env =~ "tabular\\|tabular*\\|array\\|array*" ! return Tex_tabular(a:env) ! elseif exists('*Tex_'.a:env) ! exe 'return Tex_'.a:env.'(a:env)' ! elseif a:env == '$$' ! return IMAP_PutTextWithMovement('$$<++>$$') ! elseif a:env == '[' ! return IMAP_PutTextWithMovement("\\[\<CR><++>\<CR>\\]<++>") ! else ! return IMAP_PutTextWithMovement('\begin{'.a:env."}\<cr><++>\<cr>\\end{".a:env."}<++>") ! endif endif endfunction " }}} *************** *** 602,609 **** " Provide only <plug>s here. main.vim will create the actual maps. ! inoremap <silent> <Plug>Tex_FastEnvironmentInsert <C-r>=Tex_FastEnvironmentInsert()<cr> ! nnoremap <silent> <Plug>Tex_FastEnvironmentInsert i<C-r>=Tex_FastEnvironmentInsert()<cr> ! inoremap <silent> <Plug>Tex_FastEnvironmentChange <C-O>:call Tex_ChangeEnvironments()<CR> ! nnoremap <silent> <Plug>Tex_FastEnvironmentChange :call Tex_ChangeEnvironments()<CR> " Tex_FastEnvironmentInsert: maps <F5> to prompt for env and insert it " {{{ --- 606,614 ---- " Provide only <plug>s here. main.vim will create the actual maps. ! inoremap <silent> <Plug>Tex_FastEnvironmentInsert <C-r>=Tex_FastEnvironmentInsert("no")<cr> ! nnoremap <silent> <Plug>Tex_FastEnvironmentInsert i<C-r>=Tex_FastEnvironmentInsert("no")<cr> ! inoremap <silent> <Plug>Tex_FastEnvironmentChange <C-O>:call Tex_ChangeEnvironments("no")<CR> ! nnoremap <silent> <Plug>Tex_FastEnvironmentChange :call Tex_ChangeEnvironments("no")<CR> ! vnoremap <silent> <Plug>Tex_FastEnvironmentInsert <C-\><C-N>:call Tex_FastEnvironmentInsert("yes")<CR> " Tex_FastEnvironmentInsert: maps <F5> to prompt for env and insert it " {{{ *************** *** 615,622 **** " current line or prompting the user to choose one. " ! function! Tex_FastEnvironmentInsert() let start_line = line('.') let pos = line('.').' | normal! '.virtcol('.').'|' " decide if we are in the preamble of the document. If we are then --- 620,628 ---- " current line or prompting the user to choose one. " ! function! Tex_FastEnvironmentInsert(isvisual) let start_line = line('.') let pos = line('.').' | normal! '.virtcol('.').'|' + let s:isvisual = a:isvisual " decide if we are in the preamble of the document. If we are then *************** *** 666,673 **** function! Tex_package_from_line() " Function Tex_PutPackage is defined in packages.vim ! let l = getline(".") ! let pack = matchstr(l, '^\s*\zs.*') ! normal! 0"_D ! return Tex_pack_one(pack) endfunction --- 672,684 ---- function! Tex_package_from_line() " Function Tex_PutPackage is defined in packages.vim ! " Ignores <F5> in Visual mode ! if s:isvisual == "yes" ! return 0 ! else ! let l = getline(".") ! let pack = matchstr(l, '^\s*\zs.*') ! normal! 0"_D ! return Tex_pack_one(pack) ! endif endfunction *************** *** 838,841 **** --- 849,855 ---- if !hasmapto('<Plug>Tex_FastEnvironmentChange', 'n') nmap <silent> <buffer> <S-F5> <Plug>Tex_FastEnvironmentChange + endif + if !hasmapto('<Plug>Tex_FastEnvironmentInsert', 'v') + vmap <silent> <buffer> <F5> <Plug>Tex_FastEnvironmentInsert endif endif |
From: <mi...@us...> - 2003-01-09 11:50:34
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages In directory sc8-pr-cvs1:/tmp/cvs-serv26386 Added Files: deleq histogram plates Log Message: new package files --- NEW FILE: deleq --- let g:TeX_package_option_deleq = '' let g:TeX_package_deleq = \.'env:deqn,' \.'env:ddeqn,' \.'env:deqarr,' \.'env:ddeqar,' \.'env:deqrarr,' \.'nor:nydeqno,' \.'nor:heqno,' \.'bra:reqno,' \.'bra:rndeqno,' \.'bra:rdeqno,' \.'nob:eqreqno,' \.'nob:deqreqno,' \.'nob:ddeqreqno,' \.'bra:arrlabel,' \.'nor:where,' \.'bra:remtext,' \.'nor:nydeleqno,' \.'nor:deleqno,' \.'nor:jotbaseline' if !exists("tex_no_math") syn region texMathZoneA start="\\begin\s*{\s*deqn\*\s*}" end="\\end\s*{\s*deqn\*\s*}" keepend fold contains=@texMathZoneGroup syn region texMathZoneB start="\\begin\s*{\s*ddeqn\*\s*}" end="\\end\s*{\s*ddeqn\*\s*}" keepend fold contains=@texMathZoneGroup syn region texMathZoneC start="\\begin\s*{\s*deqarr\s*}" end="\\end\s*{\s*deqarr\s*}" keepend fold contains=@texMathZoneGroup syn region texMathZoneD start="\\begin\s*{\s*ddeqar\s*}" end="\\end\s*{\s*ddeqar\s*}" keepend fold contains=@texMathZoneGroup syn region texMathZoneE start="\\begin\s*{\s*deqrarr\*\s*}" end="\\end\s*{\s*deqrarr\*\s*}" keepend fold contains=@texMathZoneGroup endif " vim:ft=vim:ff=unix:noet:ts=4: --- NEW FILE: histogram --- let g:TeX_package_option_histogram = '' let g:TeX_package_histogram = \ 'histogram,' \.'noverticallines,' \.'verticallines' " vim:ft=vim:ff=unix: --- NEW FILE: plates --- let g:TeX_package_option_plates = 'figures,onefloatperpage,memoir' let g:TeX_package_plates = \ 'env:plate,' \.'listofplates,' \.'ProcessPlates,' \.'bra:setplatename,' \.'bra:setplatename,' \.'bra:atBeginPlates' " vim:ft=vim:ff=unix: |
From: Srinath A. <sr...@fa...> - 2003-01-09 11:06:42
|
On Wed, 8 Jan 2003, Srinath Avadhanula wrote: > Next time one of us makes a change to imaps.vim, please delete the > $Header$ string... > Never mind removing the $Header$. It looks like it will work after I do a cvs update -A... This is supposed to clear all sticky tags... I'll try this tomorrow... Srinath |
From: Srinath A. <sr...@fa...> - 2003-01-09 02:06:06
|
Yuck! Even this didn't work. After the commit, $Header$ was supposed to get changed to $Header: 1.26, srinath, etc $. But it didn't. I suppose thats because once upon a time we changed the keyword substitution mode of all files to '-kb'... I will just give up on this now... I am wasting too much time on this. Next time one of us makes a change to imaps.vim, please delete the $Header$ string... Thanks, Srinath On Wed, 8 Jan 2003 sri...@us... wrote: > Update of /cvsroot/vim-latex/vimfiles/plugin > In directory sc8-pr-cvs1:/tmp/cvs-serv3579 > > Modified Files: > imaps.vim > Log Message: > - After the exciting adventures of the stupid cvs user, everyone lives > happily at least for the time being. > (It should be $Header$ not $Header: $.) > > > Index: imaps.vim > =================================================================== > RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v > retrieving revision 1.26 > retrieving revision 1.27 > diff -C2 -d -r1.26 -r1.27 > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Vim-latex-cvs mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-cvs > > |
From: <sri...@us...> - 2003-01-09 01:43:08
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv3579 Modified Files: imaps.vim Log Message: - After the exciting adventures of the stupid cvs user, everyone lives happily at least for the time being. (It should be $Header$ not $Header: $.) Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 |
From: <sri...@us...> - 2003-01-09 00:58:01
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv24757 Modified Files: imaps.vim Log Message: . Adding in the header instead of the Last Change: Wed Jan 08 04:00 PM 2003 PST revision tag is necessary in a file, imo. NOTE: This wont cause spurious revisions, problems in merging etc. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** imaps.vim 8 Jan 2003 23:50:12 -0000 1.25 --- imaps.vim 9 Jan 2003 00:57:58 -0000 1.26 *************** *** 8,11 **** --- 8,13 ---- " while preserving filetype indentation. " + " $Header$ + " " Documentation: {{{ " |
From: <sri...@us...> - 2003-01-08 23:50:16
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv6548 Modified Files: imaps.vim Log Message: - always use the blackhole register to do yanks/substitutions etc, otherwise the user's unnamed register gets eaten up. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** imaps.vim 7 Jan 2003 20:53:38 -0000 1.24 --- imaps.vim 8 Jan 2003 23:50:12 -0000 1.25 *************** *** 328,332 **** " Old trick: insert and delete a character to get the same behavior at " start, middle, or end of line and on empty lines. ! let text = initial . "X\<C-\>\<C-N>:call IMAP_Mark('set')\<CR>s" let text = text . template . final let text = text . "\<C-\>\<C-N>:call IMAP_Mark('go')\<CR>" --- 328,332 ---- " Old trick: insert and delete a character to get the same behavior at " start, middle, or end of line and on empty lines. ! let text = initial . "X\<C-\>\<C-N>:call IMAP_Mark('set')\<CR>\"_s" let text = text . template . final let text = text . "\<C-\>\<C-N>:call IMAP_Mark('go')\<CR>" |
From: <mi...@us...> - 2003-01-07 22:37:01
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages In directory sc8-pr-cvs1:/tmp/cvs-serv11992 Modified Files: drftcite overcite cite Log Message: Added syntax highlighting for new cite commands provided with this packages Index: drftcite =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/drftcite,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** drftcite 5 Jan 2003 21:47:08 -0000 1.3 --- drftcite 7 Jan 2003 22:36:50 -0000 1.4 *************** *** 20,22 **** --- 20,24 ---- \.'bra:citedash' + syn region texRefZone matchgroup=texStatement start="\\citen\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter + " vim:ft=vim:ff=unix: Index: overcite =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/overcite,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** overcite 5 Jan 2003 21:47:08 -0000 1.3 --- overcite 7 Jan 2003 22:36:53 -0000 1.4 *************** *** 23,25 **** --- 23,29 ---- \.'bra:citedash' + syn region texRefZone matchgroup=texStatement start="\\citen\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter + syn region texRefZone matchgroup=texStatement start="\\citenum\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter + syn region texRefZone matchgroup=texStatement start="\\citeonline\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter + " vim:ft=vim:ff=unix: Index: cite =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/cite,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** cite 5 Jan 2003 21:47:08 -0000 1.4 --- cite 7 Jan 2003 22:36:53 -0000 1.5 *************** *** 21,23 **** --- 21,27 ---- \.'bra:citedash' + syn region texRefZone matchgroup=texStatement start="\\citen\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter + syn region texRefZone matchgroup=texStatement start="\\citenum\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter + syn region texRefZone matchgroup=texStatement start="\\citeonline\([tp]\*\=\)\={" keepend end="}\|%stopzone\>" contains=texComment,texDelimiter + " vim:ft=vim:ff=unix: |
From: <mi...@us...> - 2003-01-07 22:36:10
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages In directory sc8-pr-cvs1:/tmp/cvs-serv11678 Added Files: psgo Log Message: new package file --- NEW FILE: psgo --- let g:TeX_package_option_psgo = '' let g:TeX_package_psgo = \ 'env:psgogoard,' \.'env:psgoboard*,' \.'brs:stone{<+color+>}{<+letter+>}{<+number+>},' \.'brs:stone[<+marker+>]{<+color+>}{<+letter+>}{<+number+>},' \.'brs:move{<+letter+>}{<+number+>},' \.'brs:move*{<+letter+>}{<+number+>},' \.'brs:goline{<+letter1+>}{<+number1+>}{<+letter2+>}{<+number2+>},' \.'brs:goarrow{<+letter1+>}{<+number1+>}{<+letter2+>}{<+number2+>},' \.'sbr:Markers,' \.'brs:markpos{<+marker+>}{<+letter+>}{<+number+>},' \.'markma,' \.'marktr,' \.'markcr,' \.'marksq,' \.'bra:marklb,' \.'marksl,' \.'markdd' " vim:ft=vim:ff=unix: |
From: <sri...@us...> - 2003-01-07 20:53:48
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv31355 Modified Files: imaps.vim Log Message: - removing an unnecessary line from a previous version. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** imaps.vim 7 Jan 2003 19:43:41 -0000 1.23 --- imaps.vim 7 Jan 2003 20:53:38 -0000 1.24 *************** *** 371,375 **** endif - let position = line('.') . "normal! ".virtcol('.').'|' " Open any closed folds and make this part of the text visible. silent! foldopen! --- 371,374 ---- |
From: <sri...@us...> - 2003-01-07 19:43:52
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv3335 Modified Files: imaps.vim Log Message: - Description of arguments to IMAP_Jumpfunc(). - IMAP_Jumpfunc() is now able to handle <+placeholders withlinebreaks+> - Bug: If we were selecting in the backward direction, and we want to move backwards, then 2 <Plug>IMAP_JumpBack's are needed. i.e, if we have <+1+> <+2+> <+3+> and we do (with <C-k> mapped to <Plug>IMAP_JumpBack) <C-j><C-j><C-k>, from before <+1+>, then we remain in <+2+>. (Bug pointed out by LH) Cause: In visual mode, <Plug>IMAP_JumpBack deselects the text but remains at the end of the selection. (this is default vim behavior). Therefore searching back for the placeholder start character lands us up in the template. Solution: In visual mode, make <Plug>IMAP_JumpBack goto `< after deselecting text. This strategy also leads to considerable simplification at other places. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** imaps.vim 7 Jan 2003 18:27:47 -0000 1.22 --- imaps.vim 7 Jan 2003 19:43:41 -0000 1.23 *************** *** 339,343 **** " IMAP_Jumpfunc: takes user to next <+place-holder+> {{{ " Author: Luc Hermitte ! " function! IMAP_Jumpfunc(direction, inclusive) --- 339,355 ---- " IMAP_Jumpfunc: takes user to next <+place-holder+> {{{ " Author: Luc Hermitte ! " Arguments: ! " direction: flag for the search() function. If set to '', search forwards, ! " if 'b', then search backwards. See the {flags} argument of the ! " |search()| function for valid values. ! " inclusive: In vim, the search() function is 'exclusive', i.e we always goto ! " next cursor match even if there is a match starting from the ! " current cursor position. Setting this argument to 1 makes ! " IMAP_Jumpfunc() also respect a match at the current cursor ! " position. 'inclusive'ness is necessary for IMAP() because a ! " placeholder string can occur at the very beginning of a map which ! " we want to select. ! " We use a non-zero value only in special conditions. Most mappings ! " should use a zero value. function! IMAP_Jumpfunc(direction, inclusive) *************** *** 346,356 **** let pheUser = IMAP_GetPlaceHolderEnd() - let searchOpts = a:direction - " If the user has nowrapscan set, then do not make the search wrap around - " the end (or beginning) of the file. - if ! &wrapscan - let searchOpts = direction.'W' - endif - let searchString = '' " If this is not an inclusive search or if it is inclusive, but the --- 358,361 ---- *************** *** 358,371 **** " search for the placeholder characters. if !a:inclusive || strpart(getline('.'), col('.')-1) !~ '\V\^'.phsUser ! let searchString = '\V'.phsUser.'\.\{-}'.pheUser endif " If we didn't find any placeholders return quietly. ! if searchString != '' && !search(searchString, searchOpts) return '' endif - " At this point, we are at the beginning of a placeholder. - " Remember the position here. let position = line('.') . "normal! ".virtcol('.').'|' " Open any closed folds and make this part of the text visible. --- 363,374 ---- " search for the placeholder characters. if !a:inclusive || strpart(getline('.'), col('.')-1) !~ '\V\^'.phsUser ! let searchString = '\V'.phsUser.'\_.\{-}'.pheUser endif " If we didn't find any placeholders return quietly. ! if searchString != '' && !search(searchString, a:direction) return '' endif let position = line('.') . "normal! ".virtcol('.').'|' " Open any closed folds and make this part of the text visible. *************** *** 376,402 **** let template = \ matchstr(strpart(getline('.'), col('.')-1), ! \ '\V\^'.phsUser.'\zs\.\{-}\ze'.pheUser) let placeHolderEmpty = !strlen(template) ! " This movement command selects the placeholder text. In the forward mode, ! " we select left-right, otherwise right-left. ! if a:direction =~ 'b' ! " If we are going in the backward direction, make the selection from ! " right to left so that a backward search for phsUser doesnt get us ! " back to the same placeholder. ! let movement = "\<C-\>\<C-N>:".position."\<CR>" ! \ . "/\\V".pheUser."/e\<CR>" ! \ . "v?\\V".phsUser."?b\<CR>" ! else ! let movement = "\<C-\>\<C-N>:".position."\<CR>v/\\V".pheUser."/e\<CR>" ! endif if placeHolderEmpty && g:Imap_DeleteEmptyPlaceHolders " delete the empty placeholder into the blackhole. return movement."\"_c\<C-o>:".s:RemoveLastHistoryItem."\<CR>" - else return movement."\<C-\>\<C-N>:".s:RemoveLastHistoryItem."\<CR>gv\<C-g>" - endif --- 379,394 ---- let template = \ matchstr(strpart(getline('.'), col('.')-1), ! \ '\V\^'.phsUser.'\zs\.\{-}\ze\('.pheUser.'\|\$\)') let placeHolderEmpty = !strlen(template) ! " Select till the end placeholder character. ! let movement = "\<C-o>v/\\V".pheUser."/e\<CR>" + " Now either goto insert mode or select mode. if placeHolderEmpty && g:Imap_DeleteEmptyPlaceHolders " delete the empty placeholder into the blackhole. return movement."\"_c\<C-o>:".s:RemoveLastHistoryItem."\<CR>" else return movement."\<C-\>\<C-N>:".s:RemoveLastHistoryItem."\<CR>gv\<C-g>" endif *************** *** 426,430 **** " jumping forward without deleting present selection. vmap <silent> <Plug>IMAP_JumpForward <C-\><C-N>i<c-r>=IMAP_Jumpfunc('', 0)<CR> ! vmap <silent> <Plug>IMAP_JumpBack <C-\><C-N>i<c-r>=IMAP_Jumpfunc('b', 0)<CR> " }}} --- 418,422 ---- " jumping forward without deleting present selection. vmap <silent> <Plug>IMAP_JumpForward <C-\><C-N>i<c-r>=IMAP_Jumpfunc('', 0)<CR> ! vmap <silent> <Plug>IMAP_JumpBack <C-\><C-N>`<i<c-r>=IMAP_Jumpfunc('b', 0)<CR> " }}} |
From: Benji F. <be...@me...> - 2003-01-07 18:36:29
|
Srinath Avadhanula wrote: > On Mon, 6 Jan 2003, Benji Fisher wrote: > > >> My latest idea is to break up the RHS (in the example above) into >> "foo" and "" and "bar" and then to have IMAP_PutTextWithMovement() >> return something like >> >> "foo\<Esc>:call IMAP_YAHF(0)\<CR><++>bar\<Esc>:call >> IMAP_YAHF(1)\<CR>" > > Sounds like an excellent idea! > > I would suggest using something like "\<C-r>=IMAP_YAHF(0)\<CR>" > instead of "\<Esc>:call IMAP_YAHF(0)\<CR>" because the former doesn't > screw up the cursor positioning and moreover we remain in insert > mode... (IMAP_YAHF(0) could just return '' always, but internally > mark the cursor position in s:lastPosition. IMAP_YAHF(1) could return > "\<C-o>".s:lastPosition) As the abve string stands, by the time we > return from IMAP_YAHF(0), we are in escape mode and the bar is typed > in normal mode... I am sure this was just a prototype and you would > have used this anyway, but just putting my word in :) I got something that seems to work, but not exactly as you suggested. I called the new helper function IMAP_Mark(). I need to get some work done, so I cannot test this as much as I would like. --Benji |
From: <ma...@us...> - 2003-01-07 18:28:06
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv531/plugin Modified Files: imaps.vim Log Message: * Improve s:PutTextWithMovement() by using a new helper function, IMAP_Mark(), to position the cursor instead of adding a marker string and searching for it. The marker would cause serious trouble if it occurred anywhere in the inserted text, and minor trouble if it was too long and caused an unwanted line break. * Fix a bug (mea culpa) in s:LookupCharacter() and IMAP_list(). If there was a global map for "foo" and a local (filetype) map for "bozo" then these functions would look at the last character, "o", see that there were local maps ending in "o", and only look for local maps. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** imaps.vim 5 Jan 2003 14:01:21 -0000 1.21 --- imaps.vim 7 Jan 2003 18:27:47 -0000 1.22 *************** *** 8,13 **** " while preserving filetype indentation. " - " Last Change: Sun Jan 05 08:00 AM 2003 EST - " " Documentation: {{{ " --- 8,11 ---- *************** *** 193,199 **** let char = a:lhs[strlen(a:lhs)-1] let charHash = s:Hash(char) ! if exists("s:LHS_" . &ft . "_" . charHash) let ft = &ft ! elseif exists("s:LHS__" . charHash) let ft = "" else --- 191,197 ---- let char = a:lhs[strlen(a:lhs)-1] let charHash = s:Hash(char) ! if exists("s:LHS_" . &ft ."_". charHash) && a:lhs =~ s:LHS_{&ft}_{charHash} let ft = &ft ! elseif exists("s:LHS__" . charHash) && a:lhs =~ s:LHS__{charHash} let ft = "" else *************** *** 214,220 **** --- 212,226 ---- let charHash = s:Hash(a:char) + " The line so far, including the character that triggered this function: + let text = strpart(getline("."), 0, col(".")-1) . a:char + " Prefer a local map to a global one, even if the local map is shorter. + " Is this what we want? Do we care? + " Use '\V' (very no-magic) so that only '\' is special, and it was already + " escaped when building up s:LHS_{&ft}_{charHash} . if exists("s:LHS_" . &ft . "_" . charHash) + \ && text =~ '\V\(' . s:LHS_{&ft}_{charHash} . '\)\$' let ft = &ft elseif exists("s:LHS__" . charHash) + \ && text =~ '\V\(' . s:LHS__{charHash} . '\)\$' let ft = "" else *************** *** 222,228 **** endif " Find the longest left-hand side that matches the line so far. - " Use '\V' (very no-magic) so that only '\' is special, and it was already - " escaped when building up s:LHS_{ft}_{charHash} . - let text = strpart(getline("."), 0, col(".")-1) . a:char " matchstr() returns the match that starts first. This automatically " ensures that the longest LHS is used for the mapping. --- 228,231 ---- *************** *** 267,281 **** let pheUser = IMAP_GetPlaceHolderEnd() - " A very rare string: Do not use any special characters here. This is used - " for moving to the beginning of the inserted text. - " When phs != phe, we are guarenteed that unless the user has done bad - " things, phs.phs will never occur in the file. - if phsUser != pheUser - let marker = phsUser.phsUser - else - let marker = '<!---@#%_Start_Here_@#%----!>' - endif - let markerLength = strlen(marker) - " Problem: depending on the setting of the 'encoding' option, a character " such as "\xab" may not match itself. We try to get around this by --- 270,273 ---- *************** *** 293,352 **** endif ! " If there are no place holders, just return the text. ! if textEnc !~ '\V'.phs.'\.\{-}'.phe call IMAP_Debug('Not getting '.phs.' and '.phe.' in '.textEnc, 'imap') return text endif ! " If the user does not want to use place-holders, then remove all but the " first placeholder. if exists('g:Imap_UsePlaceHolders') && !g:Imap_UsePlaceHolders ! " a heavy-handed way to just use the first placeholder and remove the ! " rest. Replace the first placeholder with phe ... ! let textEnc = substitute(textEnc, '\V'.phs.'\.\{-}'.phe, pheEnc, '') ! " ... delete all the others ... ! let textEnc = substitute(textEnc, '\V'.phs.'\.\{-}'.phe, '', 'g') ! " ... and replace the first phe with phsUser.pheUser . ! let textEnc = substitute(textEnc, '\V'.phe, phsUserEnc.pheUserEnc, '') endif - " now replace all occurences of the placeholders here with the users choice - " of placeholder settings. - " NOTE: There can be more than 1 placeholders here. Therefore use a global - " search and replace. - let textEnc = substitute(textEnc, '\V'.phs.'\(\.\{-}\)'.phe, - \ phsUserEnc.'\1'.pheUserEnc, 'g') " The substitutions are done, so convert back, if necessary. if textEncoded ! let text = s:Iconv(textEnc, "decode") else ! let text = textEnc endif - " Now append the marker (the rare string) to the beginning of the text so - " we know where the expansion started from - let text = marker.text - - " This search will move us to the very beginning of the text to be - " inserted. - " The steps are: - " 1. enter escape mode (using <C-\><C-n> so it works in insertmode as - " well) - " 2. Search backward for marker text. - " 3. delete from the beginning to the end of marker into the blackhole - " register. - let movement = "\<C-\>\<C-N>" - \ . "?\\V".marker."\<CR>" - \ . '"_d/\V'.marker."/e\<CR>" ! " Now enter insert mode and call IMAP_Jumpfunc() to take us to the next ! " placeholder and get us either into visual or insert mode. Since we do ! " at least one search in this function, remove it from the search history ! " first. ! " NOTE: Even if we performed more than one search, vim will only put one ! " of them in the user's search list. ! let movement = movement.':'.s:RemoveLastHistoryItem."\<CR>" ! \ . "i\<C-r>=IMAP_Jumpfunc('', 1)\<CR>" ! return text.movement endfunction --- 285,337 ---- endif ! let pattern = '\V\(\.\{-}\)' .phs. '\(\.\{-}\)' .phe. '\(\.\*\)' ! " If there are no placeholders, just return the text. ! if textEnc !~ pattern call IMAP_Debug('Not getting '.phs.' and '.phe.' in '.textEnc, 'imap') return text endif + " Break text up into "initial <+template+> final"; any piece may be empty. + let initialEnc = substitute(textEnc, pattern, '\1', '') + let templateEnc = substitute(textEnc, pattern, '\2', '') + let finalEnc = substitute(textEnc, pattern, '\3', '') ! " If the user does not want to use placeholders, then remove all but the " first placeholder. + " Otherwise, replace all occurences of the placeholders here with the + " user's choice of placeholder settings. if exists('g:Imap_UsePlaceHolders') && !g:Imap_UsePlaceHolders ! let finalEnc = substitute(finalEnc, '\V'.phs.'\.\{-}'.phe, '', 'g') ! else ! let finalEnc = substitute(finalEnc, '\V'.phs.'\(\.\{-}\)'.phe, ! \ phsUserEnc.'\1'.pheUserEnc, 'g') endif " The substitutions are done, so convert back, if necessary. if textEncoded ! let initial = s:Iconv(initialEnc, "decode") ! let template = s:Iconv(templateEnc, "decode") ! let final = s:Iconv(finalEnc, "decode") else ! let initial = initialEnc ! let template = templateEnc ! let final = finalEnc endif ! " Build up the text to insert: ! " 1. the initial text plus an extra character; ! " 2. go to Normal mode with <C-\><C-N>, so it works even if 'insertmode' ! " is set, and mark the position; ! " 3. replace the extra character with tamplate and final; ! " 4. back to Normal mode and restore the cursor position; ! " 5. call IMAP_Jumpfunc(). ! let template = phsUser . template . pheUser ! " Old trick: insert and delete a character to get the same behavior at ! " start, middle, or end of line and on empty lines. ! let text = initial . "X\<C-\>\<C-N>:call IMAP_Mark('set')\<CR>s" ! let text = text . template . final ! let text = text . "\<C-\>\<C-N>:call IMAP_Mark('go')\<CR>" ! let text = text . "i\<C-r>=IMAP_Jumpfunc('', 1)\<CR>" ! return text endfunction *************** *** 662,666 **** return a:text endif ! return iconv(a:text, "latin1", "utf8") endfun "" }}} --- 647,655 ---- return a:text endif ! let textEnc = iconv(a:text, "latin1", "utf8") ! if textEnc !~ '\V\^' . escape(a:text, '\') . '\$'' ! call IMAP_Debug('Encoding problems with text '.a:text.' ', 'imap') ! endif ! return textEnc endfun "" }}} *************** *** 708,711 **** --- 697,710 ---- endif endfunction " }}} + " IMAP_Mark: Save the cursor position (if a:action == 'set') in a" {{{ + " script-local variable; restore this position if a:action == 'go'. + let s:Mark = "(0,0)" + function! IMAP_Mark(action) + if a:action == 'set' + let s:Mark = "(" . line(".") . "," . col(".") . ")" + elseif a:action == 'go' + execute "call cursor" s:Mark + endif + endfunction "" }}} " ============================================================================== |
From: Srinath A. <sr...@fa...> - 2003-01-07 08:35:42
|
On Mon, 6 Jan 2003, Benji Fisher wrote: > Right, the clutter in the diff is not enough of a problem to be > worth fixing, but spurious revisions are. The next time I do a commit, > I will (if I remember) remove the "Last Change" line. > I was reading through the CVS manual just now and looked up the keyword substitution part. It looks like we can insert keyword strings into the file and have them expanded. We can even have, for example, something like: let g:IMAP_RevisionNumber = '$Revision:$' and when we release these files, the user will see let g:IMAP_RevisionNumber = '$Revision: 1.20 $' Isn't that cool? This information might be useful for troubleshooting. Also, using these keywords won't lead to problems in merging and spurious branches because we can use the -kk flag for merging... Anyway, this isn't a big deal. Just a cool thing I thought I might mention... Srinath |
From: <sri...@us...> - 2003-01-07 01:51:17
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory sc8-pr-cvs1:/tmp/cvs-serv18483 Modified Files: smartspace.vim Log Message: Change from Carl: One little improvement in TexFormatLine. First, my treatment of \$ isn't working, so I deleted it. But I was able to take care of the following. Sometimes people write $$...$$ in a single line, so the function should be able to tell that you are within a math expression. Also, I didn't think that your command for clearing memory deserved its own variable, so I just put an extra line in the function. For the moment, I don't know what to do about \$ Index: smartspace.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/smartspace.vim,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** smartspace.vim 6 Jan 2003 00:17:53 -0000 1.6 --- smartspace.vim 7 Jan 2003 01:51:13 -0000 1.7 *************** *** 35,40 **** endif ! " TexFormatLine: format line retaining $$'s on the same line. ! function! s:TexFill(width) " {{{ if a:width != 0 && col(".") > a:width " For future use, record the current line and the number of the current column --- 35,40 ---- endif ! " TexFormatLine: format line retaining $$'s on the same line. {{{ ! function! s:TexFill(width) if a:width != 0 && col(".") > a:width " For future use, record the current line and the number of the current column *************** *** 43,48 **** exe "normal! a##\<Esc>" call <SID>TexFormatLine(a:width,current_line,current_column) " Remove ## from the search history. ! exe "normal! ?##\<CR>2s\<Esc>".s:RemoveLastHistoryItem endif endfunction --- 43,49 ---- exe "normal! a##\<Esc>" call <SID>TexFormatLine(a:width,current_line,current_column) + exe "normal! ?##\<CR>2s\<Esc>" " Remove ## from the search history. ! call histdel("/", -1)|let @/=histget("/", -1) endif endfunction *************** *** 63,67 **** let counter = 0 while counter <= a:width-1 ! if string[counter] == '$' && string[counter-1] != '\' " Skip \$. let evendollars = 1 - evendollars let number_of_dollars = number_of_dollars + 1 --- 64,69 ---- let counter = 0 while counter <= a:width-1 ! " Pay attention to '$$'. ! if string[counter] == '$' && string[counter-1] != '$' let evendollars = 1 - evendollars let number_of_dollars = number_of_dollars + 1 *************** *** 73,77 **** if evendollars " Then you are not between dollars. ! exe "normal! ?\\$\\| \<CR>W" else " Then you are between dollars. --- 75,79 ---- if evendollars " Then you are not between dollars. ! exe "normal! ?\\$\\+\\| \<CR>W" else " Then you are between dollars. *************** *** 95,103 **** endif endfunction - - " }}} - " s:RemoveLastHistoryItem: removes last search item from search history {{{ - " Description: Execute this string to clean up the search history. - let s:RemoveLastHistoryItem = ':call histdel("/", -1)|let @/=histget("/", -1)' " }}} --- 97,100 ---- |
From: Srinath A. <sr...@fa...> - 2003-01-06 19:31:01
|
On Mon, 6 Jan 2003, Benji Fisher wrote: > My latest idea is to break up the RHS (in the example above) into > "foo" and "" and "bar" and then to have IMAP_PutTextWithMovement() > return something like > > "foo\<Esc>:call IMAP_YAHF(0)\<CR><++>bar\<Esc>:call IMAP_YAHF(1)\<CR>" > Sounds like an excellent idea! I would suggest using something like "\<C-r>=IMAP_YAHF(0)\<CR>" instead of "\<Esc>:call IMAP_YAHF(0)\<CR>" because the former doesn't screw up the cursor positioning and moreover we remain in insert mode... (IMAP_YAHF(0) could just return '' always, but internally mark the cursor position in s:lastPosition. IMAP_YAHF(1) could return "\<C-o>".s:lastPosition) As the abve string stands, by the time we return from IMAP_YAHF(0), we are in escape mode and the bar is typed in normal mode... I am sure this was just a prototype and you would have used this anyway, but just putting my word in :) > Does anyone see any problems with this approach? Any objections > (other than the profusion of helper functions)? > No objections. I think this will solve those placement problems in a mathematically correct manner :) Srinath |
From: Benji F. <be...@me...> - 2003-01-06 15:41:10
|
Benji Fisher wrote: > Srinath Avadhanula wrote: > >> On Mon, 30 Dec 2002, Benji Fisher wrote: >> >> Yes. Positioning using movement is the best... The problem I ran across >> was that if you do something like >> >> :set encoding=utf8 >> :let bar = "?" >> (where the ? character is typed using <C-v><<) >> :echo strlen(bar) >> 2 >> >> Can this problem be taken care of using the change in encoding etc? >> Hmm... I see that >> :echo strlen(iconv(bar, &encoding, 'latin1')) >> 1 >> :echo strlen(substitute(bar, '.', 'x', 'g')) >> 1 >> >> So those two methods might work... It will be a definite improvement >> over the current "hack". Well, the idea is for :call IMAP(fb, "foo<++>bar") to return something like "foobar\<Esc>3\<bs>a". That should work for this example, but what if "bar" is replaced by something with a bunch of "\n" characters in it? One of the advantages of imap.vim--it respects auto-indent--makes it (nearly) impossible for us to compute how many spaces to back up. Back to the drawing board! My latest idea is to break up the RHS (in the example above) into "foo" and "" and "bar" and then to have IMAP_PutTextWithMovement() return something like "foo\<Esc>:call IMAP_YAHF(0)\<CR><++>bar\<Esc>:call IMAP_YAHF(1)\<CR>" and then call IMAP_Jumpfunc(). I will choose a more descriptive name than YAHF (Yet Another Helper Function), which will store the line and column number in a script-local variable (when called with argument 0) and then position the cursor there (when called with argument 1). Does anyone see any problems with this approach? Any objections (other than the profusion of helper functions)? --Benji |
From: <sri...@us...> - 2003-01-06 10:10:21
|
Update of /cvsroot/vim-latex/vimfiles In directory sc8-pr-cvs1:/tmp/cvs-serv23035 Modified Files: makefile Log Message: - removing the betaup target. - adding a release: target and uphtdocs: target. As of now, both of these have hardcoded srinathava@vim-latex. If someone wants this to change, let me know. The release: target is meant to take care of the annoying problem where every once in a while, releases made via my computer generate CRLF style files. Doing a release via SF should eliminate this problem. - uphtdocs is a way of synchronizing the latex-suite webpage with the latest CVS snapshot. Index: makefile =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** makefile 22 Dec 2002 03:00:33 -0000 1.9 --- makefile 6 Jan 2003 10:10:18 -0000 1.10 *************** *** 48,57 **** cd /tmp/ltt/vimfiles; unzip latexSuite.zip ! # upload the archives to the web. ! upload: ! pscp latexSuite.* $(CVSUSER)@vim-latex.sf.net:/home/groups/v/vi/vim-latex/htdocs/download/ ! betaup: ! pscp latexSuite.zip $(CVSUSER)@vim-latex.sf.net:/home/groups/v/vi/vim-latex/htdocs/download/latexSuite-beta.zip # rsync is like cp (copy) on steroids. Here are some useful options: --- 48,84 ---- cd /tmp/ltt/vimfiles; unzip latexSuite.zip ! # This target is related to a script I have on my sf.net account. That ! # script looks like: ! # ! # #!/bin/bash ! # cd ~/testing/vimfiles; \ ! # cvs -q update; \ ! # make clean; \ ! # make; \ ! # cp latexsuite.* ~/htdocs/download/ ! # ! # Doing a release via sf.net has a couple of advantages: ! # - I do not have to bother with CRLF pain anymore because the copy on ! # sf.net will always have unix style EOLs. ! # - The process is much faster because I only need to communicate a command ! # from my computer to sf.net. The rest is done locally on the sf.net ! # server. ! release: ! plink sri...@vi... /home/users/s/sr/srinathava/bin/upload ! # This is another target akin to the release: target. This target updates ! # the htdocs directory of the latex-suite project to the latest CVS ! # version. ! # This is again related to the uphtdocs script on my sf.net account which ! # looks like: ! # #!/bin/sh ! # ! # # update the htdocs directory ! # cd /home/groups/v/vi/vim-latex/htdocs; cvs -q update ! # # update the packages directory ! # cd /home/groups/v/vi/vim-latex/htdocs/packages; cvs -q update ! uphtdocs: ! plink sri...@vi... /home/users/s/sr/srinathava/bin/uphtdocs ! # rsync is like cp (copy) on steroids. Here are some useful options: |
From: <sri...@us...> - 2003-01-06 00:17:55
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory sc8-pr-cvs1:/tmp/cvs-serv31219 Modified Files: smartspace.vim Log Message: - removing the time stamp string. It is causing problems in merging from branches etc. - Bug: Pressing a <space> before the second $ of a line like: $aaaaa........$ caused spurious newlines to be inserted after the current line. Cause: Carl knows. Solution: [Cut/paste from Carl Mueller's email about this] I do have an answer for the problem of typing the space before the "$" in $aaaaaaaaaaaaaaaaaaaaa...$. But it does involve making TexFormatLine dependent on 2 new variables, current_line and current_column, which record the line (as a string) and the column number. With that change, it's easy to modify the "if" statement at the end of the function. I also have to modify the function TexFill, to define and pass on the new variables. Index: smartspace.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/smartspace.vim,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** smartspace.vim 5 Jan 2003 04:50:46 -0000 1.5 --- smartspace.vim 6 Jan 2003 00:17:53 -0000 1.6 *************** *** 3,7 **** " Author: Carl Muller " Created: Fri Dec 06 12:00 AM 2002 PST - " Last Change: Sat Jan 04 12:00 AM 2003 PST " " Description: --- 3,6 ---- *************** *** 39,54 **** function! s:TexFill(width) " {{{ if a:width != 0 && col(".") > a:width exe "normal! a##\<Esc>" ! call <SID>TexFormatLine(a:width) ! exe "normal! ?##\<CR>2s\<Esc>" endif endfunction " }}} ! function! s:TexFormatLine(width) " {{{ " get the first non-blank character. let first = matchstr(getline('.'), '\S') normal! $ ! let length = col(".") let go = 1 while length > a:width+2 && go --- 38,57 ---- function! s:TexFill(width) " {{{ if a:width != 0 && col(".") > a:width + " For future use, record the current line and the number of the current column + let current_line = getline(".") + let current_column = col(".") exe "normal! a##\<Esc>" ! call <SID>TexFormatLine(a:width,current_line,current_column) ! " Remove ## from the search history. ! exe "normal! ?##\<CR>2s\<Esc>".s:RemoveLastHistoryItem endif endfunction " }}} ! function! s:TexFormatLine(width, current_line, current_column) " {{{ " get the first non-blank character. let first = matchstr(getline('.'), '\S') normal! $ ! let length = col('.') let go = 1 while length > a:width+2 && go *************** *** 67,71 **** endwhile " Get ready to split the line. ! exe "normal! " . (a:width + 1) . "|" if evendollars " Then you are not between dollars. --- 70,74 ---- endwhile " Get ready to split the line. ! exe 'normal! ' . (a:width + 1) . '|' if evendollars " Then you are not between dollars. *************** *** 87,94 **** let length = col(".") endwhile ! if go == 0 && match(getline("."), '.*\$.*\$.*') != -1 ! exe "normal $F$wi\<CR>\<Esc>" endif endfunction " }}} --- 90,103 ---- let length = col(".") endwhile ! if go == 0 && strpart(a:current_line, 0, a:current_column) =~ '.*\$.*\$.*' ! exe "normal! ^f$a\<CR>\<Esc>" ! call <SID>TexFormatLine(a:width, a:current_line, a:current_column) endif endfunction + + " }}} + " s:RemoveLastHistoryItem: removes last search item from search history {{{ + " Description: Execute this string to clean up the search history. + let s:RemoveLastHistoryItem = ':call histdel("/", -1)|let @/=histget("/", -1)' " }}} |
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages In directory sc8-pr-cvs1:/tmp/cvs-serv16401 Modified Files: cite hhline geometry lineno manyfoot polski SIunits hyperref multicol ulem bar longtable harpoon changebar amsmath overcite inputenc drftcite chapterbib amsxtra amsthm tipa parallel eqlist eqparbox outliner schedule newalg graphicx footmisc accents caption2 color float ifthen moreverbatim Added Files: moreverb alltt acromake afterpage arabic boxedminipage url verbatim oldstyle version numprint Log Message: adding ff=unix and ft=vim modelines; removing redundant , at the end of variables; removed last <<>> signs; commiting new packages --- NEW FILE: moreverb --- let g:TeX_package_option_moreverb = '' let g:TeX_package_moreverb = \ 'ens:verbatimwrite:{<++>},' \.'ens:verbatimtab:[<++>],' \.'ens:listing:[<+step+>]{<+number+>},' \.'ens:listing*:[<+step+>]{<+number+>},' \.'env:boxedverbatim,' \.'bra:verbatimtabsize,' \.'bra:listingoffset,' \.'brs:listinginput[<++>]{<++>}{<++>},' \.'brs:verbatimtabinput[<++>]{<++>}' syn region texZone start="\\begin{verbatimwrite}" end="\\end{verbatimwrite}\|%stopzone\>" fold syn region texZone start="\\begin{verbatimtab}" end="\\end{verbatimtab}\|%stopzone\>" fold syn region texZone start="\\begin{boxedverbatim}" end="\\end{boxedverbatim}\|%stopzone\>" fold syn region texZone start="\\begin{listing}" end="\\end{listing}\|%stopzone\>" fold syn region texZone start="\\begin{listing*}" end="\\end{listing*}\|%stopzone\>" fold " vim:ft=vim:ff=unix: --- NEW FILE: alltt --- let g:TeX_package_option_alltt = '' let g:TeX_package_alltt = 'env:alltt' syn region texZone start="\\begin{alltt}" end="\\end{alltt}\|%stopzone\>" fold " vim:ft=vim:ff=unix: --- NEW FILE: acromake --- let g:TeX_package_option_acromake = '' let g:TeX_package_acromake = 'brs:acromake{<++>}{<++>}{<++>}' " vim:ft=vim:ff=unix: --- NEW FILE: afterpage --- let g:TeX_package_option_afterpage = '' let g:TeX_package_afterpage = 'bra:afterpage' " vim:ft=vim:ff=unix: --- NEW FILE: arabic --- let g:TeX_package_option_arabic = '' let g:TeX_package_arabic = 'bra:arabicnumeral' " vim:ft=vim:ff=unix: --- NEW FILE: boxedminipage --- let g:TeX_package_option_boxedminipage = '' let g:TeX_package_boxedminipage = 'ens:boxedminipage:[<+pos+>]{<+size+>}' " vim:ft=vim:ff=unix: --- NEW FILE: url --- let g:TeX_package_option_url = \ 'hyphens,' \.'obeyspaces,' \.'spaces,' \.'T1' let g:TeX_package_url = \ 'bra:urlstyle,' \.'bra:url,' \.'bra:path,' \.'bra:urldef' syn region texZone start="\\url\z([^ \ta-zA-Z]\)" end="\z1\|%stopzone\>" syn region texZone start="\\path\z([^ \ta-zA-Z]\)" end="\z1\|%stopzone\>" " vim:ft=vim:ff=unix: --- NEW FILE: verbatim --- let g:TeX_package_option_verbatim = '' let g:TeX_package_verbatim = \ 'env:comment,' \.'env:verbatim,' \.'env:verbatim*,' \.'bra:verbatiminput,' \.'bra:verbatiminput' syn region texZone start="\\begin{comment}" end="\\end{comment}\|%stopzone\>" fold syn region texZone start="\\begin{verbatim}" end="\\end{verbatim}\|%stopzone\>" fold " vim:ft=vim:ff=unix: --- NEW FILE: oldstyle --- let g:TeX_package_option_oldstyle = '' let g:TeX_package_oldstyle = \ 'bra:textos,' \ 'bra:mathos' " vim:ft=vim:ff=unix: --- NEW FILE: version --- let g:TeX_package_option_version = '' let g:TeX_package_version = \ 'bra:includeversion,' \ 'bra:excludeversion' " vim:ft=vim:ff=unix: --- NEW FILE: numprint --- let g:TeX_package_option_numprint = '' let g:TeX_package_numprint = \ 'bra:numprint,' \ 'nob:numprint,' \ 'bra:thousandsep,' \ 'bra:decimalsign,' \ 'bra:productsign,' \ 'bra:unitseparator,' \ 'brd:expnumprint,' \ 'global' " vim:ft=vim:ff=unix: Index: cite =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/cite,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** cite 25 Nov 2002 23:00:25 -0000 1.3 --- cite 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 21,22 **** --- 21,23 ---- \.'bra:citedash' + " vim:ft=vim:ff=unix: Index: hhline =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/hhline,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** hhline 25 Nov 2002 23:00:25 -0000 1.2 --- hhline 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- let g:TeX_package_option_hhline = '' + let g:TeX_package_hhline = \ 'bra:hhline,' *************** *** 12,13 **** --- 13,16 ---- \.'spe:b,' \.'spe:*' + + " vim:ft=vim:ff=unix: Index: geometry =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/geometry,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** geometry 22 Dec 2002 03:00:59 -0000 1.3 --- geometry 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 85,87 **** let g:TeX_package_geometry = \ 'bra:geometry' ! " vim:ft=vim --- 85,88 ---- let g:TeX_package_geometry = \ 'bra:geometry' ! ! " vim:ft=vim:ff=unix: Index: lineno =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/lineno,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lineno 25 Nov 2002 23:00:26 -0000 1.2 --- lineno 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 53,55 **** \.'nob:lineref' ! " vim:ft=vim --- 53,55 ---- \.'nob:lineref' ! " vim:ft=vim:ff=unix: Index: manyfoot =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/manyfoot,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** manyfoot 25 Nov 2002 23:00:26 -0000 1.2 --- manyfoot 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 4,6 **** --- 4,9 ---- \ . 'bra:Footnotemark,bra:Footnotetext,' \ . 'SplitNote' + let g:TeX_package_option_manyfoot = 'para' + + " vim:ft=vim:ff=unix: Index: polski =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/polski,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** polski 22 Dec 2002 03:01:05 -0000 1.9 --- polski 5 Jan 2003 21:47:08 -0000 1.10 *************** *** 1,6 **** " Author: Mikolaj Machowski <mi...@wp...> " (c) Copyright by Mikolaj Machowski 2002 - " Last Change: Thu Dec 19 03:00 AM 2002 PST " License: Vim Charityware " " Plik jest w kodowaniu iso-8859-2. Je¶li chcesz go uzywac w MS-Windows musisz --- 1,6 ---- " Author: Mikolaj Machowski <mi...@wp...> " (c) Copyright by Mikolaj Machowski 2002 " License: Vim Charityware + " Version: 1.5 " " Plik jest w kodowaniu iso-8859-2. Je¶li chcesz go uzywac w MS-Windows musisz *************** *** 152,154 **** endfunction ! " vim:ft=vim:ff=unix --- 152,154 ---- endfunction ! " vim:ft=vim:ff=unix: Index: SIunits =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/SIunits,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** SIunits 30 Apr 2002 00:03:25 -0000 1.1.1.1 --- SIunits 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 1,310 **** let g:TeX_package_SIunits = ! \'nor:addprefix,'. ! \'nor:addunit,'. ! \'nor:ampere,'. ! \'nor:amperemetresecond,'. ! \'nor:amperepermetre,'. ! \'nor:amperepermetrenp,'. ! \'nor:amperepersquaremetre,'. ! \'nor:amperepersquaremetrenp,'. ! \'nor:angstrom,'. ! \'nor:arad,'. ! \'nor:arcminute,'. ! \'nor:arcsecond,'. ! \'nor:are,'. ! \'nor:atomicmass,'. ! \'nor:atto,'. ! \'nor:attod,'. ! \'nor:barn,'. ! \'nor:bbar,'. ! \'nor:becquerel,'. ! \'nor:becquerelbase,'. ! \'nor:bel,'. ! \'nor:candela,'. ! \'nor:candelapersquaremetre,'. ! \'nor:candelapersquaremetrenp,'. ! \'nor:celsius,'. ! \'nor:Celsius,'. ! \'nor:celsiusbase,'. ! \'nor:centi,'. ! \'nor:centid,'. ! \'nor:coulomb,'. ! \'nor:coulombbase,'. ! \'nor:coulombpercubicmetre,'. ! \'nor:coulombpercubicmetrenp,'. ! \'nor:coulombperkilogram,'. ! \'nor:coulombperkilogramnp,'. ! \'nor:coulombpermol,'. ! \'nor:coulombpermolnp,'. ! \'nor:coulombpersquaremetre,'. ! \'nor:coulombpersquaremetrenp,'. ! \'nor:cubed,'. ! \'nor:cubic,'. ! \'nor:cubicmetre,'. ! \'nor:cubicmetreperkilogram,'. ! \'nor:cubicmetrepersecond,'. ! \'nor:curie,'. ! \'nor:dday,'. ! \'nor:deca,'. ! \'nor:decad,'. ! \'nor:deci,'. ! \'nor:decid,'. ! \'nor:degree,'. ! \'nor:degreecelsius,'. ! \'nor:deka,'. ! \'nor:dekad,'. ! \'nor:derbecquerel,'. ! \'nor:dercelsius,'. ! \'nor:dercoulomb,'. ! \'nor:derfarad,'. ! \'nor:dergray,'. ! \'nor:derhenry,'. ! \'nor:derhertz,'. ! \'nor:derjoule,'. ! \'nor:derkatal,'. ! \'nor:derlumen,'. ! \'nor:derlux,'. ! \'nor:dernewton,'. ! \'nor:derohm,'. ! \'nor:derpascal,'. ! \'nor:derradian,'. ! \'nor:dersiemens,'. ! \'nor:dersievert,'. ! \'nor:dersteradian,'. ! \'nor:dertesla,'. ! \'nor:dervolt,'. ! \'nor:derwatt,'. ! \'nor:derweber,'. ! \'nor:electronvolt,'. ! \'nor:exa,'. ! \'nor:exad,'. ! \'nor:farad,'. ! \'nor:faradbase,'. ! \'nor:faradpermetre,'. ! \'nor:faradpermetrenp,'. ! \'nor:femto,'. ! \'nor:femtod,'. ! \'nor:fourth,'. ! \'nor:gal,'. ! \'nor:giga,'. ! \'nor:gigad,'. ! \'nor:gram,'. ! \'nor:graybase,'. ! \'nor:graypersecond,'. ! \'nor:graypersecondnp,'. ! \'nor:hectare,'. ! \'nor:hecto,'. ! \'nor:hectod,'. ! \'nor:henry,'. ! \'nor:henrybase,'. ! \'nor:henrypermetre,'. ! \'nor:henrypermetrenp,'. ! \'nor:hertz,'. ! \'nor:hertzbase,'. ! \'nor:hour,'. ! \'nor:joule,'. ! \'nor:joulebase,'. ! \'nor:joulepercubicmetre,'. ! \'nor:joulepercubicmetrenp,'. ! \'nor:jouleperkelvin,'. ! \'nor:jouleperkelvinnp,'. ! \'nor:jouleperkilogram,'. ! \'nor:jouleperkilogramkelvin,'. ! \'nor:jouleperkilogramkelvinnp,'. ! \'nor:jouleperkilogramnp,'. ! \'nor:joulepermole,'. ! \'nor:joulepermolekelvin,'. ! \'nor:joulepermolekelvinnp,'. ! \'nor:joulepermolenp,'. ! \'nor:joulepersquaremetre,'. ! \'nor:joulepersquaremetrenp,'. ! \'nor:joulepertesla,'. ! \'nor:jouleperteslanp,'. ! \'nor:katal,'. ! \'nor:katalbase,'. ! \'nor:katalpercubicmetre,'. ! \'nor:katalpercubicmetrenp,'. ! \'nor:kelvin,'. ! \'nor:kilo,'. ! \'nor:kilod,'. ! \'nor:kilogram,'. ! \'nor:kilogrammetrepersecond,'. ! \'nor:kilogrammetrepersecondnp,'. ! \'nor:kilogrammetrepersquaresecond,'. ! \'nor:kilogrammetrepersquaresecondnp,'. ! \'nor:kilogrampercubicmetre,'. ! \'nor:kilogrampercubicmetrecoulomb,'. ! \'nor:kilogrampercubicmetrecoulombnp,'. ! \'nor:kilogrampercubicmetrenp,'. ! \'nor:kilogramperkilomole,'. ! \'nor:kilogramperkilomolenp,'. ! \'nor:kilogrampermetre,'. ! \'nor:kilogrampermetrenp,'. ! \'nor:kilogrampersecond,'. ! \'nor:kilogrampersecondcubicmetre,'. ! \'nor:kilogrampersecondcubicmetrenp,'. ! \'nor:kilogrampersecondnp,'. ! \'nor:kilogrampersquaremetre,'. ! \'nor:kilogrampersquaremetrenp,'. ! \'nor:kilogrampersquaremetresecond,'. ! \'nor:kilogrampersquaremetresecondnp,'. ! \'nor:kilogramsquaremetre,'. ! \'nor:kilogramsquaremetrenp,'. ! \'nor:kilogramsquaremetrepersecond,'. ! \'nor:kilogramsquaremetrepersecondnp,'. ! \'nor:kilowatthour,'. ! \'nor:liter,'. ! \'nor:litre,'. ! \'nor:lumen,'. ! \'nor:lumenbase,'. ! \'nor:lux,'. ! \'nor:luxbase,'. ! \'nor:mega,'. ! \'nor:megad,'. ! \'nor:meter,'. ! \'nor:metre,'. ! \'nor:metrepersecond,'. ! \'nor:metrepersecondnp,'. ! \'nor:metrepersquaresecond,'. ! \'nor:metrepersquaresecondnp,'. ! \'nor:micro,'. ! \'nor:microd,'. ! \'nor:milli,'. ! \'nor:millid,'. ! \'nor:minute,'. ! \'nor:mole,'. ! \'nor:molepercubicmetre,'. ! \'nor:molepercubicmetrenp,'. ! \'nor:nano,'. ! \'nor:nanod,'. ! \'nor:neper,'. ! \'nor:newton,'. ! \'nor:newtonbase,'. ! \'nor:newtonmetre,'. ! \'nor:newtonpercubicmetre,'. ! \'nor:newtonpercubicmetrenp,'. ! \'nor:newtonperkilogram,'. ! \'nor:newtonperkilogramnp,'. ! \'nor:newtonpermetre,'. ! \'nor:newtonpermetrenp,'. ! \'nor:newtonpersquaremetre,'. ! \'nor:newtonpersquaremetrenp,'. ! \'nor:NoAMS,'. ! \'nor:no@qsk,'. ! \'nor:ohm,'. ! \'nor:ohmbase,'. ! \'nor:ohmmetre,'. ! \'nor:one,'. ! \'nor:paminute,'. ! \'nor:pascal,'. ! \'nor:pascalbase,'. ! \'nor:pascalsecond,'. ! \'nor:pasecond,'. ! \'nor:per,'. ! \'nor:period@active,'. ! \'nor:persquaremetresecond,'. ! \'nor:persquaremetresecondnp,'. ! \'nor:peta,'. ! \'nor:petad,'. ! \'nor:pico,'. ! \'nor:picod,'. ! \'nor:power,'. ! \'nor:@qsk,'. ! \'nor:quantityskip,'. ! \'nor:rad,'. ! \'nor:radian,'. ! \'nor:radianbase,'. ! \'nor:radianpersecond,'. ! \'nor:radianpersecondnp,'. ! \'nor:radianpersquaresecond,'. ! \'nor:radianpersquaresecondnp,'. ! \'nor:reciprocal,'. ! \'nor:rem,'. ! \'nor:roentgen,'. ! \'nor:rp,'. ! \'nor:rpcubed,'. ! \'nor:rpcubic,'. ! \'nor:rpcubicmetreperkilogram,'. ! \'nor:rpcubicmetrepersecond,'. ! \'nor:rperminute,'. ! \'nor:rpersecond,'. ! \'nor:rpfourth,'. ! \'nor:rpsquare,'. ! \'nor:rpsquared,'. ! \'nor:rpsquaremetreperkilogram,'. ! \'nor:second,'. ! \'nor:siemens,'. ! \'nor:siemensbase,'. ! \'nor:sievert,'. ! \'nor:sievertbase,'. ! \'nor:square,'. ! \'nor:squared,'. ! \'nor:squaremetre,'. ! \'nor:squaremetrepercubicmetre,'. ! \'nor:squaremetrepercubicmetrenp,'. ! \'nor:squaremetrepercubicsecond,'. ! \'nor:squaremetrepercubicsecondnp,'. ! \'nor:squaremetreperkilogram,'. ! \'nor:squaremetrepernewtonsecond,'. ! \'nor:squaremetrepernewtonsecondnp,'. ! \'nor:squaremetrepersecond,'. ! \'nor:squaremetrepersecondnp,'. ! \'nor:squaremetrepersquaresecond,'. ! \'nor:squaremetrepersquaresecondnp,'. ! \'nor:steradian,'. ! \'nor:steradianbase,'. ! \'nor:tera,'. ! \'nor:terad,'. ! \'nor:tesla,'. ! \'nor:teslabase,'. ! \'nor:ton,'. ! \'nor:tonne,'. ! \'nor:unit,'. ! \'nor:unitskip,'. ! \'nor:usk,'. ! \'nor:volt,'. ! \'nor:voltbase,'. ! \'nor:voltpermetre,'. ! \'nor:voltpermetrenp,'. ! \'nor:watt,'. ! \'nor:wattbase,'. ! \'nor:wattpercubicmetre,'. ! \'nor:wattpercubicmetrenp,'. ! \'nor:wattperkilogram,'. ! \'nor:wattperkilogramnp,'. ! \'nor:wattpermetrekelvin,'. ! \'nor:wattpermetrekelvinnp,'. ! \'nor:wattpersquaremetre,'. ! \'nor:wattpersquaremetrenp,'. ! \'nor:wattpersquaremetresteradian,'. ! \'nor:wattpersquaremetresteradiannp,'. ! \'nor:weber,'. ! \'nor:weberbase,'. ! \'nor:yocto,'. ! \'nor:yoctod,'. ! \'nor:yotta,'. ! \'nor:yottad,'. ! \'nor:zepto,'. ! \'nor:zeptod,'. ! \'nor:zetta,'. ! \'nor:zettad' let g:TeX_package_option_SIunits = ! \'amssymb,'. ! \'binary,'. ! \'cdot,'. ! \'derived,'. ! \'derivedinbase,'. ! \'Gray,'. ! \'mediumqspace,'. ! \'mediumspace,'. ! \'noams,'. ! \'pstricks,'. ! \'squaren,'. ! \'textstyle,'. ! \'thickqspace,'. ! \'thickspace,'. ! \'thinqspace,'. ! \'thinspace' ! " vim:ft=vim --- 1,310 ---- let g:TeX_package_SIunits = ! \'nor:addprefix,'. ! \'nor:addunit,'. ! \'nor:ampere,'. ! \'nor:amperemetresecond,'. ! \'nor:amperepermetre,'. ! \'nor:amperepermetrenp,'. ! \'nor:amperepersquaremetre,'. ! \'nor:amperepersquaremetrenp,'. ! \'nor:angstrom,'. ! \'nor:arad,'. ! \'nor:arcminute,'. ! \'nor:arcsecond,'. ! \'nor:are,'. ! \'nor:atomicmass,'. ! \'nor:atto,'. ! \'nor:attod,'. ! \'nor:barn,'. ! \'nor:bbar,'. ! \'nor:becquerel,'. ! \'nor:becquerelbase,'. ! \'nor:bel,'. ! \'nor:candela,'. ! \'nor:candelapersquaremetre,'. ! \'nor:candelapersquaremetrenp,'. ! \'nor:celsius,'. ! \'nor:Celsius,'. ! \'nor:celsiusbase,'. ! \'nor:centi,'. ! \'nor:centid,'. ! \'nor:coulomb,'. ! \'nor:coulombbase,'. ! \'nor:coulombpercubicmetre,'. ! \'nor:coulombpercubicmetrenp,'. ! \'nor:coulombperkilogram,'. ! \'nor:coulombperkilogramnp,'. ! \'nor:coulombpermol,'. ! \'nor:coulombpermolnp,'. ! \'nor:coulombpersquaremetre,'. ! \'nor:coulombpersquaremetrenp,'. ! \'nor:cubed,'. ! \'nor:cubic,'. ! \'nor:cubicmetre,'. ! \'nor:cubicmetreperkilogram,'. ! \'nor:cubicmetrepersecond,'. ! \'nor:curie,'. ! \'nor:dday,'. ! \'nor:deca,'. ! \'nor:decad,'. ! \'nor:deci,'. ! \'nor:decid,'. ! \'nor:degree,'. ! \'nor:degreecelsius,'. ! \'nor:deka,'. ! \'nor:dekad,'. ! \'nor:derbecquerel,'. ! \'nor:dercelsius,'. ! \'nor:dercoulomb,'. ! \'nor:derfarad,'. ! \'nor:dergray,'. ! \'nor:derhenry,'. ! \'nor:derhertz,'. ! \'nor:derjoule,'. ! \'nor:derkatal,'. ! \'nor:derlumen,'. ! \'nor:derlux,'. ! \'nor:dernewton,'. ! \'nor:derohm,'. ! \'nor:derpascal,'. ! \'nor:derradian,'. ! \'nor:dersiemens,'. ! \'nor:dersievert,'. ! \'nor:dersteradian,'. ! \'nor:dertesla,'. ! \'nor:dervolt,'. ! \'nor:derwatt,'. ! \'nor:derweber,'. ! \'nor:electronvolt,'. ! \'nor:exa,'. ! \'nor:exad,'. ! \'nor:farad,'. ! \'nor:faradbase,'. ! \'nor:faradpermetre,'. ! \'nor:faradpermetrenp,'. ! \'nor:femto,'. ! \'nor:femtod,'. ! \'nor:fourth,'. ! \'nor:gal,'. ! \'nor:giga,'. ! \'nor:gigad,'. ! \'nor:gram,'. ! \'nor:graybase,'. ! \'nor:graypersecond,'. ! \'nor:graypersecondnp,'. ! \'nor:hectare,'. ! \'nor:hecto,'. ! \'nor:hectod,'. ! \'nor:henry,'. ! \'nor:henrybase,'. ! \'nor:henrypermetre,'. ! \'nor:henrypermetrenp,'. ! \'nor:hertz,'. ! \'nor:hertzbase,'. ! \'nor:hour,'. ! \'nor:joule,'. ! \'nor:joulebase,'. ! \'nor:joulepercubicmetre,'. ! \'nor:joulepercubicmetrenp,'. ! \'nor:jouleperkelvin,'. ! \'nor:jouleperkelvinnp,'. ! \'nor:jouleperkilogram,'. ! \'nor:jouleperkilogramkelvin,'. ! \'nor:jouleperkilogramkelvinnp,'. ! \'nor:jouleperkilogramnp,'. ! \'nor:joulepermole,'. ! \'nor:joulepermolekelvin,'. ! \'nor:joulepermolekelvinnp,'. ! \'nor:joulepermolenp,'. ! \'nor:joulepersquaremetre,'. ! \'nor:joulepersquaremetrenp,'. ! \'nor:joulepertesla,'. ! \'nor:jouleperteslanp,'. ! \'nor:katal,'. ! \'nor:katalbase,'. ! \'nor:katalpercubicmetre,'. ! \'nor:katalpercubicmetrenp,'. ! \'nor:kelvin,'. ! \'nor:kilo,'. ! \'nor:kilod,'. ! \'nor:kilogram,'. ! \'nor:kilogrammetrepersecond,'. ! \'nor:kilogrammetrepersecondnp,'. ! \'nor:kilogrammetrepersquaresecond,'. ! \'nor:kilogrammetrepersquaresecondnp,'. ! \'nor:kilogrampercubicmetre,'. ! \'nor:kilogrampercubicmetrecoulomb,'. ! \'nor:kilogrampercubicmetrecoulombnp,'. ! \'nor:kilogrampercubicmetrenp,'. ! \'nor:kilogramperkilomole,'. ! \'nor:kilogramperkilomolenp,'. ! \'nor:kilogrampermetre,'. ! \'nor:kilogrampermetrenp,'. ! \'nor:kilogrampersecond,'. ! \'nor:kilogrampersecondcubicmetre,'. ! \'nor:kilogrampersecondcubicmetrenp,'. ! \'nor:kilogrampersecondnp,'. ! \'nor:kilogrampersquaremetre,'. ! \'nor:kilogrampersquaremetrenp,'. ! \'nor:kilogrampersquaremetresecond,'. ! \'nor:kilogrampersquaremetresecondnp,'. ! \'nor:kilogramsquaremetre,'. ! \'nor:kilogramsquaremetrenp,'. ! \'nor:kilogramsquaremetrepersecond,'. ! \'nor:kilogramsquaremetrepersecondnp,'. ! \'nor:kilowatthour,'. ! \'nor:liter,'. ! \'nor:litre,'. ! \'nor:lumen,'. ! \'nor:lumenbase,'. ! \'nor:lux,'. ! \'nor:luxbase,'. ! \'nor:mega,'. ! \'nor:megad,'. ! \'nor:meter,'. ! \'nor:metre,'. ! \'nor:metrepersecond,'. ! \'nor:metrepersecondnp,'. ! \'nor:metrepersquaresecond,'. ! \'nor:metrepersquaresecondnp,'. ! \'nor:micro,'. ! \'nor:microd,'. ! \'nor:milli,'. ! \'nor:millid,'. ! \'nor:minute,'. ! \'nor:mole,'. ! \'nor:molepercubicmetre,'. ! \'nor:molepercubicmetrenp,'. ! \'nor:nano,'. ! \'nor:nanod,'. ! \'nor:neper,'. ! \'nor:newton,'. ! \'nor:newtonbase,'. ! \'nor:newtonmetre,'. ! \'nor:newtonpercubicmetre,'. ! \'nor:newtonpercubicmetrenp,'. ! \'nor:newtonperkilogram,'. ! \'nor:newtonperkilogramnp,'. ! \'nor:newtonpermetre,'. ! \'nor:newtonpermetrenp,'. ! \'nor:newtonpersquaremetre,'. ! \'nor:newtonpersquaremetrenp,'. ! \'nor:NoAMS,'. ! \'nor:no@qsk,'. ! \'nor:ohm,'. ! \'nor:ohmbase,'. ! \'nor:ohmmetre,'. ! \'nor:one,'. ! \'nor:paminute,'. ! \'nor:pascal,'. ! \'nor:pascalbase,'. ! \'nor:pascalsecond,'. ! \'nor:pasecond,'. ! \'nor:per,'. ! \'nor:period@active,'. ! \'nor:persquaremetresecond,'. ! \'nor:persquaremetresecondnp,'. ! \'nor:peta,'. ! \'nor:petad,'. ! \'nor:pico,'. ! \'nor:picod,'. ! \'nor:power,'. ! \'nor:@qsk,'. ! \'nor:quantityskip,'. ! \'nor:rad,'. ! \'nor:radian,'. ! \'nor:radianbase,'. ! \'nor:radianpersecond,'. ! \'nor:radianpersecondnp,'. ! \'nor:radianpersquaresecond,'. ! \'nor:radianpersquaresecondnp,'. ! \'nor:reciprocal,'. ! \'nor:rem,'. ! \'nor:roentgen,'. ! \'nor:rp,'. ! \'nor:rpcubed,'. ! \'nor:rpcubic,'. ! \'nor:rpcubicmetreperkilogram,'. ! \'nor:rpcubicmetrepersecond,'. ! \'nor:rperminute,'. ! \'nor:rpersecond,'. ! \'nor:rpfourth,'. ! \'nor:rpsquare,'. ! \'nor:rpsquared,'. ! \'nor:rpsquaremetreperkilogram,'. ! \'nor:second,'. ! \'nor:siemens,'. ! \'nor:siemensbase,'. ! \'nor:sievert,'. ! \'nor:sievertbase,'. ! \'nor:square,'. ! \'nor:squared,'. ! \'nor:squaremetre,'. ! \'nor:squaremetrepercubicmetre,'. ! \'nor:squaremetrepercubicmetrenp,'. ! \'nor:squaremetrepercubicsecond,'. ! \'nor:squaremetrepercubicsecondnp,'. ! \'nor:squaremetreperkilogram,'. ! \'nor:squaremetrepernewtonsecond,'. ! \'nor:squaremetrepernewtonsecondnp,'. ! \'nor:squaremetrepersecond,'. ! \'nor:squaremetrepersecondnp,'. ! \'nor:squaremetrepersquaresecond,'. ! \'nor:squaremetrepersquaresecondnp,'. ! \'nor:steradian,'. ! \'nor:steradianbase,'. ! \'nor:tera,'. ! \'nor:terad,'. ! \'nor:tesla,'. ! \'nor:teslabase,'. ! \'nor:ton,'. ! \'nor:tonne,'. ! \'nor:unit,'. ! \'nor:unitskip,'. ! \'nor:usk,'. ! \'nor:volt,'. ! \'nor:voltbase,'. ! \'nor:voltpermetre,'. ! \'nor:voltpermetrenp,'. ! \'nor:watt,'. ! \'nor:wattbase,'. ! \'nor:wattpercubicmetre,'. ! \'nor:wattpercubicmetrenp,'. ! \'nor:wattperkilogram,'. ! \'nor:wattperkilogramnp,'. ! \'nor:wattpermetrekelvin,'. ! \'nor:wattpermetrekelvinnp,'. ! \'nor:wattpersquaremetre,'. ! \'nor:wattpersquaremetrenp,'. ! \'nor:wattpersquaremetresteradian,'. ! \'nor:wattpersquaremetresteradiannp,'. ! \'nor:weber,'. ! \'nor:weberbase,'. ! \'nor:yocto,'. ! \'nor:yoctod,'. ! \'nor:yotta,'. ! \'nor:yottad,'. ! \'nor:zepto,'. ! \'nor:zeptod,'. ! \'nor:zetta,'. ! \'nor:zettad' let g:TeX_package_option_SIunits = ! \'amssymb,'. ! \'binary,'. ! \'cdot,'. ! \'derived,'. ! \'derivedinbase,'. ! \'Gray,'. ! \'mediumqspace,'. ! \'mediumspace,'. ! \'noams,'. ! \'pstricks,'. ! \'squaren,'. ! \'textstyle,'. ! \'thickqspace,'. ! \'thickspace,'. ! \'thinqspace,'. ! \'thinspace' ! " vim:ft=vim:ff=unix: Index: hyperref =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/hyperref,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** hyperref 22 Dec 2002 03:01:00 -0000 1.3 --- hyperref 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 1,5 **** - " Maintainer: Mikolaj Machowski <mi...@wp...> - " LastUpdate: 27.04.2002 - let g:TeX_package_option_hyperref = \ '4=,' --- 1,2 ---- *************** *** 162,163 **** --- 159,162 ---- \.'spe:value,' \.'spe:width' + + " vim:ft=vim:ff=unix: Index: multicol =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/multicol,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** multicol 22 Dec 2002 03:01:04 -0000 1.3 --- multicol 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- let g:TeX_package_option_multicol = '' + let g:TeX_package_multicol = \ 'ens:multicols:{<+cols+>}[<+text+>][<+sep+>],' *************** *** 12,13 **** --- 13,16 ---- \.'raggedcolumns,' \.'unbalanced' + + " vim:ft=vim:ff=unix: Index: ulem =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/ulem,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ulem 25 Nov 2002 23:00:26 -0000 1.2 --- ulem 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 13,14 **** --- 13,16 ---- \.'ULthickness,' \.'ULdepth' + + " vim:ft=vim:ff=unix: Index: bar =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/bar,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bar 22 Dec 2002 03:00:55 -0000 1.3 --- bar 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- let g:TeX_package_option_bar = '' + let g:TeX_package_bar = \ 'env:barenv,' *************** *** 18,19 **** --- 19,22 ---- \.'brs:setyname[<+lrbt+>]{<+etiquette+>},' \.'brs:setxvaluetyp{<+day-month+>}' + + " vim:ft=vim:ff=unix: Index: longtable =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/longtable,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** longtable 30 Dec 2002 19:11:21 -0000 1.3 --- longtable 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 28,30 **** \.'nor:newpage' ! " vim:ft=vim:ts=4:sw=4:noet --- 28,30 ---- \.'nor:newpage' ! " vim:ft=vim:ts=4:sw=4:noet:ff=unix: Index: harpoon =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/harpoon,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** harpoon 25 Nov 2002 23:00:25 -0000 1.2 --- harpoon 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- let g:TeX_package_option_harpoon = '' + let g:TeX_package_harpoon = \ 'bra:overleftharp,' *************** *** 9,10 **** --- 10,13 ---- \.'bra:underleftharpdown,' \.'bra:underrightharpdown' + + " vim:ft=vim:ff=unix: Index: changebar =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/changebar,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** changebar 22 Dec 2002 03:00:56 -0000 1.3 --- changebar 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 27,28 **** --- 27,30 ---- \.'spe:changebargrey,' \.'nochangebars' + + " vim:ft=vim:ff=unix: Index: amsmath =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/amsmath,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** amsmath 30 Dec 2002 00:48:43 -0000 1.5 --- amsmath 5 Jan 2003 21:47:08 -0000 1.6 *************** *** 96,98 **** \.'brs:DeclareMathSymbol{<++>}{<++>}{<++>}{<++>},' \.'bra:eqref' ! " vim:ft=vim --- 96,99 ---- \.'brs:DeclareMathSymbol{<++>}{<++>}{<++>}{<++>},' \.'bra:eqref' ! ! " vim:ft=vim:ff=unix: Index: overcite =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/overcite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** overcite 25 Nov 2002 23:00:26 -0000 1.2 --- overcite 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 1,3 **** ! let g:TeX_package_option_cite = \ 'verbose,' \.'ref,' --- 1,3 ---- ! let g:TeX_package_option_overcite = \ 'verbose,' \.'ref,' *************** *** 9,13 **** \.'noadjust' ! let g:TeX_package_cite = \ 'bra:cite,' \.'bra:citen,' --- 9,13 ---- \.'noadjust' ! let g:TeX_package_overcite = \ 'bra:cite,' \.'bra:citen,' *************** *** 23,24 **** --- 23,25 ---- \.'bra:citedash' + " vim:ft=vim:ff=unix: Index: inputenc =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/inputenc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** inputenc 25 Nov 2002 23:00:26 -0000 1.2 --- inputenc 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 21,22 **** --- 21,24 ---- let g:TeX_package_inputenc = \ 'bra:inputencoding' + + " vim:ft=vim:ff=unix: Index: drftcite =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/drftcite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** drftcite 25 Nov 2002 23:00:25 -0000 1.2 --- drftcite 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 1,3 **** ! let g:TeX_package_option_cite = \ 'verbose,' \.'nospace,' --- 1,3 ---- ! let g:TeX_package_option_drftcite = \ 'verbose,' \.'nospace,' *************** *** 9,13 **** \.'nocitecount' ! let g:TeX_package_cite = \ 'bra:cite,' \.'bra:citen,' --- 9,13 ---- \.'nocitecount' ! let g:TeX_package_drftcite = \ 'bra:cite,' \.'bra:citen,' *************** *** 20,21 **** --- 20,22 ---- \.'bra:citedash' + " vim:ft=vim:ff=unix: Index: chapterbib =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/chapterbib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** chapterbib 25 Nov 2002 23:00:25 -0000 1.2 --- chapterbib 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 17,18 **** --- 17,19 ---- \.'bra:citedash' + " vim:ft=vim:ff=unix: Index: amsxtra =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/amsxtra,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** amsxtra 15 Nov 2002 22:31:08 -0000 1.1 --- amsxtra 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 1,4 **** --- 1,7 ---- let g:TeX_package_option_amsxtra = '' + let g:TeX_package_amsxtra = \ 'nor:sphat,' \.'nor:sptilde' + + " vim:ft=vim:ff=unix: Index: amsthm =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/amsthm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** amsthm 15 Nov 2002 22:31:08 -0000 1.1 --- amsthm 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- let TeX_package_option_amsthm = '' + let TeX_package_amsthm = \ 'env:proof,' *************** *** 12,13 **** --- 13,16 ---- \.'nor:qed,' \.'nor:qedhere' + + " vim:ft=vim:ff=unix: Index: tipa =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/tipa,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tipa 23 Nov 2002 17:18:00 -0000 1.1 --- tipa 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 356,357 **** --- 356,359 ---- \.'bra:sublptr,' \.'bra:subrptr' + + " vim:ft=vim:ff=unix: Index: parallel =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/parallel,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** parallel 23 Nov 2002 17:18:00 -0000 1.1 --- parallel 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 7,8 **** --- 7,10 ---- \.'nor:ParallelPar,' \.'nor:tolerance' + + " vim:ft=vim:ff=unix: Index: eqlist =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/eqlist,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** eqlist 23 Nov 2002 17:18:00 -0000 1.1 --- eqlist 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 11,12 **** --- 11,14 ---- \.'eqlistinitpar,' \.'eqlistlabel' + + " vim:ft=vim:ff=unix: Index: eqparbox =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/eqparbox,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** eqparbox 27 Dec 2002 22:59:25 -0000 1.3 --- eqparbox 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 5,6 **** --- 5,7 ---- \.'bra:eqboxwidth' + " vim:ft=vim:ff=unix: Index: outliner =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/outliner,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** outliner 23 Nov 2002 17:18:00 -0000 1.1 --- outliner 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 11,12 **** --- 11,14 ---- \.'bra:OutlineLevelCont,' \.'bra:OutlineLevelEnd' + + " vim:ft=vim:ff=unix: Index: schedule =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/schedule,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** schedule 22 Dec 2002 03:01:06 -0000 1.3 --- schedule 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 13,15 **** \.'brs:NewAppointment{<+name+>}{<+bg+>}{<+fg+>}' ! " vim:ft=vim:ff=unix --- 13,15 ---- \.'brs:NewAppointment{<+name+>}{<+bg+>}{<+fg+>}' ! " vim:ft=vim:ff=unix: Index: newalg =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/newalg,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** newalg 22 Dec 2002 03:01:05 -0000 1.3 --- newalg 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 18,19 **** --- 18,21 ---- \.'bra:item,' \.'nor:algkey' + + " vim:ft=vim:ff=unix: Index: graphicx =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/graphicx,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** graphicx 22 Dec 2002 03:01:00 -0000 1.2 --- graphicx 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 62,64 **** \.'bra:graphicspath' ! " vim:ft=vim:ff=unix --- 62,64 ---- \.'bra:graphicspath' ! " vim:ft=vim:ff=unix: Index: footmisc =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/footmisc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** footmisc 13 Dec 2002 17:58:07 -0000 1.1 --- footmisc 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 14,16 **** let g:TeX_package_footmisc = '' ! " vim:ft=vim:ff=unix --- 14,16 ---- let g:TeX_package_footmisc = '' ! " vim:ft=vim:ff=unix: Index: accents =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/accents,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** accents 13 Dec 2002 17:58:03 -0000 1.1 --- accents 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 19,23 **** \.'bra:vec,' \.'brd:accentset,' ! \.'brd:underaccent,' ! " vim:ft=vim:ff=unix --- 19,23 ---- \.'bra:vec,' \.'brd:accentset,' ! \.'brd:underaccent' ! " vim:ft=vim:ff=unix: Index: caption2 =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/caption2,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** caption2 13 Dec 2002 17:58:10 -0000 1.1 --- caption2 5 Jan 2003 21:47:08 -0000 1.2 *************** *** 36,38 **** \.'bra:setcaptionwidth' ! " vim:ft=vim:ff=unix --- 36,38 ---- \.'bra:setcaptionwidth' ! " vim:ft=vim:ff=unix: Index: color =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/color,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** color 22 Dec 2002 03:00:57 -0000 1.2 --- color 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 36,38 **** \.'nob:pagecolor' ! " vim:ft=vim:ff=unix --- 36,38 ---- \.'nob:pagecolor' ! " vim:ft=vim:ff=unix: Index: float =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/float,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** float 22 Dec 2002 03:00:58 -0000 1.2 --- float 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 9,11 **** \.'brd:floatplacement' ! " vim:ft=vim:ff=unix --- 9,11 ---- \.'brd:floatplacement' ! " vim:ft=vim:ff=unix: Index: ifthen =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/ifthen,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ifthen 27 Dec 2002 22:59:25 -0000 1.3 --- ifthen 5 Jan 2003 21:47:08 -0000 1.4 *************** *** 14,16 **** \.'nor:not' ! " vim:ft=vim:ff=unix --- 14,16 ---- \.'nor:not' ! " vim:ft=vim:ff=unix: Index: moreverbatim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/moreverbatim,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** moreverbatim 22 Dec 2002 03:01:03 -0000 1.2 --- moreverbatim 5 Jan 2003 21:47:08 -0000 1.3 *************** *** 19,21 **** ! " vim:ft=vim:ff=unix --- 19,21 ---- ! " vim:ft=vim:ff=unix: |
From: <ma...@us...> - 2003-01-05 14:01:26
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv29704/plugin Modified Files: imaps.vim Log Message: This is another attempt to deal with encoding problems. * Do not make a call to iconv() when it is not needed. This is important when vim is compiled with -iconv. * Wrap the call to iconv, and the test for whether it is needed, in a new, heavily commented, helper function, s:Iconv(). Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** imaps.vim 4 Jan 2003 00:44:56 -0000 1.20 --- imaps.vim 5 Jan 2003 14:01:21 -0000 1.21 *************** *** 8,12 **** " while preserving filetype indentation. " ! " Last Change: Fri Jan 03 04:00 PM 2003 PST " " Documentation: {{{ --- 8,12 ---- " while preserving filetype indentation. " ! " Last Change: Sun Jan 05 08:00 AM 2003 EST " " Documentation: {{{ *************** *** 281,290 **** " such as "\xab" may not match itself. We try to get around this by " changing the encoding of all our strings. At the end, we have to ! " convert back. ! let textEnc = iconv(text, "latin1", &enc) ! let phsEnc = iconv(phs, "latin1", &enc) ! let pheEnc = iconv(phe, "latin1", &enc) ! let phsUserEnc = iconv(phsUser, "latin1", &enc) ! let pheUserEnc = iconv(pheUser, "latin1", &enc) " If there are no place holders, just return the text. --- 281,295 ---- " such as "\xab" may not match itself. We try to get around this by " changing the encoding of all our strings. At the end, we have to ! " convert text back. ! let phsEnc = s:Iconv(phs, "encode") ! let pheEnc = s:Iconv(phe, "encode") ! let phsUserEnc = s:Iconv(phsUser, "encode") ! let pheUserEnc = s:Iconv(pheUser, "encode") ! let textEnc = s:Iconv(text, "encode") ! if textEnc != text ! let textEncoded = 1 ! else ! let textEncoded = 0 ! endif " If there are no place holders, just return the text. *************** *** 312,317 **** let textEnc = substitute(textEnc, '\V'.phs.'\(\.\{-}\)'.phe, \ phsUserEnc.'\1'.pheUserEnc, 'g') ! " The substitutions are done, so convert back. ! let text = iconv(textEnc, &enc, "latin1") " Now append the marker (the rare string) to the beginning of the text so " we know where the expansion started from --- 317,326 ---- let textEnc = substitute(textEnc, '\V'.phs.'\(\.\{-}\)'.phe, \ phsUserEnc.'\1'.pheUserEnc, 'g') ! " The substitutions are done, so convert back, if necessary. ! if textEncoded ! let text = s:Iconv(textEnc, "decode") ! else ! let text = textEnc ! endif " Now append the marker (the rare string) to the beginning of the text so " we know where the expansion started from *************** *** 600,606 **** " }}} ! " Hash: Return a version of a string that can be used as part of a variable" {{{ " name. ! " Converts every non alphanumeric characteer into _{ascii}_ where {ascii} is " the ASCII code for that character... fun! s:Hash(text) --- 609,615 ---- " }}} ! " s:Hash: Return a version of a string that can be used as part of a variable" {{{ " name. ! " Converts every non alphanumeric character into _{ascii}_ where {ascii} is " the ASCII code for that character... fun! s:Hash(text) *************** *** 628,631 **** --- 637,668 ---- endfun " }}} + " s:Iconv: a wrapper for iconv()" {{{ + " Problem: after + " let text = "\xab" + " (or using the raw 8-bit ASCII character in a file with 'fenc' set to + " "latin1") if 'encoding' is set to utf-8, then text does not match itself: + " echo text =~ text + " returns 0. + " Solution: When this happens, a re-encoded version of text does match text: + " echo iconv(text, "latin1", "utf8") =~ text + " returns 1. In this case, convert text to utf-8 with iconv(). + " TODO: Is it better to use &encoding instead of "utf8"? Internally, vim + " uses utf-8, and can convert between latin1 and utf-8 even when compiled with + " -iconv, so let's try using utf-8. + " Arguments: + " a:text = text to be encoded or decoded + " a:mode = "encode" (latin1 to utf8) or "decode" (utf8 to latin1) + " Caution: do not encode and then decode without checking whether the text + " has changed, becuase of the :if clause in encoding! + function! s:Iconv(text, mode) + if a:mode == "decode" + return iconv(a:text, "utf8", "latin1") + endif + if a:text =~ '\V\^' . escape(a:text, '\') . '\$' + return a:text + endif + return iconv(a:text, "latin1", "utf8") + endfun + "" }}} " IMAP_Debug: interface to Tex_Debug if available, otherwise emulate it {{{ " Description: |
From: <sri...@us...> - 2003-01-05 08:46:57
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv13350 Modified Files: main.vim Log Message: Bug: More debugging the debug functions! Ahh... The irony. The Tex_PrintDebug() function wasn't working well. Cause/Solution: used a:pattern instead of pattern Bug: Refer to 1.17 of envmacros.vim Solution: Used the Tex_SetFastEnvironmentMaps() from envmacros.vim in order to set buffer local mappings for the <F5> and <S-F5> keys for every tex file opened. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** main.vim 4 Jan 2003 00:49:53 -0000 1.23 --- main.vim 5 Jan 2003 08:46:52 -0000 1.24 *************** *** 4,8 **** " Email: sr...@fa... " URL: ! " Last Change: Fri Jan 03 04:00 PM 2003 PST " " Help: --- 4,8 ---- " Email: sr...@fa... " URL: ! " Last Change: Sun Jan 05 12:00 AM 2003 PST " " Help: *************** *** 451,455 **** endif if exists('s:debugString_'.pattern) ! echo s:debugString_{a:pattern} endif endfunction " }}} --- 451,455 ---- endif if exists('s:debugString_'.pattern) ! echo s:debugString_{pattern} endif endfunction " }}} *************** *** 509,512 **** --- 509,517 ---- if g:Tex_SmartKeyDot inoremap <buffer> <silent> . <C-R>=<SID>SmartDots()<CR> + endif + call Tex_Debug('checking to see if Tex_SetFastEnvironmentMaps needs to be called.', 'main') + if g:Tex_PromptedEnvironments != '' || g:Tex_HotKeyMappings != '' + call Tex_Debug('calling Tex_SetFastEnvironmentMaps', 'main') + call Tex_SetFastEnvironmentMaps() endif |
From: <sri...@us...> - 2003-01-05 08:36:23
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv11460 Modified Files: envmacros.vim Log Message: - Bug: <F5> was not buffer local mapping. <S-F5> was mapped only for the first buffer which latex-suite is activated from. Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** envmacros.vim 30 Dec 2002 11:12:02 -0000 1.16 --- envmacros.vim 5 Jan 2003 08:36:17 -0000 1.17 *************** *** 3,7 **** " Author: Mikolaj Machowski " Created: Tue Apr 23 08:00 PM 2002 PST ! " Last Change: Mon Dec 30 03:00 AM 2002 PST " " Description: mappings/menus for environments. --- 3,7 ---- " Author: Mikolaj Machowski " Created: Tue Apr 23 08:00 PM 2002 PST ! " Last Change: Sun Jan 05 12:00 AM 2003 PST " " Description: mappings/menus for environments. *************** *** 601,608 **** let b:DoubleDollars = 0 ! inoremap <F5> <C-r>=Tex_FastEnvironmentInsert()<cr> ! nnoremap <F5> i<C-r>=Tex_FastEnvironmentInsert()<cr> ! inoremap <buffer> <S-F5> <C-O>:call Tex_ChangeEnvironments()<CR> ! nnoremap <buffer> <S-F5> :call Tex_ChangeEnvironments()<CR> " Tex_FastEnvironmentInsert: maps <F5> to prompt for env and insert it " {{{ --- 601,609 ---- let b:DoubleDollars = 0 ! " Provide only <plug>s here. main.vim will create the actual maps. ! inoremap <silent> <Plug>Tex_FastEnvironmentInsert <C-r>=Tex_FastEnvironmentInsert()<cr> ! nnoremap <silent> <Plug>Tex_FastEnvironmentInsert i<C-r>=Tex_FastEnvironmentInsert()<cr> ! inoremap <silent> <Plug>Tex_FastEnvironmentChange <C-O>:call Tex_ChangeEnvironments()<CR> ! nnoremap <silent> <Plug>Tex_FastEnvironmentChange :call Tex_ChangeEnvironments()<CR> " Tex_FastEnvironmentInsert: maps <F5> to prompt for env and insert it " {{{ *************** *** 669,673 **** normal! 0"_D return Tex_pack_one(pack) ! endfunction " }}} " Tex_ChangeEnvironments: calls Change() to change the environment {{{ " Description: --- 670,676 ---- normal! 0"_D return Tex_pack_one(pack) ! endfunction ! ! " }}} " Tex_ChangeEnvironments: calls Change() to change the environment {{{ " Description: *************** *** 807,811 **** while envname != '' ! exec 'inoremap <S-F'.i.'> <C-r>=Tex_PutEnvironment("'.envname.'")<CR>' let i = i + 1 --- 810,814 ---- while envname != '' ! exec 'inoremap <silent> <buffer> <S-F'.i.'> <C-r>=Tex_PutEnvironment("'.envname.'")<CR>' let i = i + 1 *************** *** 816,824 **** endfunction " }}} - call s:SetUpHotKeys() - endif " }}} " this statement has to be at the end. --- 819,847 ---- endfunction " }}} endif " }}} + " Tex_SetFastEnvironmentMaps: function for setting up the <F5> and <S-F1>-<S-F4> keys {{{ + " Description: This function is made public so it can be called by the + " SetTeXOptions() function in main.vim + function! Tex_SetFastEnvironmentMaps() + if g:Tex_PromptedEnvironments != '' + if !hasmapto('<Plug>Tex_FastEnvironmentInsert', 'i') + imap <silent> <buffer> <F5> <Plug>Tex_FastEnvironmentInsert + endif + if !hasmapto('<Plug>Tex_FastEnvironmentInsert', 'n') + nmap <silent> <buffer> <F5> <Plug>Tex_FastEnvironmentInsert + endif + if !hasmapto('<Plug>Tex_FastEnvironmentChange', 'i') + imap <silent> <buffer> <S-F5> <Plug>Tex_FastEnvironmentChange + endif + if !hasmapto('<Plug>Tex_FastEnvironmentChange', 'n') + nmap <silent> <buffer> <S-F5> <Plug>Tex_FastEnvironmentChange + endif + endif + if g:Tex_HotKeyMappings != '' + call s:SetUpHotKeys() + endif + endfunction " }}} " this statement has to be at the end. |
From: <sri...@us...> - 2003-01-05 04:50:49
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory sc8-pr-cvs1:/tmp/cvs-serv28312 Modified Files: smartspace.vim Log Message: Bug fix from Carl Mueller. Bug: Reformatting is not done when <space> is pressed at the end of a line like: $aaaaaa.......$ asdf where there are say > &tw 'a's. In other words, reformatting isn't done outside the '$'s. Cause: Do not really know, should ask Carl Solution: Apparently the diff here... TODO: Still one more bug. Pressing <space> in the position $aaaaaaaa.........................aaa $ asdf ^ shown makes new lines appear after this line. Index: smartspace.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/smartspace.vim,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** smartspace.vim 3 Jan 2003 23:08:13 -0000 1.4 --- smartspace.vim 5 Jan 2003 04:50:46 -0000 1.5 *************** *** 3,7 **** " Author: Carl Muller " Created: Fri Dec 06 12:00 AM 2002 PST ! " Last Change: Fri Jan 03 03:00 PM 2003 PST " " Description: --- 3,7 ---- " Author: Carl Muller " Created: Fri Dec 06 12:00 AM 2002 PST ! " Last Change: Sat Jan 04 12:00 AM 2003 PST " " Description: *************** *** 87,90 **** --- 87,93 ---- let length = col(".") endwhile + if go == 0 && match(getline("."), '.*\$.*\$.*') != -1 + exe "normal $F$wi\<CR>\<Esc>" + endif endfunction |
From: <sri...@us...> - 2003-01-05 04:39:33
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv25823 Modified Files: texrc Log Message: . There are still some serious bugs in the smartspace mapping. Also, in accordance with the the philosophy of "no surprises even if you haven't read the surprises", I am reluctant to do something as agressive as setting 'tw' to zero by default. People who want this should read the docs, understand the implications and then activate this option. Index: texrc =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texrc,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** texrc 29 Dec 2002 23:42:43 -0000 1.17 --- texrc 5 Jan 2003 04:39:31 -0000 1.18 *************** *** 4,8 **** " Author: Srinath Avadhanula " Created: Mon Apr 01 11:00 AM 2002 PST ! " Last Change: Sat Dec 28 09:00 PM 2002 PST " " Description: This file contains resource configuration information for the --- 4,8 ---- " Author: Srinath Avadhanula " Created: Mon Apr 01 11:00 AM 2002 PST ! " Last Change: Sat Jan 04 08:00 PM 2003 PST " " Description: This file contains resource configuration information for the *************** *** 390,394 **** " broken across lines. " NOTE: Setting this to 1 has the side-effect of making the 'tw' setting be 0. ! TexLet g:Tex_SmartKeySpace = 1 " Pressing ... (3 dots) results in \ldots outside math mode and \cdots in math --- 390,394 ---- " broken across lines. " NOTE: Setting this to 1 has the side-effect of making the 'tw' setting be 0. ! TexLet g:Tex_SmartKeySpace = 0 " Pressing ... (3 dots) results in \ldots outside math mode and \cdots in math |