ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Subtle problem with startformula
@ 2006-01-21 16:09 David Arnold
  2006-01-23 10:56 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2006-01-21 16:09 UTC (permalink / raw)


All,

If you're not aware of this one, consider:

\placeformula[-]
\startformula
   [-2,2)=\{x:\, -2\le x < 2\}.
\stopformula

Won't compile, but try:

\placeformula[-]
\startformula\relax
   [-2,2)=\{x:\, -2\le x < 2\}.
\stopformula

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Subtle problem with startformula
  2006-01-21 16:09 Subtle problem with startformula David Arnold
@ 2006-01-23 10:56 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2006-01-23 10:56 UTC (permalink / raw)


David Arnold wrote:

> All,
>
> If you're not aware of this one, consider:
>
> \placeformula[-]
> \startformula
>   [-2,2)=\{x:\, -2\le x < 2\}.
> \stopformula
>
> Won't compile, but try:
>
> \placeformula[-]
> \startformula\relax
>   [-2,2)=\{x:\, -2\le x < 2\}.
> \stopformula

this is indeed a side effect of optional arguments 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-23 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-21 16:09 Subtle problem with startformula David Arnold
2006-01-23 10:56 ` Hans Hagen

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).