From: Adam Lindsay <atl@comp.lancs.ac.uk>
Subject: Re: Force an indent
Date: Mon, 20 Feb 2006 20:08:05 +0000 [thread overview]
Message-ID: <43FA21A5.70106@comp.lancs.ac.uk> (raw)
In-Reply-To: <38A2A0B8-8EDF-4026-82A8-8A4E47660B09@cox.net>
[I realised this other part of my draft answer would be good for the
archive:]
David Arnold wrote:
> I do not want to do this:
>
> \setupformulas[indentnext=auto]
>
>...
> Because that has the effect that paragraphs following formulae are
> always indented. I don't want that. I want to be able to type the
> source like this ...
(not always, in the "auto" case)
> \setupwhitespace[medium]
>
> \setupindenting[medium,yes]
>
> \starttext
>
> Again, we choose to multiply the fours, then the result by the square
> root of three. That is,
>
> \placeformula[-]
> \startformula
> 4(4\sqrt3)
> =16\sqrt3.
> \stopformula
>
> By induction, we can argue that that the associative and commutative
> properties will allows us to group and arrange the product of more
> than three numbers in any order that we please.
>
> \stoptext
Although it doesn't really apply to you, because of the spaced-out
nature of your source files, this will help someone out. If you have
indentnext=auto set for formulae (or verbatim or itemize), then you have
no indent if there's no blank line between the formula and the text. If
there is a blank line, then there's a normal indent.
In the example, watch what happens after the two \stopformula s:
\setupindenting[medium,yes]
\setupformulas[indentnext=auto]
\starttext
\input ward
You will find that
\startformula
2+2=5
\stopformula % no blank line
for very large values of two.
\input dawkins
However, traditionalists maintain that
\startformula
2+2=4
\stopformula % extra blank line
Moving on, we find...
\input tufte
\stoptext
(pardon the extra test text. The bits that I wrote didn't make the
example clear enough when typeset.)
> ... and not have the next paragraph after the formula. That is the
> default. That is what I want. However, on occasion, "sometimes" I do
> want to indent the next paragraph after a formula. My question is,
> how to override the default behavior "on occasion." That is, every
> "rare once in a while," how do I indent a paragraph after a formula.
>
>
> On Feb 20, 2006, at 10:13 AM, Taco Hoekwater wrote:
>
>> David Arnold wrote:
>>> OK,
>>>
>>> But this gives the same result. No indent.
>> [ok]
>>
>>> How can I get that paragraph after the placeformula to indent?
>> \setupindenting[medium,yes]
>> \setupformulas[indentnext=yes]
>> %\setupfloats[indentnext=yes] % maybe desired as well?
>>
>> I just discovered that only this
>>
>> \setupindenting[medium,always]
>>
>> doesn't work either, and that is a bit counterintuitive.
>>
>> Cheers, Taco
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2006-02-20 20:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-20 8:47 David Arnold
2006-02-20 10:56 ` Taco Hoekwater
2006-02-20 17:48 ` David Arnold
2006-02-20 18:13 ` Taco Hoekwater
2006-02-20 18:55 ` David Arnold
2006-02-20 19:21 ` Peter Rolf
2006-02-20 19:25 ` Joshua Ellis
2006-02-20 19:30 ` David Arnold
2006-02-20 19:41 ` Adam Lindsay
2006-02-20 20:08 ` Adam Lindsay [this message]
2006-02-20 18:36 ` Peter Rolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43FA21A5.70106@comp.lancs.ac.uk \
--to=atl@comp.lancs.ac.uk \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).