[NTG-context] \resetsetups

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Aug 14 06:26:58 CEST 2014

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

> Dear list,
> In a number of notes (recent and in the list archive) I have seen \resetsetups, used (always) as in a block of code like this from Gerben Wierde:
> \startsetups chapter:before
>   \page[left]
>   \noheaderandfooterlines
>   \startalignment[left,nothyphenated]
> 	\startnarrower[4*left]
> 	    \em \getbuffer[chapter:quote]
> 	\stopnarrower
>   \stopalignment
>   \resetsetups[quote:text]
>   \page[right]
>   \noheaderandfooterlines
>   \blank[force,2*big]
> \stopsetups
> What is the purpose of \resetsetups in this code? I see no different result without it, and all I can determine from list and document searches is that this is a vestigal command from x-fo processing.

With the \resetsetups command you can remove a previously created setups environment. As you can see from the following example “mysetups” doesn’t exist anymore after the \resetsetups command.

  Dummy text.







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140814/75f563a5/attachment.html>

More information about the ntg-context mailing list