> I can see how someone editing a single > document would often want to complete both ways. In which situation you need to stick to the old tex-based completion? I used my aux-based completion since one or two months and I never missed the tex-based completion.
The only advantage of the tex-based completion is, that you see some neighbourhood (one line before or after) of the \label, but mostly this contained no information for me. >> 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? Currently, this can't be customized, but it is surely possible. > I also am confused about using "theorem.4.5" some places and "(3.4)" > other places. For referencing equations you type (equation.number). This does work also with (A.1) or (12.23c). For referencing something which is not an equation you type latex-counter-name.number, e.g. section.2 or subsection.2.12,... > 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)? You have to use the name of the latex counter. > And why the different handling of equations? Because I can type (2.2) faster than equation.2.2. > Furthermore, I think I would much rather type... > > \autoref{theorem.4.5<F9>} > > and have that replaced with > > \autoref{thm:a_nice_theorem} This does work. Gerd ------------------------------------------------------------------------------ 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