The .print toc command prints the complete table of contents.
This includes topics made with these commands:
.prefix .chapter .section .figure .table .appendix
.print toc
.ptoc
.appendix command, .chapter command (Output processor), .figure command, .prefix page command, .section command (Output processor), .table command, Output processor commands, Output processor overview