Updated November 27, 2026
Footnotes That Survive Every Edit: Stable IDs, Automatic Numbering, and Clean Exports
48 footnotes in a grant application, two new sentences — and 31 wrong numbers. Why the visible number and the technical ID belong apart, how Autype stores notes, and five checks before export.
A 62-page grant application, 48 footnotes, each one carrying a file reference and a page number for a claim that a reviewer will check. Then two sentences are added on page 6. In the Word file, 31 numbers no longer match. The notes themselves are fine. The problem is that their numbers were typed by hand.
This article looks at how footnotes work in Autype, why the visible number and the technical ID are separate things, and which checks are worth running before an export. It is deliberately only about notes at the foot of a page — not citations, not cross-references to chapters, and not running headers or footers.
Why footnotes drift in templates
In a finished PDF, a footnote looks static: it sits at the bottom of the page, the number fits, done. The moment the same file keeps living as a template, the note becomes a moving part. Every inserted paragraph shifts references, every cut changes the order, and in tables or proposal text the same note appears more than once. If the number and the note text are maintained in several places, the result is exactly what a reviewer notices first: a number with no text, a text with no reference, or two notes wearing the same number.
The decisive separation is therefore not a formatting question but a data question. Autype stores footnotes apart from the document body; the visible number is assigned during rendering, based on where a reference first appears. The technical ID stays invisible and stable.
| Layer | Example | Who decides it | What happens after an insertion |
|---|---|---|---|
| Visible number | 1, 2, 3 … | The renderer, in order of first appearance | Reassigned without editorial work |
| Technical ID | audit-2026 | Author or template | Unchanged, even when the note moves |
| In-text reference | [^audit-2026] | Author | Points to the ID, not to the number |
| Definition | The note's content | Author, once | Applies to every reference with that ID |
Keep those four layers apart, and footnotes behave like other structured elements: define once, reference often, renumber at export.
Three ways to write the same note
Autype offers three authoring routes, all described in the footnote documentation. They produce the same output, but they differ in how much work a later edit creates.
| Route | How you write it | Best for | Limit |
|---|---|---|---|
| Visual editor | Add → Footnote, or /footnote | A short note written in place | The editor shows a compact numbered reference |
| Named definition | [^audit-2026] in the text plus [^audit-2026]: … | Notes used more than once, or notes that span lines | The ID must start with a letter |
| Compact note | ^[**Annual report 2026**, p. 42.] | A one-off, single-line remark | One line only, and no second footnote inside it |
In the visual editor, clicking the numbered reference reopens the same dialog for editing or deletion. If a note is referenced in several places, one edit changes every occurrence. Multi-line definitions continue on lines indented with four spaces or a tab. In Markdown mode, descriptive IDs pay off: [^audit-2026] still means something after the next restructuring, [^3] does not.
Worked example: 48 notes, two extra sentences
Back to the grant application. The starting point: 62 pages, 48 footnotes, four of them pointing to the same source in different sections. Two sentences about the applicant's organisational structure are added on page 6. Nothing about the substance of the numbering changes — but everything after page 6 does.
| Task | Hand-typed numbers | Numbers from stable IDs |
|---|---|---|
| Adjust numbers after the insertion | 31 | 0 |
| Recheck repeated references in tables | 4 | 0, because they share one definition |
| Check where the affected note breaks across pages | 1 | 1 |
| Estimated effort | about 35 minutes | about 5 minutes |
The table is an estimate from this example, not a measured benchmark. It shows the pattern: manual work grows with the number of notes after the change, structured work only with the number of page breaks that actually move. At 48 notes that is still manageable. In a framework agreement with 200 clauses and one note per clause, it becomes an error class that nobody fully reviews anymore.
What the JSON layer stores
When an agent or an automated job builds the document from structured data, definitions live in the top-level footnotes array while the body keeps only the reference:
{
"document": { "type": "docx", "size": "A4" },
"footnotes": [
{
"id": "audit-2026",
"content": "**Annual report 2026**, p. 42, reviewed on 12 March 2026."
}
],
"sections": [
{
"type": "flow",
"content": [
{
"type": "text",
"text": "The figures were independently reviewed[^audit-2026]."
}
]
}
]
}
The schema limits are documented, and they matter in practice:
| Rule | Limit | Consequence for the template |
|---|---|---|
| ID | 1–80 characters, starts with a letter, then letters, digits, _ or - | Use speaking IDs, not [^1]; bare numbers are invalid |
| Content | 1–5,000 characters, inline Markdown allowed | Put long digressions in an appendix, not in the page footer |
| Definitions per document | up to 500 | Plenty for contracts and reports, not a comments database |
| References | Every [^id] must resolve; one definition may be referenced several times | One source, one text, many pointers |
| Nesting | No footnote inside a footnote | No “see note 12” inside the note itself |
Missing, duplicate, empty and nested definitions are reported before the document is rendered. Those messages are not warnings to click away: they mean a reference in the document cannot be resolved.
What export guarantees — and what it does not
DOCX import and export preserve footnotes as native Word footnotes, including an editable definition. A file imported and rendered again keeps both the reference and the note text. PDF output places the same footnotes in the page's normal footnote area. Repeated references share one definition and one visible number.
The consequence: the number is a result of layout, not content. Hard-code it in the text and you import a defect into every later version. And treating footnotes as citations creates two systems for one job — literature references belong in CSL-JSON with fixed styles, explanatory remarks belong in the footnote.
Limits remain. How much room a footnote area gets depends on the page layout, so a very long note can push content onto the next page. Switching footnotes to endnotes is not described in the Autype documentation; if you need endnotes, run them as a separate section at the end of the document. And the ID is a technical key: it never appears in the reading flow and should not look like a number.
When you import an existing Word file
Teams rarely start from a blank page; they inherit contracts with years of notes attached. Import keeps those as native Word footnotes with editable definitions, but the visible numbers from the old file are history. A short pass is worth it: count the definitions, look for repeated references, delete empty notes. Only then export — otherwise the new template inherits the old clutter. This is not about tidiness: every imported note is a claim that someone will have to defend later.
Five checks before rendering
- Check IDs, not numbers. Descriptive keys such as
[^audit-2026]or[^rate-2027]survive reordering;[^1]is invalid as an ID anyway. - Let every reference resolve. The pre-render check reports missing, duplicate, empty and nested definitions. Fix them before exporting.
- Cap the length. Once a note runs past three lines, the content usually belongs in the body or an appendix — the page footer is no place for arguments.
- Look at the page break. In the PDF, confirm that a long note does not tear the text apart or leave a reference stranded at the bottom of a page.
- Read repeated references in context. A shared definition is convenient, but it has to be correct everywhere it appears — especially when the same evidence shows up in a table header and in a paragraph.
Bottom line
- Footnotes are data, not decoration: keep the definition and the visible number separate.
- Stable IDs make restructuring boring — which is exactly their job.
- DOCX and PDF take their footnotes from the same source; the number only appears at render time.
- Keep citations, cross-references and explanatory notes apart, and you never have to synchronise three systems.
Sources (retrieved 27 November 2026): Autype documentation "Footnotes" https://docs.autype.com/getting-started/editor/footnotes · Autype documentation "Footnotes" (JSON schema) https://docs.autype.com/api-reference/json-syntax/footnotes · Wikipedia "Note (typography)" https://en.wikipedia.org/wiki/Note_(typography)
Latest Articles
What a Document Really Costs: Planning Credits, Renders, and Lens Runs
One render is one credit — a quote as PDF and DOCX is two. How document costs add up from credits, pages, and post-processing, where the maths tips, and which five numbers are missing before you quote.
Read articleImages That Hold Up in Print: Resolution, Crop, and Alt Text in PDF and DOCX
A 4,000-pixel photo can look soft in a PDF while a 900-pixel logo prints sharp. Why the pixel-to-millimetre ratio decides image quality, how crop, fit and focal point control the frame, and how bracket text doubles as alt text — with a resolution table and five pre-export checks.
Read articleArchival PDFs That Still Hold Up in Ten Years: PDF/A Profiles, Metadata, and the Limits of Conformance
Archiving a PDF is an export decision, not a filing decision: which PDF/A profile the receiving archive requires, what flattening form fields costs, and why metadata beats the file name — with a profile table and six checks.
Read articleReady to automate your documents?
Start creating business documents with Autype. No credit card required.