# EU regulation PDF to EPUB, in Spanish

Source: https://epubcc.com/cases/eu-regulation-spanish/ (updated 2026-11-04)

An EU regulation in the Official Journal converts well for running text: on the 144-page Spanish edition of the AI Act the EpubCC engine removed every running header, built one chapter per article from the PDF outline and reached a 4-gram precision of 0.982. Some numbered points are detached from their text, and other engines recover slightly more continuous text.

Problem: A long legal act in Spanish: recitals numbered (1) to (180), articles with numbered paragraphs and lettered points, a running header with the Official Journal reference on every page, and annexes.

- Limitation: Numbered points can come loose from their text: in the definitions, «2)», «3)» and «4)» became paragraphs of their own, followed by the three definitions; in the recitals, «(156)» and «(157)» did too. The hanging numbers are read as a narrow column.
- Limitation: The book title is the PDF's metadata title, which is the full official title (about 400 characters) with «Texto pertinente a efectos del EEE» glued to it.
- Limitation: One chapter per article gives 125 chapters; the table of contents is long but follows the PDF outline.
- Limitation: PDFium (0.989), pdf_oxide (0.988) and OpenDataLoader (0.996) have a higher 8-gram recall than our engine (0.974) on this document.
