[NTG-context] Referencing Broken in MKIV?

2009-06-28 Thread Tad Ashlock

From http://texshow.contextgarden.net/ (\reference):

\starttext
See page \ref[p][myref 1] and \ref[p][myref 2].
\page
\reference[myref 1]{} This is the first reference.
\page
\reference[myref 2]{} This is the second one.
\stoptext


Works in MKII (at least on ConTeXt online), but produces the following 
first page in MKIV:


-
See page and .
-

MTXrun | current version: 2009.06.14 21:01
This is LuaTeX, Version beta-0.40.6-2009062621 (Web2C 2009) luatex.web 
= v13958


Thanks,
Tad
___
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
___


Re: [NTG-context] Referencing Broken in MKIV?

2009-06-28 Thread Hans Hagen

Tad Ashlock wrote:


 From http://texshow.contextgarden.net/ (\reference):

\starttext
See page \ref[p][myref 1] and \ref[p][myref 2].
\page
\reference[myref 1]{} This is the first reference.
\page
\reference[myref 2]{} This is the second one.
\stoptext


Works in MKII (at least on ConTeXt online), but produces the following 
first page in MKIV:


use:

\starttext
See page \at[myref 1] and \at[myref 2].
\page \reference[myref 1]{} This is the first reference.
\page \reference[myref 2]{} This is the second one.
\stoptext

this mechanism is mostly for access to data packed into mkii references 
but in mkiv we will have arbitrary userdata; we can use the interface 
but i had no time yet to write that part (undelying code is there already).


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