Selon Till Maas <opensou...@till.name>: > On Wed, Oct 27, 2010 at 07:21:41PM +0200, patrickmas...@free.fr wrote: > > Dear vim-latex-devel, > > > > As reported in > > http://permalink.gmane.org/gmane.comp.editors.vim.latex.devel/88 > > if your LaTeX file contains something like > > \label{section:Important stuff} > > (note the space between Important and stuff) then \ref{<F9>} > > will bring a correct outline buffer but when you press Enter on the line > > section:Important stuff > > you will get in your original file: > > \ref{section:Important} > > instead of the expected > > \ref{section:Important stuff} > > This works for me with this minimal example and SVN revision 1112: > \documentclass{article} > \begin{document} > > \label{label1nospace} > \label{label2 space} > \label{label3nospace} > > \ref{ > \end{document}
Hi, I'm sorry, I haven't been enough specific. My minimal example is \documentclass{article} \begin{document} \section{First section} \label{label1nospace} \section{Second one} \label{label2 space} \ref{ \end{document} The (fully unfolded) outline window is 1. First section<<<1 > label1nospace </home/pmassot/tmp/test.tex> : \section{First section} 2. Second one<<<1 > label2 space </home/pmassot/tmp/test.tex> : \section{Second one} Actually I get the expected result when I press enter on the second to last line but not when I press enter on the last line (which is the one that makes sense to me). Best, Patrick ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel