From: "Yury G. Kudryashov" <urkud@ya.ru>
To: ntg-context@ntg.nl
Subject: Re: \note and \footnote
Date: Thu, 23 Dec 2010 23:36:07 +0300 [thread overview]
Message-ID: <if0brn$tq4$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTinpYno15vy2cWG-nxFSWr7-7dw3Red8BQWj0yjC@mail.gmail.com>
Jon Crump wrote:
> All,
>
> I thought to use TeX's \note[ref], but the following doesn't seem to work.
>
> \startxmlsetups xml:ref
> \define\thisRefName{\xmlatt{#1}{target}}
> \xmldoifelse{#1}{parent::div[@type='arText']}
> {\footnote[\thisRefName]{\xmlfirst{#1}
{root::/body/text/div[@type='fnotes']/note[@xml:id==string.sub('\xmlatt{#1}
{target}',2)]}}}
> {\note[\thisRefName]}
I'm not sure about expansion order. Probably \thisRefName is not expanded in
one of the commands above. Could you please attach either a minimal working
example (test.xml and test.tex that one can save and run context test), or
log file?
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-12-23 20:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-23 20:11 Jon Crump
2010-12-23 20:36 ` Yury G. Kudryashov [this message]
2010-12-23 20:47 ` Jon Crump
2010-12-23 20:58 ` Thomas A. Schmitz
2010-12-23 21:17 ` Jon Crump
2010-12-23 21:20 ` Thomas A. Schmitz
2010-12-23 21:34 ` Jon Crump
2010-12-23 21:41 ` Thomas A. Schmitz
2010-12-23 21:47 ` Jon Crump
2010-12-23 22:03 ` Jon Crump
2010-12-23 21:42 ` Jon Crump
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='if0brn$tq4$1@dough.gmane.org' \
--to=urkud@ya.ru \
--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).