Selon Till Maas <ope...@ti...>:
> On Wed, Oct 27, 2010 at 07:21:41PM +0200, pat...@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
|