ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problems with "mathalign"
@ 2007-01-03 17:31 Mojca Miklavec
  2007-01-03 19:18 ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2007-01-03 17:31 UTC (permalink / raw)


Hello,

I wanted to keep Aditya busy now that he finished his wonderful new
module ;), so ...


I first wanted to ask how to number subformulas in a certain way, but
that I figured out that numbering is already causing some problems on
its own.


Consider the following examples:

\starttext

This is almost OK, but has one formula number too much here:

\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
	  a & =b
	& A & =B \\
	  c & =d
	& C & =D \\
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer

This results in a very weird formula numbering

\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
	\NC a \NC =b
	\NC A \NC =B \NR
	\NC c \NC =d
	\NC C \NC =D \NR
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer

Adding [+] helps, but than we have the same problem as at the beginning:

\startbuffer
\placeformula
\startformula
\startalign[m=2,distance=3cm]
	\NC a \NC =b
	\NC A \NC =B \NR[+]
	\NC c \NC =d
	\NC C \NC =D \NR[+]
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer

Without placeforumla, but with [+] we don't get any numbering at all:

\startbuffer
\startformula
\startalign[m=2,distance=3cm]
	\NC a \NC =b
	\NC A \NC =B \NR[+]
	\NC c \NC =d
	\NC C \NC =D \NR[+]
\stopalign
\stopformula
\stopbuffer
\typebuffer
\getbuffer

\stoptext

CtxTools | context version: 2006.12.27 11:34
(After running "ctxtools --update" I just managed to break everything.)

Any clue?

Thanks,
    Mojca

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

end of thread, other threads:[~2007-02-20  0:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-03 17:31 Problems with "mathalign" Mojca Miklavec
2007-01-03 19:18 ` Aditya Mahajan
2007-01-03 20:15   ` Taco Hoekwater
2007-02-19 21:24   ` Wim Neimeijer
2007-02-20  0:53     ` Aditya Mahajan

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