The fleet's document rendering engine

A PubMark document in, a checked PDF out, or nothing at all.

Scriptorium turns a PubMark source into a branded, tagged PDF, then runs two checks on the file. If either one fails it writes no PDF, so a PDF you are holding has passed both.

Illustration: an empty stone scriptorium at night, a long sloped oak writing desk beneath tall arched windows, a stack of blank parchment sheets beside a brass inkwell and quill, and one small amber oil lamp glowing on the desk.

Internal to Renkara. Scriptorium is a tool Renkara Media Group builds and runs for itself. It is not for sale, and there is nothing to buy or join.

Features

A PDF maker that would rather write nothing than write a bad file.

Scriptorium is the engine behind a document's PDF in the Renkara fleet. It is a library first, with a command and a small local service that call the same code. It is internal to Renkara and is not offered for sale, and there is no install or download button on this site. The only pictures here are pages of one real PDF that Scriptorium made from a short sample document about StrataForge Robotics, a fictional company; nothing in the sample is real. These are the things it does.

One command, any PubMark document

One command makes a PDF
scriptorium pdf <file>.pub.md writes the validated PDF beside the source, or where you say with --to. It prints the result of each check and the page count, and --receipts copies the two receipts into a folder you name. It is the way agents and people in the fleet make a document's PDF.
The Renkara Document brand, for any document
The default template prints any PubMark document in the Renkara Document brand: a navy cover built from the page's masthead, a linked contents page, running headers and footers, tables that wrap, and listings that wrap and break across pages. The page is made by Lectern's own renderer, so the PDF and the page on the shelf come from one renderer.
A second template for sample reports
The vantalect-sample template prints Vantalect's sample and engagement reports. Its engine was moved, not rewritten: the extracted files are byte for byte the originals except for the few places logged in the extraction record. Vantalect's own renderer is untouched.
Print options live in the document
A document sets its audience, running-header label, footer, cover line, and author in its front matter. An external audience prints no internal eyebrow, chips, source path, colophon, or revision log. No document carries a stylesheet of its own: one shared print sheet serves every PDF.
A wide table gets a landscape page
A table of eight or more columns prints on a landscape page instead of running off a portrait one, and a long table wraps its cells. The sample on this site has a nine-column table, and the page you see for it is landscape.

Two checks, a receipt, and no file on failure

A structural check, then veraPDF
Every PDF goes through two checks in order. The first proves the file is the document: the title, author, and language are right, it is tagged, every section has a bookmark, every font is embedded, nothing runs past the right margin, and the title is on the cover. The second is veraPDF, which tests the file against the PDF/UA-1 profile.
A failed check leaves no file
When either check fails, the library raises an error that carries the receipts and removes the file, the command exits with a failure, and the service answers with an error and the receipts and no PDF. There is no path that returns a PDF that failed.
A receipt travels with every PDF
The structural check's report and veraPDF's own summary are written beside the file: how many rules passed and failed, and whether the profile reported compliance. A claim about a PDF can be checked against the receipt behind it.
A missing validator is a failure, not a skip
If veraPDF cannot be found, the run fails and says so. Skipping validation is possible only in the library, only by passing validate=False out loud, and the result is then labeled unvalidated. The command and the service never skip.
A heading that skips a level stops the file
A heading that jumps from the second level to the fourth fails PDF/UA-1, and the structural check names the heading. The fix is in the source, never in the gate.

A library first, and no more than that

Render in process, with the service down
The library is the product: a tool that renders in its own process cannot be stopped by a service being down. The command and the small local service are thin wrappers over the same call, so they cannot disagree with it.
A small local service for other languages
The service has a health route, a templates route, and a render route that takes a source by path or by text and returns the HTML, the PDF, and the receipts. It is made to be reached from the machine it runs on, and it is not a place to put a document you do not want rendered.
A sweep renders a whole folder
A sweep script renders every PubMark source in a folder through the same gate and records each outcome, so a template change can be tried on the whole corpus. Scriptorium has no scheduler, queue, or cost ledger of its own; Kiln owns that kind of job.
No telemetry
A rendering library has no business reporting on the documents it renders. It has no analytics, no database, and no sign-in of its own, and it keeps nothing about a render except the receipts it writes beside the file.
How it works

From a source to a checked PDF

  1. Read

    Lectern's renderer turns the PubMark source into a page. A source it refuses, such as one with an unresolved canonical placeholder or an external image, stops here.

  2. Print

    The shared print sheet lays the page out and WeasyPrint writes a PDF/UA-1 file; a tagging pass repairs the shapes that need it.

  3. Check the document

    The structural check proves the title, author, language, tags, bookmarks, fonts, margins, and cover.

  4. Check PDF/UA-1

    veraPDF tests the file against the PDF/UA-1 profile and writes its summary.

  5. Deliver or withhold

    Both pass and the PDF and its receipts are returned. Either fails and the file is removed and the receipts say why.

Accessibility

Built so everyone can use Scriptorium.

Scriptorium has no screen of its own: it is a command and a small local service that make PDFs. So its accessibility question is about the PDFs. Every PDF it delivers has passed a structural check and veraPDF's PDF/UA-1 profile, which are machine checks, and the receipts of both travel with the file. Nobody has opened these PDFs with a screen reader, walked their reading order by hand, or measured their color contrast, and a person has looked at the pages of only one document. We do not claim a WCAG conformance level.

  • Not yet tested

    Keyboard operation

    Scriptorium has no screen, so there is nothing to tab through. A PDF it makes carries a bookmark for every section and a linked contents page, which are what a keyboard reader moves by, and the structural check fails a PDF that lacks a bookmark for a section. No one has walked a PDF with a keyboard alone.

  • Not yet tested

    Screen reader landmarks and labels

    veraPDF's PDF/UA-1 profile reported no failed rule on every PDF the engine delivered, and the PDFs are tagged with real headings, table headers, a title, and a language. That is a machine check. No PDF has been heard in a screen reader.

  • Not yet tested

    Contrast in light and dark

    The print sheet uses the Renkara Document brand colors. No color-contrast measurement has been made on any PDF.

  • Not yet tested

    Reduced motion

    A PDF is a static page with no animation or video. Nothing tests that, because there is no motion to test.

  • Partly supported

    Text resize and zoom

    The text in a PDF is live text, not a picture of text, so a reader can enlarge it without blur. A PDF is a fixed page layout, so enlarged text does not reflow. No one has tested zooming a PDF to 200 percent.

  • Not yet tested

    Mobile and touch

    A PDF is a letter-size page, or a landscape page for a wide table. It is made for print and a desktop reader, and no one has tested how any of them reads on a phone.

Tech specs

Under the hood

Scriptorium technical specification
Application
  • A Python 3.12 library, a scriptorium command, and a small FastAPI service over the same calls; no frontend and no database
  • Pages printed by WeasyPrint 70.0, with pypdf 6.19.0, pdfplumber 0.11.9, and matplotlib 3.11.2 pinned to the versions of the renderer the engine was extracted from, because a pin change is an output change
  • Two named templates, renkara-document (the default) and vantalect-sample, registered in one place; a defined template that is not ready is refused, never approximated
Checks
  • A structural check of the document's own facts, then veraPDF's PDF/UA-1 profile; both run on every PDF
  • A receipt for each check, written beside the file and copied to a folder with --receipts, even when a check fails; a verify command runs veraPDF on a PDF you already have
  • A PDF that fails either check is removed; the service returns an error with the receipts and no PDF
Output
  • HTML and PDF from one call; a PDF for any PubMark document through the default template
  • Live text, a document title and language, real headings, and table headers; wide tables on landscape pages
Tests
  • 93 tests pass on the cited commit, among them a pinned hash for every extracted file, so a formatting cleanup of the extracted engine fails until the golden rerun is redone
  • A golden rerun compares the extracted engine with the original on 93 published reports: the HTML is byte for byte the same and each PDF's text, tags, and receipts agree
  • A corpus sweep renders 880 documents through the whole gate: 875 pass
Works with

Part of the Renkara fleet

FAQ

Questions people ask

Is Scriptorium available to other teams?

No. Scriptorium is internal to Renkara and is not offered for sale. There is no install or download button on this site, no sign-up, and no price. This site shows what it does and how it is built. Write to fleet@renkara.com with questions.

Are the PDFs accessible?

Every PDF Scriptorium delivers passed veraPDF's PDF/UA-1 profile and a structural check, and those are machine checks. Nobody has opened these PDFs with a screen reader, walked their reading order by hand, or measured their color contrast, and no WCAG level is claimed. The Accessibility page says what was checked and what was not.

What happens when a check fails?

No PDF is written. The library raises an error that carries both receipts and removes the file, the command exits with a failure, and the service answers with an error and the receipts and no PDF. In the sweep, four documents were withheld this way, and the receipts named why.

Can the checks be skipped?

Only in the library, only by passing validate=False on purpose, and the result is labeled unvalidated and carries no receipt. The command and the service always validate.

How many documents does it render?

On November 22, 2026, a sweep of 880 documents from the company's documentation corpus, about 21,000 pages, passed 875 through the whole gate. Four were withheld by the structural check (two for a diagram that overflows its page, two for a long inline code path that hangs into the margin), and one was refused by Lectern's renderer because it references external images. The 875 were not all rendered in one clean run; the How it works page says exactly how the number was reached.

Has the Vantalect renderer been replaced?

No. Vantalect's own renderer is untouched and still makes its published reports. The extracted engine reproduced 93 of 93 of them in the golden rerun: the HTML byte for byte, and each PDF's page count, text, and tags. The PDFs differ in bytes because a PDF carries build-time details, which the comparison records and does not gate.

Is the sample real?

The document is invented: StrataForge Robotics is a fictional company, and every name, site, and number in it was made up. The PDF and its two receipts are real output of Scriptorium on that document, and the pages on this site are drawn from the PDF without retouching.

Does it make a PDF for every document by itself?

No. A PDF is made when someone runs the command, or when a tool calls the library or the service.

Contact

Questions about this tool?

Write to Renkara Media Group and a person will answer.