ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Problems with "mathalign"
Date: Wed, 3 Jan 2007 18:31:55 +0100	[thread overview]
Message-ID: <6faad9f00701030931l59be89a8y5a6cc5e14ebdcc70@mail.gmail.com> (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

             reply	other threads:[~2007-01-03 17:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-03 17:31 Mojca Miklavec [this message]
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

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=6faad9f00701030931l59be89a8y5a6cc5e14ebdcc70@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).