From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8356 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: A proposal for the sectioning commands--addendum Date: Sun, 23 Jun 2002 21:39:21 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020623213307.034094c0@server-1> References: <1809370081.20020621154616@bigfoot.com> <1809370081.20020621154616@bigfoot.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398768 26913 80.91.224.250 (23 Oct 2002 18:46:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:46:08 +0000 (UTC) Cc: Giuseppe Bilotta , ntg-context@ntg.nl Original-To: John Culleton In-Reply-To: <200206211201.27913.john@wexfordpress.com> Xref: main.gmane.org gmane.comp.tex.context:8356 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8356 At 12:01 PM 6/21/2002 -0400, John Culleton wrote: > > * 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. right from the start the context syntax has been influenced and has influenced the way we edit texts; here we use texedit which we wrote long ago (in modula 2); due to some problems under win2k (the os2 mem model is no longer supported so we cannot run sub jobs) we've rewritten this editor in perl/tk. We're now in the process of switching. Since this editor is under my control, i can tune it a bit to context and vise versa. Structure based navigation is part of the game. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------