A register whose every part says where it came from

Two sittings bound into one file. Each page carries a record of its own — what it is, whose hand wrote it, when — the photograph on the second page carries one too, and each transcription is tied to the page it transcribes rather than to the file at large. Tying an attached file to anything but the whole document only exists from PDF 2.0 on, so the file declares 2.0.

A document says what it is, and that has always been written once, for the whole file. It is not enough for anything assembled out of pieces: a register bound from two sittings, or a scan whose photograph belongs to somebody other than whoever holds the paper.

Here each page carries a record of its own — what it is, whose hand wrote it, when — the photograph on the second page carries one too, and each attached transcription is tied to the page it transcribes rather than to the file at large. Tying an attachment to anything but the whole document only exists from PDF 2.0 on, so the file declares 2.0 rather than changing version without you knowing.

What this example shows

  • A metadata packet on a page, and another on an image.
  • Attachments tied to the page they belong to, not to the file.
  • PDF 2.0 declared on purpose, never raised in silence.

The code, in full

The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.

The document itself

The same document is written in each of these languages. Open the one you want to look at.

Open the document in English Open the document in French

Read the Rust source Read the Python source

First page of A register whose every part says where it came from

What this document weighs

Before 124,045 bytes
Now 53,704 bytes
Saved 56.7 %

Not one mark on the page changed. See every document measured.

Examples near this one

A sheet that measures what it says

Three rules — centimetres, inches and points — on a page that states it must print at exactly the size it was drawn, and that the reader is to offer nothing else. That second request only exists from PDF 2.0 on, so the file declares 2.0 rather than changing version without you knowing.

An archival sheet carrying fields of its own

A records office's reference, the department it came from, the date until which the document must be kept and its classification, in a PDF/A-3 file. No standard knows what a retention date is, so each field arrives with a description of itself — its type, who it is written for, what it means — which is what makes a checker accept information you invented. The page prints the same list, so what a person reads and what a machine reads cannot drift apart.

A tagged, accessible document

A document that says what each run of ink stands for, and which runs are only trimmings. Its text and its table describe themselves, a paragraph and a cell at a time. Validates as PDF/A-3a and PDF/UA-1.

A tagged list whose column is a picture

A parts list whose first column is a picture rather than a word. Each picture is marked as one and carries the words a reader hears in its place, so nothing in the list is lost on somebody who cannot see it. Validates as PDF/A-3a and PDF/UA-1.

A sheet a printing works runs without asking a question

One sheet larger than the finished page: the colour runs nine points past the blade, the corner marks stand outside it in an ink every plate carries, every colour is said in the four printing inks, and the page names the paper, the edge of the ink and the cut. Hand it the profile of a press and it claims PDF/X-4; without one it claims nothing, and says on the page why.

Every example, by subject

Glossary

XMP
The block inside a file that says what the file is: its title, who made it, when, and which rules it follows. Search engines and archives read it; a reader never sees it.