3 Apr
2006
3 Apr
'06
8:20 a.m.
Johannes Graumann wrote:
Hello all,
I'm trying to interpret something like <section label="intro:mixtureprob"> <title>The problem of the complex protein mixture</title> <content> <ref name="intro:mixtureprob"/> </content> </section>
1. you never match the section label to the \section head, so you need something like this: \defineXMLargument [title] [\XMLpar{section}{label}{}] {\section[\XMLpar{section}{label}{}]} 2. \textreference *creates* a reference instead of referring to one, so you need \defineXMLargument [ref] {\in[\XMLpar{ref}{name}{}]} Cheers, Taco