Maria Sophia wrote:
> a. Start with a PDF of unknown flowing format > b. Convert to free-flowing format (e.g., epub) > c. Then re-export the epub to PDF
In the 80's, I worked with a circumspect government agency in a windowless building where they always gave my company's software the problem that they never had the original format for what every other company in the world had. We were constantly converting from an unknown format to a known format, and even then, no conversion tool ever worked perfectly, so it was a series. Following up on the PDF reflow problem, a few free options, in rough order of usefulness, might be these two which were in the previous PDF chart. 1. k2pdfopt (free, cross platform on all desktops) 2. Calibre (free, cross platform on all desktops) k2pdfopt apparently detects text columns geometrically and re-typesets them to a target width such that source line endings stop mattering entirely. k2pdfopt -w 600 -h 900 -mode fw -wrap- -n -y input.pdf -o output.pdf It discards the original glyph positions & re-wraps from the text itself. -mode fw fits to a single narrow column -wrap- forces its own reflow rather than the PDF's native wrap -w/-h are the screen in pixels Add -col 2 for two-column sources And, there's a -gui mode that previews page by page, if desired Calibre PDF input handles prose reasonably well, but it won't emit a reflowed PDF, so it's PDF -> EPUB -> read. Caveating all of this is that any reflow is a geometric guess. Clean single-column prose comes out fine but tables, figures with embedded text and equations get mangled because the tool has to infer paragraph structure from glyph positions. As I learned at Fort Meade, no conversion tool is ever faithful to the original db. These conversion workarounds trade layout for legibility.