ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Lance Larsen" <lance.c.larsen@gmail.com>
To: <ntg-context@ntg.nl>
Subject: Re: ntg-context Digest, Vol 108, Issue 22
Date: Fri, 7 Jun 2013 08:22:31 -0600	[thread overview]
Message-ID: <51b1eca9.2f97420a.444b.ffffee83@mx.google.com> (raw)
In-Reply-To: <mailman.1201.1370610850.2084.ntg-context@ntg.nl>

Hans,

Referencing equations from another context document is what I am trying to
do. It think the \usereferences tag that you noted in the ideal solution for
my case. Thanks again for the help.

-Lance

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


      parent reply	other threads:[~2013-06-07 14:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1201.1370610850.2084.ntg-context@ntg.nl>
2013-06-07 14:01 ` How to hack the lua files Lance Larsen
2013-06-07 14:10   ` Hans Hagen
2013-06-07 14:22 ` Lance Larsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51b1eca9.2f97420a.444b.ffffee83@mx.google.com \
    --to=lance.c.larsen@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).