[NTG-context] parameter setting

2012-06-16 Thread Meer, H. van der
In order to be able to use attributes on xml-nodes freely, the following situations can arise: The foregroundcolor parameter gets a value: node color=red correctly sets ..[foregroundcolor=\xmlatt{#1}{color}] color to red. However, in the next case the current foregroundcolor should be left as

Re: [NTG-context] parameter setting

2012-06-16 Thread Wolfgang Schuster
Am 16.06.2012 um 14:11 schrieb Meer, H. van der: In order to be able to use attributes on xml-nodes freely, the following situations can arise: The foregroundcolor parameter gets a value: node color=red correctly sets ..[foregroundcolor=\xmlatt{#1}{color}] color to red. However, in

Re: [NTG-context] parameter setting

2012-06-16 Thread Meer, H. van der
On 16 jun. 2012, at 15:18, Wolfgang Schuster wrote: You can try “\expdoifnot{\xmlatt{#1}{color}}{}{backgroundcolor=\xmlatt{#1}{color}}” but I can’t say for sure without a example. I tried that, but it makes no difference and the color does not appear: mkiv-base.map}

Re: [NTG-context] parameter setting

2012-06-16 Thread Wolfgang Schuster
Am 16.06.2012 um 16:04 schrieb Meer, H. van der: On 16 jun. 2012, at 15:18, Wolfgang Schuster wrote: You can try “\expdoifnot{\xmlatt{#1}{color}}{}{backgroundcolor=\xmlatt{#1}{color}}” but I can’t say for sure without a example. I tried that, but it makes no difference and the color