Set a trap within a diversion. dist is the location of the trap (identical to the
whrequest; 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
.tstill works within diversions. See Diversions, for more information.