Johannes Graumann wrote:
Hello all,
After a good break I'm back at my XML obsession and am running into the following issue: my environment-file contains these definitions
\defineXMLnested [reagentlist] [sample=] {\definedescription[definition][width=broad,distance=1em,sample={\XMLop{sample}}]} {}
\definedescription[definition][width=broad,distance=1em,sample={\XMLpar{reagentlist}{sample}{}} since XMLop will change with each following element {\expanded{\definedescription[definition][width=broad,distance=1em,sample={\XMLop{sample}}]}} is also an option
\defineXMLnested [reagent] [label=] {\startdefinition{\XMLop{label}}} {\stopdefinition}
but in use, the definition-label-width is optimized for every single case, rather than for the 'sample', meaning I get
One xxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx Twentyone xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx
rather than
One xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx Twentyone xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx
Can anyone please enlighten me as to what I'm missing here?
Thanks, Joh
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------