Hello, I'm the new maintainer of vim-latexuite in Debian GNU/Linux. There are some open bugs in our BTS at http://bugs.debian.org/vim-latexsuite which need your attendence. Some have already been forwarded to your BTS or mailing list a few months/years ago but don't seem to be fixed in the current release.
I created patches against 20060325 for 2 issues myself which are attached and work: - 03_insertitem.patch, http://bugs.debian.org/350021 When going into insert mode with a there are issues with the placement of \item. Please see the bug for details. - 04_fname_outline.patch, http://bugs.debian.org/365152 outline.py adds the .tex extension twice when it's already given in and input/include statement. These are the bugs I wasn't able to address myself and need your assistence: - http://bugs.debian.org/233682 - http://bugs.debian.org/310649 - http://bugs.debian.org/312816 - http://bugs.debian.org/282753 And these are bugs which were already forwarded to you: - http://bugs.debian.org/242974 - http://bugs.debian.org/280793 - http://bugs.debian.org/254619 Please take your time as all of these bugs are more than one year old and mostly minor though should get fixed in the near future. Thanks, Franz -- Franz Pletz \ The Internet treats censorship as www: http://franz-pletz.org/ \ damage and routes around it. email: [EMAIL PROTECTED] \ -- John Gilmore
--- vim-latexsuite_20060325.orig/ftplugin/latex-suite/envmacros.vim 2006-04-24 22:24:22.000000000 +0200 +++ vim-latexsuite/ftplugin/latex-suite/envmacros.vim 2006-03-21 06:50:34.000000000 +0100 @@ -942,7 +942,7 @@ " Tex_SetItemMaps: sets the \item inserting maps for current buffer {{{ " Description: -inoremap <script> <silent> <Plug>Tex_InsertItemOnThisLine <Esc>a<C-r>=Tex_InsertItem()<CR> +inoremap <script> <silent> <Plug>Tex_InsertItemOnThisLine <C-r>=Tex_InsertItem()<CR> inoremap <script> <silent> <Plug>Tex_InsertItemOnNextLine <ESC>o<C-R>=Tex_InsertItem()<CR> function! Tex_SetItemMaps()
--- vim-latexsuite_20060325.orig/ftplugin/latex-suite/outline.py 2006-03-21 20:29:35.000000000 +0100 +++ vim-latexsuite/ftplugin/latex-suite/outline.py 2006-04-28 13:30:03.000000000 +0200 @@ -11,20 +11,28 @@ import sys import StringIO -# getFileContents {{{ -def getFileContents(argin, ext=''): - if type(argin) is str: - fname = argin + ext +# includeFile {{{ +def includeFile(fname): + if type(fname) is not str: + fname = fname.group(3) + + (root, ext) = os.path.splitext(fname) + + if not ext: + return getFileContents(fname + '.tex') else: - fname = argin.group(3) + ext + return getFileContents(fname) +# }}} +# getFileContents {{{ +def getFileContents(fname): # This longish thing is to make sure that all files are converted into # \n seperated lines. contents = '\n'.join(open(fname).read().splitlines()) # TODO what are all the ways in which a tex file can include another? pat = re.compile(r'^\\(@?)(include|input){(.*?)}', re.M) - contents = re.sub(pat, lambda input: getFileContents(input, ext), contents) + contents = re.sub(pat, includeFile, contents) return ('%%==== FILENAME: %s' % fname) + '\n' + contents @@ -166,8 +174,7 @@ if head: os.chdir(head) - [root, ext] = os.path.splitext(tail) - contents = getFileContents(root, ext) + contents = getFileContents(fname) nonempty = stripComments(contents) lineinfo = addFileNameAndNumber(nonempty)
signature.asc
Description: Digital signature