ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Problems with "mathalign"
Date: Wed, 3 Jan 2007 14:18:12 -0500 (EST)	[thread overview]
Message-ID: <alpine.WNT.0.81.0701031412110.3452@nqvgln> (raw)
In-Reply-To: <6faad9f00701030931l59be89a8y5a6cc5e14ebdcc70@mail.gmail.com>

On Wed, 3 Jan 2007, Mojca Miklavec wrote:

> 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

Do not use the latex syntax.

> This results in a very weird formula numbering

Something is broken. AFAIK, this should not give you any number.

> \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:

Adding [+] is necessary.

> \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

I can confirm that there is an extra number. I do not know what is 
causing this. I am not aware of anything in core-mat has changed.

I compiled My Way on mathalign, and everything has an extra number. 
hmm...

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

Yes you need the placefurmula.

> 
> \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?

Something is broken.

Aditya

  reply	other threads:[~2007-01-03 19:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-03 17:31 Mojca Miklavec
2007-01-03 19:18 ` Aditya Mahajan [this message]
2007-01-03 20:15   ` Taco Hoekwater
2007-02-19 21:24   ` Wim Neimeijer
2007-02-20  0:53     ` Aditya Mahajan

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=alpine.WNT.0.81.0701031412110.3452@nqvgln \
    --to=adityam@umich.edu \
    --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).