[Vim-latex-devel] help, unable to use LaTeX Folding features of VLS
Brought to you by:
srinathava,
tmaas
From: Animesh N N. <an...@gm...> - 2003-05-20 18:41:41
|
hi, i've been breaking my head on VLS and trying to fold some LaTeX src code. i use the sample code from the latex-suite manual: ---------- \begin{figure}[h] \centerline{\psfig{figure=slidercrank.eps,height=6cm}} \caption{The Slider Crank Mechanism.} \label{fig:slidercrank} \end{figure} % a LaTeX comment. \begin{eqnarray} \sin(\pi) = 0 \end{eqnarray} ---------- i place my cursor on first line and type "\rf"; that results in; ---------- \begin{figure}[h] \centerline{\psfig{figure=slidercrank.eps,height=6cm}} \caption{The Slider Crank Mechanism.} \label{fig:slidercrank} \end{figure} % a LaTeX comment. +-- 3 lines eqnarray () : \sin(\pi) = 0------------------------- ---------- as per VLS manual i shud have got: ---------- +--- 5 lines: figure (fig:slidercrank) : The Slider Crank Mechanism. ----- % a LaTeX comment. +--- 3 lines: eqnarray () : \sin(\pi) = 0 -------------------------------- ---------- did i do something wrong... ? i think it hasn't worked for me yet. what's the correct method? ciao animesh -- : ####[ GNU/Linux One Stanza Tip (LOST) ]####################### Sub : sed hints (deleting sequential lines) LOST #428 To remove a range of lines from "x" through "y" of a text file where the limits x and y are known: $ sed -e 'x,yd' /path/to/some/file ####[banduji (at) symonds.net]################################ : |