Conceptual

Page Numbering in Mac Pages using Headers and Footers

Page numbering in document processing is governed by a state-based header and footer system where text elements function as global markers tied to specific logical regions (sections) rather than linear page indices. This mechanism relies on the distinction between Word Processing Mode, which utilizes flow-text fields for automated sequential indexing, and Page Layout Mode, which requires discrete objects like text boxes placed at arbitrary coordinates. The core theoretical constraint involves section boundaries defined by break tokens; once established, headers/footers within these sections operate as isolated instances that can inherit global styles or override page number sequences independently of adjacent physical pages.