Re: new indentation in context
Ralf Angeli <[email protected]> Fri, 11 Mar 2005 23:04:07 +0100
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
* Adam Duck (2005-03-11) writes:
> while filing a bug report to the ConTeXt-ML I discovered a bug in the
> new indentation-code. I have this code:
>
> --- ConTeXt code ---
>
> \setupFLOWcharts[offset=50pt]
>
> \startFLOWchart[test]
>
> \startFLOWcell
> \name{one}
> \location{1,1}
> ....
>
> --- end ---
>
> as you can see, there should be no indentation after a "\setup.*" or
> "\define.*", and after "\define.*" there isn't. The funny thing is:
> every line with a \setup-command gets indented -2 chars and the
> following line +2 (so you don't see it if you have more than one line
> of \setup-commands).
Well, that's actually a feature. According to code I didn't change
with the last check-in, \setup... commands should be treated like
\item commands.
What are \setup... commands for and how are they used? (I tried to
download that 2.4MB monster of a ConTeXt manual from pragma-ade.nl,
but this is not really fun via a 56k connection, especially if the
modem hangs up after one MB.)
--
Ralf