#5421: Handle variable in booktoc widget.