Content revision 4e771eaf0390cc87b6c7c6fd8469f3508f6ceeec7119472e6c1ccf17e2e1e5d2 ## Keeping a paragraph or table together across pages A Structure-Preserving RAG Ingestion Pipeline Source ID ragflow-pipeline:why-one-pdf-needed-several-ways-of-reading Original https://www.henryw.me/#/ragflow-pipeline#why-one-pdf-needed-several-ways-of-reading A page boundary can fall halfway through a paragraph or table. If extraction treats the next page as a fresh start, the resulting fragments may separate a passage from its continuation. I first tested how much an existing parser could recover. MinerU, a tool for converting PDFs into structured content, rejoined the interrupted paragraphs and tables in the test document. This requirement could be met within the parsing stage. The next check was whether that continuity would survive chunking, which divides the parsed content into searchable passages. A parser could reconstruct a table successfully, only for a later split to detach its rows from their context. I included this downstream behaviour in the selection criteria, checking both the reconstructed document and the passages produced from it.