Next: , Previous: , Up: Traps   [Contents][Index]

5.24.2 Diversion Traps

Request: .dt [dist macro]

Set a trap within a diversion. dist is the location of the trap (identical to the wh request; default scaling indicator is ‘v’) and macro is the name of the macro to be invoked. If called without arguments, the diversion trap is removed.

Note that there exists only a single diversion trap.

The number register .t still works within diversions. See Diversions, for more information.