tdoc
Loading the fonts the paginator measures with…

Page setup

Changing any of these repaginates the document, and the PDF follows — one layout decides both.

Make a variable

A content control: atomic to the caret, so it cannot be half-edited, and addressable by name so a host can fill it.