![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
Hello Hans, what's the status of referencing mechanism in MKIV? (I have some memories that you were implementing some fancy features, but the simple example doesn't work at the moment): \placeformula[test] \startformula a+b=c \stopformula \in[test] Thanks, Mojca
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 10 Nov 2009, Mojca Miklavec wrote:
Hello Hans,
what's the status of referencing mechanism in MKIV? (I have some memories that you were implementing some fancy features, but the simple example doesn't work at the moment):
\placeformula[test] \startformula a+b=c \stopformula \in[test]
Formula referencing has been working fine for a while now. which version are you using? The example works correctly in 2009.11.09 and 2009.11.02. Aditya
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Tue, Nov 10, 2009 at 16:12, Aditya Mahajan wrote:
On Tue, 10 Nov 2009, Mojca Miklavec wrote:
Hello Hans,
what's the status of referencing mechanism in MKIV? (I have some memories that you were implementing some fancy features, but the simple example doesn't work at the moment):
\placeformula[test] \startformula a+b=c \stopformula \in[test]
Formula referencing has been working fine for a while now. which version are you using? The example works correctly in 2009.11.09 and 2009.11.02.
The almost-latest one, I guess (2009.11.10 13:30, beta-0.44.0). And this time I have no TeX Live installed or whatever other version of ConTeXt that could interfere. Never mind. I have just seem to have a bad karma. What happens on your machine with \placeformula[test one]? Mojca
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 10 Nov 2009, Mojca Miklavec wrote:
On Tue, Nov 10, 2009 at 16:12, Aditya Mahajan wrote:
On Tue, 10 Nov 2009, Mojca Miklavec wrote:
Hello Hans,
what's the status of referencing mechanism in MKIV? (I have some memories that you were implementing some fancy features, but the simple example doesn't work at the moment):
\placeformula[test] \startformula a+b=c \stopformula \in[test]
Formula referencing has been working fine for a while now. which version are you using? The example works correctly in 2009.11.09 and 2009.11.02.
The almost-latest one, I guess (2009.11.10 13:30, beta-0.44.0). And this time I have no TeX Live installed or whatever other version of ConTeXt that could interfere.
Never mind. I have just seem to have a bad karma. What happens on your machine with \placeformula[test one]?
that does not work. label with spaces works with sections but not with formulas. Aditya
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Aditya Mahajan wrote:
that does not work. label with spaces works with sections but not with formulas.
hm, weird ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Aditya Mahajan wrote:
On Tue, 10 Nov 2009, Mojca Miklavec wrote:
On Tue, Nov 10, 2009 at 16:12, Aditya Mahajan wrote:
On Tue, 10 Nov 2009, Mojca Miklavec wrote:
Hello Hans,
what's the status of referencing mechanism in MKIV? (I have some memories that you were implementing some fancy features, but the simple example doesn't work at the moment):
\placeformula[test] \startformula a+b=c \stopformula \in[test]
Formula referencing has been working fine for a while now. which version are you using? The example works correctly in 2009.11.09 and 2009.11.02.
The almost-latest one, I guess (2009.11.10 13:30, beta-0.44.0). And this time I have no TeX Live installed or whatever other version of ConTeXt that could interfere.
Never mind. I have just seem to have a bad karma. What happens on your machine with \placeformula[test one]?
str-ref.lua, line 199: for s in gmatch(reference,"%s*([^,]+)") do ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Tue, Nov 10, 2009 at 16:57, Hans Hagen wrote:
str-ref.lua, line 199:
for s in gmatch(reference,"%s*([^,]+)") do
Great! This solves the problem, thanks a lot Hans. Mojca (PS: for some weird reason the references have not worked at all with current (I won't test again), but then I changed the test case before updating, so I didn't notice that the latest version almost worked.)
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Mojca Miklavec wrote:
On Tue, Nov 10, 2009 at 16:57, Hans Hagen wrote:
str-ref.lua, line 199:
for s in gmatch(reference,"%s*([^,]+)") do
Great! This solves the problem, thanks a lot Hans.
Mojca
(PS: for some weird reason the references have not worked at all with current (I won't test again), but then I changed the test case before updating, so I didn't notice that the latest version almost worked.)
math numbering has been redone and is under testing and not in the current but only in beta Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Mojca Miklavec wrote:
Hello Hans,
what's the status of referencing mechanism in MKIV? (I have some memories that you were implementing some fancy features, but the simple example doesn't work at the moment):
\placeformula[test] \startformula a+b=c \stopformula \in[test]
if you install the minimals this should work ok -) ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Mojca Miklavec