[Vim-latex-devel] Issue with includegraphics tex-completion and Tex_ImageDir

2009-04-21 Thread Kay Smarczewski
Hey,

I use the latest svn trunk version.
If I leave the
 TexLet g:Tex_ImageDir = ''
in texrc the F9-completion of \includegraphics{ aborts without any
message. Setting it to
 Tex_ImageDir = '.'
brings the completion back to life. So this could be a better default
value.

But the inserted path way too long, e.g. ..//home/.../tex/file
Changing the param value for the root dir for Tex_SetupFileCompletion 
to '' solves this problem for me. I have attached a tiny patch... maybe
someone can use it sometime.

Kind regards,

Kay
--- texviewer.vim	2009-04-21 17:30:42.0 +0200
+++ texviewer_new.vim	2009-04-21 17:30:19.0 +0200
@@ -149,7 +149,7 @@
 \ '^\.\\|\.tex$\\|\.bib$\\|\.bbl$\\|\.zip$\\|\.gz$', 
 \ 'noext', 
 \ Tex_GetVarValue('Tex_ImageDir', '.'), 
-\ Tex_GetVarValue('Tex_ImageDir', ''))
+\ '')
 			
 		elseif exists(s:type)  s:type == 'bibliography'
 			call Tex_SetupFileCompletion(
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel


Re: [Vim-latex-devel] F5---equation environment

2009-04-21 Thread Till Maas
On Di April 21 2009, Stefanie Fauconnier wrote:

 I have the same problem. When I hit F5 in insert mode and choose an
 environment (doesn't matter which one) there is a redundant  before the
 cursor. I'm using vim-latexsuite 20060325-4.1 on Ubuntu Hardy (installed
 from the Ubuntu repos). Is there a big difference between this version and
 the current svn version? I don't know if I'd better upgrade or not, I made
 quite a few customizations so I don't know if it would matter that much
 anyway (I replaced most math functionalities with shortcuts and combo's for
 linguists). Where can I find the subversion repository?

Here you can find the instructions for the vim-latex svn repository:
https://sourceforge.net/scm/?type=svngroup_id=52322

There seems to be a fix in svn for your problem according to the log message:
http://vim-latex.svn.sourceforge.net/viewvc/vim-latex?view=revrevision=1013

I am not sure, whether an update is worth it for you, but some bugs have been 
fixed in svn, that were present in the latest tarball release.

Regards,
Till


signature.asc
Description: This is a digitally signed message part.
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel