# .print ptoc command

The .print ptoc command prints a partial
table of contents. This includes topics made by these commands encountered
since the last .print ptoc command:

**Synonyms:** pptoc

```
.chapter
.section
.figure
.table
.appendix
```
To print the complete table of contents, including preface
topics, use the .ptoc command.

## Syntax

```
.print ptoc
```

## See also

- [.appendix command](https://d3codex.com/output-processor/dot-appendix-command/)
- [.chapter command (Output processor)](https://d3codex.com/output-processor/dot-chapter-command-output-processor/)
- [.figure command](https://d3codex.com/output-processor/dot-figure-command/)
- [.section command (Output processor)](https://d3codex.com/output-processor/dot-section-command-output-processor/)
- [.table command](https://d3codex.com/output-processor/dot-table-command/)
- [Output processor commands](https://d3codex.com/output-processor/output-processor-commands/)
- [Output processor overview](https://d3codex.com/output-processor/output-processor-overview/)

---
Source: https://d3codex.com/output-processor/dot-print-ptoc-command/ - part of the D3Codex reference.
