Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2010, 12:33 PM   #1
danwdoo
Groupie
danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.
 
danwdoo's Avatar
 
Posts: 168
Karma: 2584958
Join Date: Jan 2009
Location: Texas
Device: Kindle PW2
Having problem with a book format

Hello,
I'm having problems with a book being too wide to fit on the screen of my eReader (Sony 505). The book is Seaborn, and is available as a free download from here:

http://www.saltwaterwitch.com/freeseaborn.php

The version I am downloading is the html one. Even in Calibre, after converting to EPUB, the text is too wide for Calibre's built in viewer (unless I expand the width a large amount). Is the a problem with the book itself, or is it a setting/issue with Calibre?

Thanks!
danwdoo is offline   Reply With Quote
Old 11-16-2010, 12:34 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
use the linearize tables conversion option
kovidgoyal is online now   Reply With Quote
Advert
Old 11-16-2010, 12:52 PM   #3
danwdoo
Groupie
danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.
 
danwdoo's Avatar
 
Posts: 168
Karma: 2584958
Join Date: Jan 2009
Location: Texas
Device: Kindle PW2
Thanks for the quick response!
I tried the setting, reconverted the book, but it did not make a difference on the eReader, or in the Calibre viewer. The text is still too wide.
danwdoo is offline   Reply With Quote
Old 11-16-2010, 01:13 PM   #4
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
I have just tried and get the html correctly converted to mobi. You can try html->mobi->epub...
janvanmaar is offline   Reply With Quote
Old 11-16-2010, 01:26 PM   #5
danwdoo
Groupie
danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.danwdoo ought to be getting tired of karma fortunes by now.
 
danwdoo's Avatar
 
Posts: 168
Karma: 2584958
Join Date: Jan 2009
Location: Texas
Device: Kindle PW2
I tried html -> mobi -> epub and sure enough it seems to have worked perfectly. I'll have to remember that trick in the future!

Thanks!
danwdoo is offline   Reply With Quote
Advert
Old 11-16-2010, 10:30 PM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by danwdoo View Post
I'm having problems with a book being too wide to fit on the screen of my eReader (Sony 505).
@Kovid - The creator of this book set two <div> tags

1. <div style="width:650px;">

2. <div style="width:700px;">

Since this is wider then the PRS-505 and most other ereaders the resultant conversion to epub set a width wider then the screen. In thousands of books this is the first one I ran into like this. Since it is literally 1 in 1000s it may not be worth the effort but is there some way to limit or remove all "too wide" width attributes? This was not a table.

It seems like the limits of mobi causes these tags to be ignored or removed in a conversion to mobi.
DoctorOhh is offline   Reply With Quote
Old 11-17-2010, 10:03 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's certainly possible to remove width settings on tags (or at least reduce them to the screen width of the output profile). Open a ticket for it with a sample and I will get to it when I have the time.
kovidgoyal is online now   Reply With Quote
Old 11-17-2010, 09:35 PM   #8
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Odds are that this is because an online pdftohtml utility was used, I've seen a few that create more accurate output than what Calibre's current pdftohtml can do, but they use a lot of hardcoded divs like these to maintain the original layouts more precisely (unfortunately simultaneously killing reflow)

Some examples:
http://convertpdftohtml.net/
http://www.pdfonline.com/convert-pdf...l/default.aspx
ldolse is offline   Reply With Quote
Old 11-18-2010, 11:27 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah I've seen that (actually calibre's pdftohtml can do that as well, it doesn't, because I am interested in reflowing PDFs not making reproducing them in HTML). All those online converters probably use the same pdftohtml from poppler that calibre does.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[PROBLEM]ePub format texts not loading lahonda_99 Astak EZReader 7 10-23-2010 02:03 AM
Problem with mobi format Laura81 Astak EZReader 14 02-05-2010 10:41 AM
Problem with PDF format prom king Sony Reader 23 08-31-2008 12:07 PM
Problem after format ionontelodico iRex 4 05-14-2008 02:10 PM
Book Designer and lit format problem safin Sony Reader 1 04-28-2007 01:35 AM


All times are GMT -4. The time now is 04:21 AM.


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