On Friday 21 June 2002 09:46 am, Giuseppe Bilotta wrote:
> Hello,
>


> * in editors that allow folding: proper folding of whole sections.
>
> Hans, do you think you can implement this easily?
Addendum to my previous comments:

I use folding in GVim by putting a ``stop'' command just before each 
``start'' commnad. this is clumsy but it is easier to remember than what 
Bilotti proposes. Better would be an editor that did this kind of controlling
automatically. Here is a sample of what I must do currently:

%--1
\chapter{The Best of Breed Software Packages}
%++1
%--2
\section{Operating Systems}
%++2
%--3
\subsection{Linux}
%++3

The above is not elegant but with the proper setup in .vimrc it works. 

I perhaps need to create a Vim macro that would put the befores and afters
on the tags. (e.g. %--2 before and %++2 after)

Incidentally I use Context not because it is ``structured'' but because it 
implements features not found in other incarnations of TeX, like hanging
punctuation and sidebars.

John Culleton


__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com

Reply via email to