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 10-28-2011, 10:34 AM   #1
vogella
Junior Member
vogella began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Device: Kindle
kindlegen epub to mobi - lists are incorrectly displayed

If I convert epub to mobi lists (<ul> <li> hello </li> </ul> are incorrectly displayed. The dots starts in one line and the description text in another.

Screenshot of the incorrect result:



I don't know how to solve this. I tried to modify the CSS and to change the HTML code but nothing I tried made a difference.

I used kindlegen and Calibre for the conversion but the result is always the same.

Any information pointer on how to solve this would be great.
vogella is offline   Reply With Quote
Old 10-28-2011, 10:43 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,987
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can you please post a sample ePub that shows your issue so someone can take a look?
JSWolf is offline   Reply With Quote
Advert
Old 10-28-2011, 10:47 AM   #3
vogella
Junior Member
vogella began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Device: Kindle
@JSWolf Thanks for the fast reply.

I placed an example epub here:

http://www.vogella.de/tmp/book.epub

And the resulting mobi here:

http://www.vogella.de/tmp/book.mobi
vogella is offline   Reply With Quote
Old 10-28-2011, 01:00 PM   #4
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: 27,551
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I think it's the <p> tag that is nested in the <li> tag. It's not really necessary.

Changing the code from:
Code:
<ul class="itemizedlist">

  <li class="listitem">
    <p>Item1</p>
  </li>

  <li class="listitem">
    <p>Item2</p>
  </li>

  <li class="listitem">
    <p>Item3</p>
  </li>

  <li class="listitem">
    <p>Item4</p>
  </li>

</ul>
To:
Code:
<ul class="itemizedlist">

  <li class="listitem">Item1</li>

  <li class="listitem">Item2</li>

  <li class="listitem">Item3</li>

  <li class="listitem">Item4</li>

</ul>
Seems to work as expected in both the epub and the resulting mobi.

Last edited by DiapDealer; 10-28-2011 at 02:11 PM.
DiapDealer is offline   Reply With Quote
Old 10-28-2011, 02:36 PM   #5
vogella
Junior Member
vogella began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Device: Kindle
@DiapDealer: Thank you very much. After removing the <p> </p> tags the output looks great.

Thank you again.
vogella is offline   Reply With Quote
Advert
Old 10-28-2011, 02:53 PM   #6
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: 27,551
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You're welcome.
DiapDealer is offline   Reply With Quote
Reply

Tags
epub, mobi


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KindleGen: Epub to Mobi conversion virtual_ink Kindle Formats 21 11-18-2011 08:00 AM
Kindle Previewer Displays HTML lists incorrectly when converting from EPUB Gandharva Kindle Developer's Corner 1 09-01-2011 06:52 PM
EPUB to MOBI - Extra Space on Bullet Lists squiggy Conversion 2 01-31-2011 10:50 AM
convert pdf to epub or lrf incorrectly jack06 Calibre 1 07-06-2010 04:22 PM
Mobi Files Are Not Displayed In EZReader V3 aegeus Calibre 2 12-27-2009 04:02 PM


All times are GMT -4. The time now is 01:05 PM.


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