[NTG-context] leqalignno and labels

2009-11-02 Thread Pau
Hello,

thanks again for all answers regarding labelling. It has mostly worked but I am
now having a particular problem with leqalignno.

It turns out that the \placeformula[mylabel] works as expected but for
\leqalignno

This is an example:

--
\placeformula[Pflux]
\startformula
\leqalignno{
 f_{q}^{p}(v) = \frac{32}{5} \nu^{10} v^{10} \left[1 +
\log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right)
\right]\cr
 \times P_{q}^{p} \left[\left(1 - \frac{v}{v_{\p}} \right)
\sum_{i=0}^{k} {\cal{F}}_{i}^{\lf} v^{i} \right],\cr
   }
\stopformula
--

Then, when doing  Eq.~\in[Pflux] in the text, it will produce an ?? in
the resulting pdf.

Any help will be appreciated.

Thanks,

Pau
___
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
___


Re: [NTG-context] leqalignno and labels

2009-11-02 Thread Aditya Mahajan

On Mon, 2 Nov 2009, Pau wrote:


Hello,

thanks again for all answers regarding labelling. It has mostly worked but I am
now having a particular problem with leqalignno.

It turns out that the \placeformula[mylabel] works as expected but for
\leqalignno

This is an example:

--
\placeformula[Pflux]
\startformula
\leqalignno{
f_{q}^{p}(v) = \frac{32}{5} \nu^{10} v^{10} \left[1 +
\log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right)
\right]\cr
\times P_{q}^{p} \left[\left(1 - \frac{v}{v_{\p}} \right)
\sum_{i=0}^{k} {\cal{F}}_{i}^{\lf} v^{i} \right],\cr
  }
\stopformula
--

Then, when doing  Eq.~\in[Pflux] in the text, it will produce an ?? in
the resulting pdf.


Don't use \leqalignno and friends in ConTeXt. Instead use the ConTeXt 
equivalents.


\setupformulas[location=left]

\starttext
\placeformula[Pflux]
\startformula \startalign
  \NC f_{q}^{p}(v) \NC = \frac{32}{5} \nu^{10} v^{10} \left[1 +
\log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right)
\right]\NR[+]
 \NC \NC \times P_{q}^{p} \left[\left(1 - \frac{v}{v_{p}} \right)
\sum_{i=0}^{k} {\cal{F}}_{i}^{lf} v^{i} \right], \NR
\stopalign \stopformula
\stoptext


Aditya
___
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
___