Re: [Vim-latex-devel] <F9> Debian
Brought to you by:
srinathava,
tmaas
From: Yigal W. <yig...@gm...> - 2006-09-16 22:41:22
|
I played with this some more - it took me a month to play with it rather than typing :w, :v :($numberofwords)e - and realized that the automated pasting of a reference occurs - at this point - if there are no spaces in the label i.e. the automatic completion of the reference to fig: structure vs. tree is: \ref{fig:} However the automatic reference to fig:structure-vs-tree is: \ref{fig: structure-vs-tree} so not worrying about python for now I can perl, sed or awk my thesis documents into automatic reference completions. Still some help on full usability would be nice eventually. On Sat, 2006-09-16 at 15:04 -0700, Yigal Weinstein wrote: > In Debian without a patch from the package maintainer, Franz Pletz > <fp...@fr...> , (attached is the patch) no outline is > generated when attempting to obtain a reference through \ref{<F9>} but > only python errors (as has been discussed on this board). With the > patch, however, an outline is available but it lacks the feature that > if a return is made on the ">" the name is inserted into the > references instead only the type is. > > For example, assume I wanted a certain reference "fig: structure vs. > tree" so \ref{<F9>}: > > fig: structure vs. tree > > Pressing return on the ">" one gets \ref{fig:} and not the desired > \ref{fig: structure vs. tree}? > > I believe the answer is an error in $VIM/addons/ftplugin/outline.py, > unfortunately I don't speak python. > > Please help me get this functionality. I realize that as I am dealing > with a patched outline I may be on my own but perhaps you can give me > suggestions. |