> That's no big deal - the recognizing of the other commands can be easily > added - just post your problems.
I have no problems with <F9> as I have no desire to ever need such a feature. > Now I will comment my customizations. I patched/rewrote outline.py. Now, > it > looks at the aux-file and not at the tex-file. If I write some > mathematical > text, then I think "I need equation (3.4)". Up to now, I needed to look > in the > tex-file for the corresponding label. With my patched version, I can do > the > following: This is a very different feature, and so it seems like it should be either added as a separate completer or merged (as opposed to replacing) with the existing F9 completion. I can see how someone editing a single document would often want to complete both ways. > Typing (3.4)<F9> results in \eqref{eq:a_beautiful_equation} [ Note: The need for \eqref can be mitigated with varioref's \labelformat and/or hyperref's \autoref. There is absolutely no reason that equations need to be handled differently within the main LaTeX content than any other reference. ] > Moreover, I also works for theorems etc. Typing theorem.4.5 results in > \autoref{thm:a_nice_theorem} I'm a little confused (I haven't looked at the script) about how the completer picks the \*ref you want. Some people are going to use the \*refs provided by the cleveref package. Others (like me) are going to use \autoref nearly everywhere but other variants (\Autoref) in some places and \ref in some other cases (after "and", for example), and I would never ever use \eqref. How could I configure? I also am confused about using "theorem.4.5" some places and "(3.4)" other places. For one, how is the average user going to know for sure exactly which AUX name to use (thm.4.5 vs theorem.4.5)? And why the different handling of equations? Furthermore, I think I would much rather type... \autoref{theorem.4.5<F9>} and have that replaced with \autoref{thm:a_nice_theorem} So I think the script could do more by doing less... and that might make it play very nice with existing F9 completion (that searches through the TeX). --Ted -- Ted Pavlic <t...@tedpavlic.com> ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel