I'm sure it's something whacky in the coding that I'm just not getting. I've been in a mood to clean up my epubs lately (correct really bad formatting, remove embedded fonts, add TOCs, clean up images, etc.) and opened up the
Douay-Rheims Bible from Project Gutenberg. The cover page appears last and no matter what I do, I can't force it to be first in the book.
I only downloaded this book awhile ago to test if it choked my Sony reader for someone else (it didn't), but kept it just in case. Even though I may never use it, it's bugging me that I can't force the last page to appear first and I just need to know why at this point
.
Page naming starts with
www.gutenberg.org@files@1581@1581-0.txt through
www.gutenberg.org@files@1581@1581-100.txt. (Ignore the links here, I keep removing them, forum keeps adding them back when I post.)
Each line of text in the pages has a numbered id, such as <p id="id00001"> through <p id="id40632">, for about 97 of the pages, last 3 do not use the ids.
I tried to add an id to the cover page but still can't get it to appear first, it appears last in the book. Here's the cover page code, but it's identical to epubs I've done and I don't have this problem.
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/css" http-equiv="Content-Style-Type" />
<link href="../Styles/pgepub.css" rel="stylesheet" type="text/css" />
<meta content="EpubMaker 0.3 by Marcello Perathoner <webmaster@gutenberg.org>" name="generator" />
<title></title>
<style type="text/css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>
<body id="id00000">
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="none" version="1.1" viewBox="0 0 600 800" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="800" width="600" xlink:href="../Images/cover.jpg"></image>
</svg>
</body>
</html>
I've tried adding an id=00000 to the cover page, adding div to it, I can't remember everything I've tried to be honest at this point, but I must be doing something wrong.
When I created the TOC though, it let me add it at the beginning of the book.
Any ideas how to force the cover to page 1?