From: "Lance Larsen" <lance.c.larsen@gmail.com>
To: <ntg-context@ntg.nl>
Subject: Exporting labels from a ConTeXt document
Date: Tue, 4 Jun 2013 13:35:50 -0600 [thread overview]
Message-ID: <51ae4198.301a420a.0508.7b57@mx.google.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 777 bytes --]
I have a document with several equations included. I need to reference these
in an external document. To automate the process, I need a mapping between
the equation label (i.e., eq:my_eq_name) to an equation number such as
(4.22). Is there a way to export this mapping possibly as a command line
input? Or is there a log file I can parse to get this information (the *.tuc
file did list equation reference names, but I did not see a mapping to
equation numbers).
If there is not a command line option to dump this information, what is the
best way to extract it. Can I embed lua code in the document that reads the
equation number as the document in processed? If I could read the number
from lua, I could write this to a file. Any help is appreciated.
-Lance Larsen
[-- Attachment #1.2: Type: text/html, Size: 2492 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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 other threads:[~2013-06-04 19:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=51ae4198.301a420a.0508.7b57@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).