# .prefix page command

The .prefix page command turns on the
prefix page numbering mode, which starts numbering each chapter at
page 1.

**Synonyms:** .pp

## Syntax

```
.prefix page
```

## Description

The current chapter number is
used as a prefix for the page number. For example, the fourth page
of the third chapter prints as 3-4.

The command .xprefix
page turns off .prefix page.

## Example(s)

```
.prefix page
.chapter 1
.footing "page ’p’"
This is page one of chapter 1.
.bp
2nd page of chapter 1.
.chapter 2
1st page of chapter 2.
.bp
2nd page chapter 2.
```

## See also

- [.print toc](https://d3codex.com/output-processor/dot-print-toc/)
- [.xprefix page command](https://d3codex.com/output-processor/dot-xprefix-page-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-prefix-page-command/ - part of the D3Codex reference.
