29 Nov
2005
29 Nov
'05
7:37 a.m.
Johannes Graumann wrote:
but this doesn't work ...
But it worked fine for me!? Anyway, it is probably a better idea to do it like this: \defineXMLenvironment [list]% {% \let\listoptions\empty \XMLifequalelse{list}{setup}{n} {\appendtocommalist{n}\listoptions} {}% \XMLifequalelse{list}{packed}{yes} {\appendtocommalist{packed}\listoptions} {\appendtocommalist{unpacked}\listoptions}% \expanded{% \startitemize[\listoptions]% }% }% {\stopitemize} Because that way, the xml attributes can be optional. If it still doesn't work, please explain what goes wrong. Greetings, Taco