Print it, check it, and keep nothing that fails.
Scriptorium turns a PubMark source into a PDF and then tries to find a reason not to hand it over. Here is each step, what each check proves and does not prove, what happens when one fails, and what the numbers measured.

From a source to a checked PDF
The default template, Renkara Document, takes any PubMark document. Four stages turn it into a file you can use.
A tagging pass repairs the shapes that PDF/UA-1 would otherwise fail: loose list items, a list item that holds a listing, a link that holds code, a table with only a head. Each of those shapes has a test that runs veraPDF on it. The repairs are counted in the structural receipt, so you can see how many a document needed.
Read
Lectern's own renderer, run in place and never copied, turns the source into the page that sits on the shelf. A source it refuses stops here: one with an unresolved canonical placeholder, or a page that references external images.
Print
One shared print sheet lays the page out: the cover, a linked contents page, running headers and footers, wrapping tables, and landscape pages for wide ones. WeasyPrint writes the file as PDF/UA-1.
Check the document
The structural check proves the file is the document, and writes a receipt.
Check PDF/UA-1
veraPDF tests the file against the PDF/UA-1 profile and writes its own summary. Only a file that passes both is returned.
Two checks, and what each one proves
The two checks look at different things, so a file has to pass both.
Neither check is a claim of conformance beyond what its report says. The engine's own wording says the same about itself, and no document, receipt, or page it produces claims more than the veraPDF report behind it.
| Check | What it proves | What it does not prove |
|---|---|---|
| Structural check | The title, author, and language are right and the file is tagged. Every section has a bookmark and every font is embedded. No text runs past the right margin, the title is on the cover, no heading skips a level, and an external document carries no internal matter. | That a page reads well, that its colors have enough contrast, or that a screen reader reads it in a sensible order. |
| veraPDF, PDF/UA-1 | The file passes the rules of the PDF/UA-1 profile as veraPDF implements them: tags, structure, language, titles, and alternative text where the profile requires it. | That the file works for a person with a screen reader. A passing profile is a machine check, and it does not replace a person's test. |
When a check fails
A caller never gets a PDF that failed. How that shows depends on how it called.
Skipping the checks is possible in the library only, by passing <code>validate=False</code> on purpose, and the result is labeled unvalidated. A missing veraPDF is a failure of the run, never a skipped check.
| Library | Raises an error that carries both receipts, and the file is removed from the output folder. |
|---|---|
| Command | Exits with a failure and prints what failed. <code>scriptorium pdf</code> writes nothing. |
| Local service | Answers with a 422 error, the receipts, and no PDF in the response. |
Print options live in the document
A document sets its print options in its front matter, under the Scriptorium extension. All are optional.
No document carries its own stylesheet. A layout fix goes into the shared print sheet with a test, so it reaches every document.
| Key | Default | Effect |
|---|---|---|
| audience | internal | An external audience drops the internal eyebrow, chips, source path, colophon, and revision log. |
| header_label | RENKARA | The running header's left text. |
| footer | Title and date | The running footer's left text. |
| cover_line | Renkara and an internal mark, or Renkara and the date when external | The line at the foot of the cover. |
| author | Renkara | The PDF's author. |
Two templates
Templates are named and registered in one place, so a brand change lands there only.
A template that is defined but not ready is refused, never approximated. Vantalect's own renderer is unchanged and still makes its published reports.
| renkara-document | Ready, and the default for the command. Any PubMark document, in the Renkara Document brand, with its page made by Lectern's renderer. |
|---|---|
| vantalect-sample | Ready. Vantalect's sample and engagement reports, through the engine extracted from Vantalect's renderer. A source without the report's front matter is refused. |
What the numbers measured
Two runs on November 22, 2026 are the measure of the engine. Each says what it did not cover.
How the 875 was reached: a clean run of all 880 with a near-final print sheet passed 855. The 25 that did not were rerun with the final sheet and 20 passed. The 855 were not rerun after that one change to the sheet; an earlier full run with the earlier rule had passed the same documents. veraPDF passed every PDF that was built, including the four withheld ones: the withholding is the structural check's margin rule.
The golden rerun compares the extracted engine with Vantalect's original on published reports: all 93 matched, with the HTML byte for byte the same and each PDF's page count, text, tags, and receipts in agreement. PDF bytes differ for all 93 because a PDF carries build-time details, which the comparison records and does not gate. Vantalect's own nine render test files, run against the extracted engine, gave 763 passed and 4 skipped, with none failing.
Not tested: no screen reader, no hand walk of reading order, and no color-contrast measurement on any PDF. A person looked at the pages of one document and at contact sheets of a wide-table document; the rest were checked by machine only.
| Outcome | Count | Why |
|---|---|---|
| Passed both checks | 875 | About 21,000 pages in all. |
| Withheld | 4 | Two documents with a diagram that overflows its page, and two with a long inline code path that hangs a few points into the margin. These are faults in the template that are still open. |
| Refused | 1 | Lectern's renderer refuses a page that references external images. A correct refusal. |
Questions about this tool?
Write to Renkara Media Group and a person will answer.