Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-28-2011, 11: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, 11: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: 38,474
Karma: 19300555
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2), Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Can you please post a sample ePub that shows your issue so someone can take a look?
JSWolf is offline   Reply With Quote
Old 10-28-2011, 11: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, 02: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: 9,526
Karma: 43837842
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 03:11 PM.
DiapDealer is offline   Reply With Quote
Old 10-28-2011, 03: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
Old 10-28-2011, 03: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: 9,526
Karma: 43837842
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You're welcome.
DiapDealer is offline   Reply With Quote
Reply

Tags
epub, mobi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


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


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