ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Reference to formula does not work?
@ 2009-09-14 20:59 Mingyang Sun
  2009-09-14 21:15 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Mingyang Sun @ 2009-09-14 20:59 UTC (permalink / raw)
  To: ntg-context

Hi all,

Say I have a formula that is numbered as "1.1".  The problem is when I
use \in to refer to that formula, the reference only shows a number
"1", and if interaction is enabled, the link does not work neither.
The following is the code I use:

    \setupinteraction[state=start,focus=standard]
    \starttext
    \chapter{Test}
    \section{Test}
    
    \placeformula[eq:test]
    \startformula
      a + b
    \stopformula
    Eq \in[eq:test]
    
    \section{Test 2}
    
    \placeformula[eq:testtwo]
    \startformula
      a + b
    \stopformula
    Eq \in[eq:testtwo]

    \stoptext

Another question is, how to make formula number without the chapter
number?.

Thanks~~

-- 
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force.
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Reference to formula does not work?
  2009-09-14 20:59 Reference to formula does not work? Mingyang Sun
@ 2009-09-14 21:15 ` Aditya Mahajan
  2009-09-14 21:47   ` Mingyang Sun
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2009-09-14 21:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 14 Sep 2009, Mingyang Sun wrote:

> Hi all,
>
> Say I have a formula that is numbered as "1.1".  The problem is when I
> use \in to refer to that formula, the reference only shows a number
> "1", and if interaction is enabled, the link does not work neither.

Confirmed (in MKIV). I don't know how to correct it.

> Another question is, how to make formula number without the chapter
> number?.

The usual way is to say

\setupformulas[way=bytext]

but that also seems to be broken in MKIV.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Reference to formula does not work?
  2009-09-14 21:15 ` Aditya Mahajan
@ 2009-09-14 21:47   ` Mingyang Sun
  2009-09-14 22:06     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mingyang Sun @ 2009-09-14 21:47 UTC (permalink / raw)
  To: ntg-context

On Mon, Sep 14, 2009 at 05:15:52PM -0400, Aditya Mahajan wrote:
> On Mon, 14 Sep 2009, Mingyang Sun wrote:
> > Another question is, how to make formula number without the chapter
> > number?.
> 
> The usual way is to say
> 
> \setupformulas[way=bytext]
> 
> but that also seems to be broken in MKIV.

Ya.  Tried, not work...

-- 
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force.
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Reference to formula does not work?
  2009-09-14 21:47   ` Mingyang Sun
@ 2009-09-14 22:06     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-09-14 22:06 UTC (permalink / raw)
  To: ntg-context

Mingyang Sun wrote:
> On Mon, Sep 14, 2009 at 05:15:52PM -0400, Aditya Mahajan wrote:
>> On Mon, 14 Sep 2009, Mingyang Sun wrote:
>>> Another question is, how to make formula number without the chapter
>>> number?.
>> The usual way is to say
>>
>> \setupformulas[way=bytext]
>>
>> but that also seems to be broken in MKIV.
> 
> Ya.  Tried, not work...


i'll have a look at it this week

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-09-14 22:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-14 20:59 Reference to formula does not work? Mingyang Sun
2009-09-14 21:15 ` Aditya Mahajan
2009-09-14 21:47   ` Mingyang Sun
2009-09-14 22:06     ` Hans Hagen

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