23 Dec
2010
23 Dec
'10
8:36 p.m.
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?