* Indentation after formulas
@ 2004-01-15 17:25 David Munger
2004-01-15 17:26 ` David Munger
0 siblings, 1 reply; 6+ messages in thread
From: David Munger @ 2004-01-15 17:25 UTC (permalink / raw)
Hello,
Compiling the following results in indented text following the formula:
% interface=en tex=pdfetex output=pdftex
\usemodule [nath]
\setupindenting [medium]
\starttext
\section{Some section}
Let
\placeformula
\[
f(x) = x^2,
\]
where $x$ means nothing.
\stoptext
I'd like "where $x$ means nothing." not to be indented as a new paragraph.
Am I doing something wrong?
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Indentation after formulas
2004-01-15 17:25 Indentation after formulas David Munger
@ 2004-01-15 17:26 ` David Munger
2004-01-20 20:59 ` Re : " David Munger
0 siblings, 1 reply; 6+ messages in thread
From: David Munger @ 2004-01-15 17:26 UTC (permalink / raw)
Hello,
Compiling the following results in indented text following the formula:
% interface=en tex=pdfetex output=pdftex
\usemodule [nath]
\setupindenting [medium]
\starttext
\section{Some section}
Let
\placeformula
\[
f(x) = x^2,
\]
where $x$ means nothing.
\stoptext
I'd like "where $x$ means nothing." not to be indented as a new paragraph.
Am I doing something wrong?
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re : Indentation after formulas
2004-01-15 17:26 ` David Munger
@ 2004-01-20 20:59 ` David Munger
2004-01-21 12:22 ` Re : [NTG-context] " Giuseppe Bilotta
0 siblings, 1 reply; 6+ messages in thread
From: David Munger @ 2004-01-20 20:59 UTC (permalink / raw)
> Let
> \placeformula
> \[
> f(x) = x^2,
> \]
> where $x$ means nothing.
I've found that inserting
\let\startformula\startmpformula
\let\stopformula\stopmpformula
before \usemodule[nath] does the trick. But I feel it's not a very good idea.
Any advice?
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re : [NTG-context] Indentation after formulas
2004-01-20 20:59 ` Re : " David Munger
@ 2004-01-21 12:22 ` Giuseppe Bilotta
2004-01-21 17:24 ` Re : [NTG-context] Re: Re : " David Munger
0 siblings, 1 reply; 6+ messages in thread
From: Giuseppe Bilotta @ 2004-01-21 12:22 UTC (permalink / raw)
Tuesday, January 20, 2004 David Munger wrote:
>> Let
>> \placeformula
>> \[
>> f(x) = x^2,
>> \]
>> where $x$ means nothing.
> I've found that inserting
> \let\startformula\startmpformula
> \let\stopformula\stopmpformula
> before \usemodule[nath] does the trick. But I feel it's not a very good idea.
> Any advice?
It's not a good idea indeed.
Try \setupformulas[indentnext=yes], rather. Of course, you do
know that indenting the text following a formula when the text refers to
the formula is not a typographical/structural good idea, don't
you? ;)
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re : [NTG-context] Re: Re : Indentation after formulas
2004-01-21 12:22 ` Re : [NTG-context] " Giuseppe Bilotta
@ 2004-01-21 17:24 ` David Munger
2004-01-21 17:34 ` Re : [NTG-context] Re: Re : [NTG-context] " Giuseppe Bilotta
0 siblings, 1 reply; 6+ messages in thread
From: David Munger @ 2004-01-21 17:24 UTC (permalink / raw)
> Try \setupformulas[indentnext=yes], rather. Of course, you do
> know that indenting the text following a formula when the text refers to
> the formula is not a typographical/structural good idea, don't
> you? ;)
Ahhh... It works fine with \setupformulas[indentnext=no]. Thanks.
Actually, I was not trying to indent text following formulas, but rather to
remove such indentation, which seems to be the default behavior.
I noticed a \setupformulas[indentnext=auto] in t-amsl.tex. Is it intended to
indent on a paragraph change following a formula and to make no indentation if
there's no paragraph change, just like in LaTeX? If it is, I might have to
upgrade again.
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re : [NTG-context] Re: Re : [NTG-context] Indentation after formulas
2004-01-21 17:24 ` Re : [NTG-context] Re: Re : " David Munger
@ 2004-01-21 17:34 ` Giuseppe Bilotta
0 siblings, 0 replies; 6+ messages in thread
From: Giuseppe Bilotta @ 2004-01-21 17:34 UTC (permalink / raw)
Wednesday, January 21, 2004 David Munger wrote:
>> Try \setupformulas[indentnext=yes], rather. Of course, you do
>> know that indenting the text following a formula when the text refers to
>> the formula is not a typographical/structural good idea, don't
>> you? ;)
> Ahhh... It works fine with \setupformulas[indentnext=no]. Thanks.
> Actually, I was not trying to indent text following formulas, but rather to
> remove such indentation, which seems to be the default behavior.
> I noticed a \setupformulas[indentnext=auto] in t-amsl.tex. Is it intended to
> indent on a paragraph change following a formula and to make no indentation if
> there's no paragraph change, just like in LaTeX? If it is, I might have to
> upgrade again.
You got the meaning of indentnext=auto correctly. That's the
default, so it *should* work this way: if there is an empty
line after the \], then indent next text; if there is no empty
line, then don't indent next line.
OTOH, I'm thinking there is probably a bug somewhere in there,
because of the \ignorespaces I'm using in the definition of \];
I'll have to look into this.
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-01-21 17:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15 17:25 Indentation after formulas David Munger
2004-01-15 17:26 ` David Munger
2004-01-20 20:59 ` Re : " David Munger
2004-01-21 12:22 ` Re : [NTG-context] " Giuseppe Bilotta
2004-01-21 17:24 ` Re : [NTG-context] Re: Re : " David Munger
2004-01-21 17:34 ` Re : [NTG-context] Re: Re : [NTG-context] " Giuseppe Bilotta
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).