Skip to content
Use case

Removing running headers from a 585-page report

Updated:

Long reports repeat the chapter title and page number on every page, and a line-by-line conversion puts them in the middle of sentences. On the 585-page 9/11 Commission Report the EPUBLab engine detects them by comparing pages and removes them.

Original and result

Running headers and page numbers on every page, chapters and endnotes, 585 pages.

Original PDF
Page of the original PDF
Result (EPUB, as a reader shows it)
The same passage in the converted EPUB

Download source PDF Download the sample EPUB

Source and licence

Document
The 9/11 Commission Report (GPO)
Licence
Public domain (work of the U.S. Government)
Pages
585
Traits
text PDF, book, chapters, repeated headers, endnotes, long, load test

Settings used

  • Engine: epublab-core, build of 2026-11-03 (the one measured in the benchmark).
  • Pages: the whole document.
  • Options: none. The engine has no per-document settings yet; the same defaults apply to every file.

Validation and results

EPUBCheck EPUBCheck on our EPUB: 0 errors, 0 warnings.

Margin leak · Share of repeated running headers, footers and page numbers left in the text. Methodology
EngineMargin leak
EPUBLab engine (EPUB output)0.000
EPUBLab engine (plain text)0.995
pdf_oxide · extract_text0.995
pdf_oxide · to_plain_text (XY-cut)0.995
pdf_oxide · Markdown0.005
PDFium · text().all()1.000
OpenDataLoader PDF (local mode)0.000
pdftotext (Poppler)0.000

Limitations we observed

  • There is no independent reference text for this document, so only margin leak, time and memory are measured.
  • The margin-leak metric is only reliable for engines that split lines like pdftotext -layout.

Convert a similar PDF