Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2011, 07:59 PM   #16
mtrahan
Colonel Mustard
mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.
 
mtrahan's Avatar
 
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
Thanks for the help, netseeker. I tried what you suggested (using "preface" instead of "text", and <a id="preface"/>, it validates correctly in Flight Crew! But unfortunately after converting to Mobi with Calibre it still doesn't open on cover in KindlePreviewer. :/

Not sure what I'm doing wrong. Maybe I'm placing the <a id> at a wrong place? This is on my first file, the one with the cover on: <div><a name="preface"/><img alt="cover" class="sgc-1" src="../Images/cover.jpg" /></div>
mtrahan is offline   Reply With Quote
Old 04-26-2011, 08:06 PM   #17
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
I think by default a Kindle device or Kindle viewer will open to the place marked as type="text" in the <guide> section, or to the first text file in the ebook (typically the title page) if the "text" semantic is not set. It doesn't generally open to the cover, though there may be a way to force it to do so.

OTOH, the MS-Windows Mobipocket reader does open to the cover initially, IIRC.

BTW is the cover accessable in the "go to" menu?
st_albert is offline   Reply With Quote
Advert
Old 04-26-2011, 08:29 PM   #18
mtrahan
Colonel Mustard
mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.
 
mtrahan's Avatar
 
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
Quote:
Originally Posted by st_albert View Post
BTW is the cover accessable in the "go to" menu?
Yes, working fine on that side.

Actually, I got distracted of the initial problem by trying to fix this cover thing. The most problematic case, the one that caught my attention, was a book I opened earlier today and it skipped a couple pages of text to start right on the first <h2> tag. So the problem was bigger than just the cover display, which I can live with. Now I know that the problem has nothing to do with the <h2> tag (or my other hypothesis: the 'page-break-before' part).

Having remembered the most crucial part of the problem, I went to edit that book with my new knowledge—the "preface" reference in the OPF guide+the <a id> in the first file of the book... and Kindle Previewer opened the converted mobi file on the page right after the cover. Which is fine, I guess.

I just didn't want the people to open my books on, say, page 5 and miss the beginning (quotes, etc.) just because of bad formatting.

I'll forget about Kindle opening a book right on cover—I spent way too much time on this already.

And a big thanks to you all—this forum is really full of helpful people.

Edit: Grrrr... I don't understand this. When I posted this, I had tested the file with Kindle Previewer, and it worked: opened the book on the page right after the cover. Now I just tried with my Kindle directly, and it did the same it did this morning: book is opened where main text begin, right on the first <h2> tag. But that is enough for today...

Last edited by mtrahan; 04-26-2011 at 08:43 PM. Reason: didn't work as I said, finally
mtrahan is offline   Reply With Quote
Old 04-26-2011, 09:07 PM   #19
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,591
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by netseeker
Yes, i think calibre just ignores type="text" (as well as almost all other guide reference types) when converting to mobi.
Good to know. Thanks for the type="preface" tip. I'll be sure and try it one of these times.
DiapDealer is offline   Reply With Quote
Old 05-09-2011, 12:23 PM   #20
illustrata
Enthusiast
illustrata began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Aug 2010
Location: Venice, Italy
Device: iphone, ipad, kindle
Quote:
Originally Posted by DiapDealer View Post
Yes, you can use the Calibre's epub tweak to make those small edits, then rebuild the epub and convert to mobi.
I've heard this mentioned before but can't locate it -- where is the epub tweak in Calibre?
illustrata is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub to Mobi cover art - inconsistent wannabee Conversion 5 03-15-2011 12:02 PM
PRS-650 Exclamation Point error opening epub book TimeTraveler Sony Reader 3 02-15-2011 10:38 PM
Pixelated font in e-book reader when opening EPUB format mst Recipes 7 02-13-2011 10:09 PM
Opening hyperlinks in Calibre EPUB news documents on the Nook TimboK Barnes & Noble NOOK 4 11-29-2010 04:18 PM
Calibre and sony formatting when opening book motero57 Calibre 2 01-29-2010 12:24 PM


All times are GMT -4. The time now is 05:42 AM.


MobileRead.com is a privately owned, operated and funded community.