![]() |
#1 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
How can I define the "first" page of an ebook?
What controls the first page that appears when you open a book in an ereader; the starting position?
I create/convert my ebooks using Sigil and do a final conversion to mobi using Calibre for use on my Kindle 3. Typically, the first page/section displayed is the first html file after the cover. However, several, but certainly not all, of my ebooks have started opening at some other page, two or three pages further on than I want. I haven't changed my normal procedure and I'm not aware of any flags or switches to tell which page is the initial or first page. Is anyone aware of something I could do to insure where an ebook starts the first time it's opened? Thanks for any assistance. - Byron |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
In the toc.ncx file the TOC is set. There is also a setting for each file, called playOrder. This is the order in which the files are read. You can alter the reading sequence here.
|
![]() |
![]() |
![]() |
#3 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
You can also use Sigil's semantic setting of "text" for whatever page you wish to be the first page (for reading) of the book. WARNING: don't know if this works with Calibre-genned mobi's, but KindleGen absolutely recognizes the semantic "text" as equivalent to mobi's "start" tag.
HTH, Hitch |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Not really. The playOrder attribute in the NCX is optional, and it does not have any real effect on the ebook. The reading order is specified in the OPF file, by the order in which the different files appear in the <spine>.
|
![]() |
![]() |
![]() |
#5 |
Colonel Mustard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
|
In the last couple of books I did, in Sigil I set the about page—first after cover—as 'Preface' (right click on the file in Sigil, then Add Semantics), following page is title page ('Title Page' semantics). When I open the file in iBooks, first page opened is the about page. When I convert the file to .mobi in Calibre, the first page opened on my Kindle is the title page.
|
![]() |
![]() |
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Really? That's strange. Why having a playOrder at all then?
|
![]() |
![]() |
![]() |
#7 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I believe that's because the NCX format was borrowed from the DTB (digital talking book) format, and there the playOrder attribute has its function. In ePUB, however, the order is specified elsewhere, so playOrder in the NCX has no function, but the NCX specification is the same, so the attribute remains.
|
![]() |
![]() |
![]() |
#8 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Well, so far nothing anyone has suggested has made any difference. I went into semantics and changed the page I desire to have the ebook start at to text and that didn't help. I also changed it to preface. Again, this made no difference. Even when I add a null h1 tag so that the page shows up first in the ncx, it still doesn't start on that page.
The strange thing is that nothing I'm trying seems to work even though I used to do absolutely nothing. My ebooks would automatically open to the first page after my cover page, no special semantics required at all. I'm wondering if something changed in a recent Calibre update and something is happening in the conversion process. I've posted in that forum as well but no one has responded there. I'll keep trying and will post if I have any luck. If anyone has any more ideas, please let me know. Thanks. - Byron |
![]() |
![]() |
![]() |
#9 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
OK, trying to narrow the problem down a little further I decided to go and try some of my older mobis that I know used to open right where I wanted them to. I figured I might be able to narrow the problem down to when I switched to a certain new verision of Sigil or Calibre. Guess what, all my old files that used to work just the way I wanted them to now do the same thing as my newer ones. They open to the heading/first nav point in the ebook. It's really starting to look like my Kindle is the issue and not Sigil or Calibre. It seems as if something changed on a recent firmware update that is causing this but I have no idea what or how to correct it.
The whole problem is very strange. - Byron |
![]() |
![]() |
![]() |
#10 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
NO, that won't be it. I can't speak to MOBI's made by Calibre--you should ask Kovid; but to resolve the issue, use a "start" tag wherever you want the bloody thing to open, i.e., name="start" or id="start" (html or xhtml, respectively) and, IF Calibre is using KindleGen, which I assume (famous last words!) that it is, your Kindle should automagically open to that page. Just stick it anywhere--adjacent to your first chapter's header, or what-have-you. KindleGen and MobiGen look for that naming convention to set the "start reading" location...but again, this presumes that KindleGen is not overriden with Calibre.
HTH, Hitch |
![]() |
![]() |
![]() |
#11 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Quote:
Thanks for the help though. I really appreciate it. - Byron |
|
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Why should there be something in Sigil for this? For an epub it isn't necessary to define a page as start page. That is a mobi issue.
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Quote:
It just seems sort of strange that the developer included so many options as semantics but left that one out. That's all I meant. - Byron |
|
![]() |
![]() |
![]() |
#15 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Now that I know I can fix this by manually editing the opf, I have no problem, until I go back into Sigil and edit an epub for some reason. If I do that, Sigil removes my start page definition. I'm not really sure why but it does. Now I'll need to make sure I remember to do that every single time I find a need to go back in and edit an epub. I think I'm going to put this one in as a ticket and see what happens.
- Byron |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"A Problem Occurred" on the "Shop" page. | swallman | Nook Color & Nook Tablet | 1 | 12-25-2010 12:34 PM |
Creator taking control of the "first page" link in the "content" menu | cyberbaffled | Kindle Formats | 2 | 07-11-2010 04:21 PM |
Thoroughly recommended - "Deluxe" Penguin eBook of "The Odyssey" | HarryT | Reading Recommendations | 32 | 05-29-2009 12:07 AM |
Swap "Prev Page" & "Next Buttons" ???? | kilofox | Amazon Kindle | 6 | 04-02-2008 11:39 PM |