ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Multiline formula numbering problems
Date: Mon, 31 Jan 2011 11:43:31 +0100	[thread overview]
Message-ID: <B99B2C5E-A2F9-4F59-8EF9-3C3B3DA539F6@gmail.com> (raw)
In-Reply-To: <4D469133.2090100@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1243 bytes --]

Hi Vyatcheslav,

In fact you should say \NR[+] at the end of each line in \startalign in order to get numbers.
This works for me:
\starttext

\placeformula 
\startformula 
\startalign
\NC \dot{x}(t) \NC=f(x(t), u(t)) \NR[+]
\NC y(t) \NC=h(x(t), u(t)), \NR[+]
\stopalign
\stopformula

\stoptext
Best regards: OK

On 31 janv. 2011, at 11:38, Vyatcheslav Yatskovsky wrote:

> \starttext
> 
> % has number
> \placeformula \startformula
> f(x_0, u_0)=0.
> \stopformula
> 
> % has no number
> \placeformula \startformula \startalign
> \NC \dot{x}(t) \NC=f(x(t), u(t)) \NR
> \NC y(t) \NC=h(x(t), u(t)), \NR
> \stopalign \stopformula
> 
> 
> % no numbers even here
> \startsubformulas
> \placeformula \startformula
> \dot{x}(t)=f(x(t), u(t))
> \stopformula
> \placeformula \startformula
> y(t) =h(x(t), u(t)),
> \stopformula
> \stopsubformulas
> 
> \stoptext
> 
> Regards,
> Vyatcheslav

%%%%%%%%%%%%%%%%%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: Otared.Kavian@math.uvsq.fr





[-- Attachment #1.2: Type: text/html, Size: 3146 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2011-01-31 10:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.661.1296466041.4223.ntg-context@ntg.nl>
2011-01-31 10:38 ` Vyatcheslav Yatskovsky
2011-01-31 10:43   ` Otared Kavian [this message]
     [not found] <mailman.2.1296471602.28801.ntg-context@ntg.nl>
2011-01-31 11:19 ` Vyatcheslav Yatskovsky

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=B99B2C5E-A2F9-4F59-8EF9-3C3B3DA539F6@gmail.com \
    --to=otared@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).