Re: [NTG-context] conditional not working in \setuphead

2020-04-20 Thread Pablo Rodriguez
On 4/20/20 7:23 PM, Wolfgang Schuster wrote: > [...] > The argument of the beforesection-key is placed before ConTeXt stores > the values of \startsection which means you can do it this way. > > What you can do here is to put whatever something in a macro before you > call \startsection and access

Re: [NTG-context] conditional not working in \setuphead

2020-04-20 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 20.04.2020 um 18:55: Dear list, I have the following sample: \startbuffer[demo] first second \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|section}{xml:*} \stopxmlsetups

[NTG-context] conditional not working in \setuphead

2020-04-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] first second \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|section}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc