> Meer, Hans van der > 26. April 2016 um 08:50 > > > Sure, is needed. Checked it again. > I define \scalesetting as > \edef\scalesetting{scale=\xmlattdef{#1}{scale}{1000}} > But I am not sure why this needs the expansion.. > > The enclosing \rotate[rotation=\xmlattdef{#1}{rotation}{0}]{...} does > not need the\expanded. > The exapnsion is need for this part only: \scale[\scalesetting] ConTeXt checks if the argument contains an assignment which isn't the case unless you expand \scalesetting and it sees the = in the argument. Wolfgang