▲ top
US
US
Indybay
Indybay
Indybay
Regions
Indybay Regions North Coast Central Valley North Bay East Bay South Bay San Francisco Peninsula Santa Cruz IMC - Independent Media Center for the Monterey Bay Area North Coast Central Valley North Bay East Bay South Bay San Francisco Peninsula Santa Cruz IMC - Independent Media Center for the Monterey Bay Area California United States International Americas Haiti Iraq Palestine Afghanistan
Topics
Newswire
Features
From the Open-Publishing Calendar
From the Open-Publishing Newswire
Indybay Feature

Notes on EPUB and PDF: Two Ideas of a Book, and What Conversion Decides

by opidavegindybay86
EPUB carries meaning and PDF carries pages, so converting between them is a layout decision rather than a file-format step.
My reading of the EPUB to PDF question started with a small observation. Two people can say they converted the same book, one is happy and the other is not, and neither of them is wrong about the file. They are judging different things, because they were working from different ideas of what a book is. These are my notes on those two ideas and on the decisions that sit inside any epub to pdf conversion. **Two models of a book** An EPUB is a reflowable container. Inside it are XHTML documents for the text, CSS for the styling, images, metadata, and a spine that fixes the order in which the parts are read. Nothing in that description contains a page. The page count of an EPUB depends on the device, the type size and the width of the window, and it changes when the reader changes them. What the file carries is meaning and sequence. A PDF is a fixed page description. Every line of text has an absolute position on a canvas of a given size. Its identity is the page, which is why printing preserves it and why a PDF looks the same on a phone as on a desktop. The page is not a by-product of the layout; it is the thing itself. The consequence follows directly. Conversion cannot be a mechanical transpose, like renaming a file. Nothing in a reflowable stream says where a page should break, so the converter has to solve layout for a chosen page size, type size and margin, and only then can it produce pages at all. That solving step is the real work. One variant deserves separating out. A fixed-layout EPUB is already page-shaped, made for comics or illustrated books where the composition matters. It converts differently from a reflowable one, and the layout question becomes a question of scale and fit rather than of flow. The study question I keep returning to is this: when a converter is done, what has it decided for you, and what has it left to you? **What conversion really decides** The layout choice defines the target before any text is placed. Letter or A4 suits office printing. A 6 by 9 inch trim suits a paperback. A phone-shaped page suits reading on a small screen. One EPUB can yield three quite different PDFs, and none of them is the wrong one if it matches the destination. Text flow and justification are the next layer. Justified text without hyphenation produces wide gaps between words, because the line has to reach the right margin whatever the cost. Printers' hyphenation rules keep lines even by breaking words where the language allows it. These are not cosmetic preferences; they decide whether a page reads like a book or like a stretched web page. Pagination rules sit apart from line rules, and people often treat them as the same thing. Orphan and widow control keeps a paragraph from leaving one line alone at the top or foot of a page. A heading is kept with the text that follows it. An image that does not fit moves to the next page together with its caption. Each of these is a decision about the page, made after the lines have been set. Structure is regenerated, not copied. The contents page has to be built again with page numbers that match the actual pages, and a converter should know that the table of contents inherited from the EPUB gets replaced rather than duplicated. Bookmarks should carry the book's heading levels. Footnotes and links should still be clickable. Fonts should be embedded so the file looks the same elsewhere. Margins depend on the page count, which is the detail most often missed. The inside margin of a print book has to grow with the number of pages, because the bound edge swallows part of the page. A margin that is fine for a forty page booklet is too tight for a four hundred page novel. **Common mistakes** Judging a conversion by whether the file opened is the first and most expensive habit. A file that renders in a viewer can still have broken hyphenation, loose lines, a heading stranded at the foot of a page, or bookmarks that have lost their levels. Opening proves that the parser finished, not that the pages are right. The second is choosing the wrong target. Converting to A4 when the destination is a print book, or to a trim size when the destination is an office printer, tends to be discovered late, when margins are hand-fixed one at a time. The layout decision is cheapest at the start. The third is ignoring what should be left out. A converter should treat copyright and front pages as material with its own place, and should not carry a digital contents page into the print version unchanged. What belongs in the PDF is a decision, not a default. The fourth is trusting page numbers from an EPUB reader. An EPUB has no fixed page numbers, so the numbers a reader shows are its own invention. The numbers in the PDF come from the pagination the converter chose, which is why the contents page must be generated alongside the pages it describes rather than borrowed from anywhere. The fifth is habit. Uploading a manuscript to a random online converter is a reflex, but conversion in the browser exists, and for a book that is yours but not yet published, keeping the file on the device is the simpler choice. **How the same source file goes different ways** For a self-publisher, the useful pattern is one conversion to a 6 by 9 trim for a paperback proof, then a check of three things: the inside margin, the running heads, and that every chapter starts on a fresh page. If those hold, the file is a reasonable proof. For someone printing a report in an office, the pattern is Letter or A4, with a check that footnotes and links still work in the PDF. The destination is a printer tray, and the layout should say so. For a reader who wants to listen rather than print, the source file need not become a PDF at all. VoiceBookify opens an EPUB, PDF or Word file in the browser, finds the chapters, sets aside contents and copyright pages, and shows listening time and credit cost before anything starts. Its conversion tool follows the same principle as the rest of the article: choose Letter or A4, a 6 by 9 inch paperback for KDP, or a phone layout, then look through the real pages before downloading, with the file made on the device. That is EPUB to PDF conversion treated as a layout decision rather than a format swap, and it suits an author who wants pages for print and an audiobook from one source. A quality check loop is worth adopting in all three cases: preview, adjust the layout settings, preview again, then download. Read the PDF on the screen it will actually be read on, not only on the monitor where it was made. **The habit worth building** My conclusion is a short one. Decide the destination first, whether print, office printer or phone, then choose the converter and the settings that fit it. Treat the preview as the deliverable and the download as the confirmation. Keep the EPUB as the master file and treat PDFs as outputs, of which there may be more than one. And for anything you own but have not published, prefer conversion that happens in the browser. The two models of a book are not going to merge. A reflowable file and a fixed page file answer different questions, and conversion between them is where those questions get answered. Once that is clear, the file opening stops being the test, and the page becomes the thing you look at.
We are 100% volunteer and depend on your participation to sustain our efforts!

Donate

$30.00 donated
in the past month

Get Involved

If you'd like to help with maintaining or developing the website, contact us.

Publish

Publish your stories and upcoming events on Indybay.

► ▼ IMC Network