![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
|
Difficulty with conversion of HTML
I have some documents I converted to HTML for putting into Calibre and making an LRF file. Everything looks fine in my web browser on preview, but when I convert it and put it onto my Sony, the lines are all centered. Any tips as to what's going on here and how to fix it?
|
![]() |
![]() |
![]() |
#2 |
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
That appears to be happening to my ... uh ... liberated eReader books (but not Mobipocket). I swear, this was answered by Kovid in one of those million other threads ... but I haven't been able to find the reply, now that I need it!
![]() Interestingly, if you convert the same HTML file to ePub, no centering. I'll be watching this thread to see if someone else actually remembers what Kovid's previous answer was. |
![]() |
![]() |
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
convert it to epub first and then to lrf
|
![]() |
![]() |
![]() |
#4 |
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
So, that's why Calibre asks which edition you want to convert from, when there's a zip and an ePub...
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
|
Thank you, worked like a charm
|
![]() |
![]() |
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
|
One more question, Kovid---a small handful of the books seem to have the quotation marks and apostrophes missing. There is just a space where they should be. But this did not happen with all the books, only a few...
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Encoding problems most likely. Easiest way to fix is to edit the html and do a search replace
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() Posts: 92
Karma: 272
Join Date: Feb 2009
Device: PRS-505
|
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
|
Thanks. These are all from the same source (all right, I confess, they are 'liberated' eReader files) and while the vast majority of them look fine, there are a handful with weird issues. There is another one which goes great until page 50 or so, then the font goes huge for no reason
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conversion of HTML to UTF-8 | lippy | Calibre | 3 | 09-20-2010 04:46 PM |
conversion TO html | in_the_fade | Calibre | 4 | 04-29-2010 10:51 AM |
HTML to TXT conversion | alkr | Calibre | 3 | 10-02-2009 09:54 AM |
amazon html conversion | pan2 | Amazon Kindle | 3 | 03-21-2009 06:44 PM |
HTML Conversion Error | dedicated | Calibre | 12 | 12-18-2008 02:36 PM |