beukbeuk.studio your EPUB & print studio

School › Getting to the stores › Lesson 3 of 6

Look inside the file

An EPUB is a sealed box, and most writers ship it without ever looking inside. You don't have to. The Package Inspector opens the box and shows its actual contents — the package exactly as a store will receive it.

  1. Open Export and choose Inspect Package. The Archive Package Inspector shows the exact files the EPUB builder writes — same generator, same bytes.

  2. Read the file tree the way a store's machine does. The tiny mimetype entry leads the archive. META-INF/container.xml is the signpost pointing at the package file. Under OEBPS sit the package document, the navigation files, the stylesheet, a Text folder with one XHTML file per section, and an Images folder — each file with its size.

  3. Select any file to read it, highlighted. The package document declares every file; the navigation document carries the contents a reader shows; a chapter is strict XHTML, which is why the validator insists on well-formed markup.

  4. When a validator line puzzles you, the answer is usually visible here: compare what a chapter references with what the package actually holds, and the missing picture or misnamed file shows itself.

What is validated is not an abstraction — it is this file tree, these bytes. Knowing your way around the box is what makes the next two lessons quick.