07-08-2010, 01:06 PM | #1 |
Connoisseur
Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
|
Calibre cut lines in a converted CHM to MOBI
Hi all
I've converted a CHM file to MOBI via calibre, but I've noticed the lines are cut. Playing around in my Kindle with the font size I can read almost the full line but this is a useless workaround. any suggestion? |
07-08-2010, 11:27 PM | #2 | |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
You could run the conversion with a directory in debug then go into the html provided there and see what is in the code that is preventing it from wrapping. Update: You could always convert the tables manually to images and size them to fit your reader. Last edited by DoctorOhh; 07-09-2010 at 08:57 AM. |
|
Advert | |
|
07-09-2010, 05:00 AM | #3 |
Connoisseur
Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
|
yes. That's what I mean.
so, deleting all that "pre" tags will solve thi issue? |
07-09-2010, 05:02 AM | #4 |
Resident Curmudgeon
Posts: 75,851
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Convert the pre tags into div tags.
|
07-09-2010, 05:35 AM | #5 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
Advert | |
|
07-09-2010, 07:54 AM | #6 |
Connoisseur
Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
|
I've replaced every "pre" tag with "div" (and "/pre" with "/div") but this did not solve the issue.
Calibre keeps converting to mobi with the lines running off the screen. any other tool or workaround? (uploaded ePub obtained in Sigil after replacing the tags) Last edited by jomaweb; 07-09-2010 at 08:00 AM. |
07-09-2010, 08:53 AM | #7 | |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
You could select linearize tables under conversion - look & feel but it'll be ugly. Good Luck. |
|
07-09-2010, 10:08 AM | #8 |
Connoisseur
Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
|
I think it's not a table issue. The tables look great. It's the normal text that appears running out of the screen.
|
07-09-2010, 11:10 AM | #9 |
creator of calibre
Posts: 44,333
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's not just <pre> any tag with whitespace: pre in the css will be rendered like a <pre>
|
07-09-2010, 11:52 AM | #10 |
Connoisseur
Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
|
Deleted any reference in the code to any occurrence of "pre". Tags, CSS, ...anywhere.
Still getting the "hidden lines" issue. |
07-09-2010, 12:39 PM | #11 |
creator of calibre
Posts: 44,333
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
there is something in your input file that is specifying non reflowable layout for text.
|
07-09-2010, 12:41 PM | #12 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I glanced through the epub, and saw lots of very wide tables that are offscreen, even on my widescreen monitor. I looked inside, and it appeared that they were in table data and/or row tags, but without the surrounding table tags. It looks like a tables issue to me, although if you point to a particular non-table bit of text, I'm sure someone will look at it. I'd try linearize tables to make sure that doesn't fix it, and also check to make sure you don't have some malformed html relating to tables.
|
07-21-2010, 03:07 PM | #13 |
Resident Curmudgeon
Posts: 75,851
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
CHM & wiki can be some of the most awful code around.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lines became paragraphs after .lit to .mobi conversion | Piper_ | Calibre | 11 | 09-19-2010 05:11 PM |
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) | David Derrico | Calibre | 5 | 08-04-2010 12:13 AM |
Calibre converted comics cut off on Kobo | ViralMage | Kobo Reader | 17 | 06-19-2010 10:44 AM |
two issues in MOBI converted from prc in Calibre | joselitux | Calibre | 0 | 06-01-2010 02:08 PM |
PRS-505 Missing several lines in converted Epubs | VanPersie | Sony Reader | 3 | 04-25-2010 02:26 PM |