[dev-context] \installpagehandler

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Dec 22 14:52:16 CET 2011


Am 22.12.2011 um 14:42 schrieb Hans Hagen:

> On 22-12-2011 14:29, Wolfgang Schuster wrote:
>> Hi Hans,
>> 
>> can you add a \pagehandler command to access the defined commands
>> 
>>   \def\pagehandler#1%
>>     {\expandcheckedcsname{\??pp:h:}{#1}\v!normal}
>> 
>> In the following examples from the past the only method to shipout the saved pages was (the no longer available) \actualshipout and this was never nice but with the above command one could write “\pagehandler\v!normal{…}”.
>> 
>> Examples:
>> 
>> - http://archive.contextgarden.net/message/20090522.174337.1bc2d583.en.html
>> - http://archive.contextgarden.net/message/20090523.173455.72a58128.en.html
> 
> As I want such special commands to stand out, how about:
> 
> \unexpanded\def\invokepagehandler#1%
>  {\expandcheckedcsname{\??pp:h:}{#1}\v!normal}

Fine with me.

> \let\pagehandler\invokepagehandler % only provided for downward compatibility

Not necessary because there was no command for this in the past.

Wolfgang


More information about the dev-context mailing list