[NTG-context] \resetsetups

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Aug 14 20:35:55 CEST 2014


Am 14.08.2014 um 20:23 schrieb Rik Kabel <context at rik.users.panix.com>:

> I notice that, while the _contents_ of the setup are removed, and using the reset setup introduces nothing into the text, there is no error or warning generated. (This is also the case, I learned, with an undefined buffer.) I can see that this can be very useful in a number of situations.
> 
> Can \resetsetups reset more than one setup in a single execution? When I try \resetsetups[setupA,setupB] it appears to reset neither. I only ask because of the plural name. It does not appear to be a burden to use multiple \resetsetups commands.

No, you can only reset a single environment with the command.

> Are there equivalent commands to \resetsetups and \doifsetupelse for buffers? I could find nothing obvious.

\resetbuffer[<name>] and \doifelsebuffer{<name>}{…}{…}

Wolfgang



More information about the ntg-context mailing list