On 6/7/2013 4:01 PM, Lance Larsen wrote:
luigi,

When I started exploring how to map equation references (eq:name) to
equation numbers (4.2), I noticed that the 'tuc' file included the equation
reference (eq:name), but I was not able to identify anywhere where it
indicates the actual equation label specified in the document. Below is an
example of the tuc output. 'eq:DVOL_RVI_17' is equation (4.28) in the
document:

{
   ["metadata"]=142,
   ["numberdata"]=237,
   ["prefixdata"]=11,
   ["references"]={
    ["block"]="bodypart",
    ["internal"]=122,
    ["realpage"]=47,
    ["reference"]="eq:DVOL_RVI_17",
    ["section"]=79,
   },
  }

There is nowhere in the tuc file that contains 4 and 28 near each other. I
checked this for other equations as well and concluded that the tuc file
does not contain the actual equation numbers that are used.

because there are indirect references to for instance 'numberdata' where this info sits

If I am missing something or you have any other suggestions that might help
me to extract this info, I would sure appreciate the help.

see previous mail

btw, if you just want to use references in another tex doc, this will do the trick:

\usereferences[somedoc]

\starttext

    \in{formula}[somedoc::a]

    \in{formula}[somedoc::b]

\stoptext



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to