Re: [Vim-latex-devel] About folding, again
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@ee...> - 2002-11-20 07:31:51
|
Hey Fabio, Please have a short look at ftplugin/latex-suite/folding.vim if you get some time. Specifically, the portion in MakeTexFolds() where all the folds are defined... I have put up a fairly comprehensive documentation there about how to add new folding items etc. The problem right now is that latex-suite doesn't know about the existence of \appendix as a foldable environment... What we will need is to have all the sections/subsections etc also end at \appendix... I will do that now. However, I am beginning to become afraid that there is no end in sight to this :) Do you have an idea of a "correct" way to define section folds? For example, you might define some new command called \myappendix or something and put that after a \section. In this case again, latex-suite will fold it up with the previous seciton/chapter etc... Do you have any ideas how something like this could be avoided... Thanks, Srinath On 19 Nov 2002, Fabio Spelta wrote: > Well, the trouble is similar to the previous one. > This time, after the last > > \section{title} > blah > blah > blah > > ...I start Appendixes this way: > > \appendix > \input{a1} > \input{a2} |