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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2012, 12:16 AM   #1
ryntau
Member
ryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and graceryntau herds cats with both ease and grace
 
Posts: 10
Karma: 43516
Join Date: Jan 2012
Device: none
Post Lists within Lists

Hi,
I'm new to the forum and this is my first post.
I'm trying to create an ebook that utilizes a list within a list (or a sublist, if you will)
for instance, i have an unordered list, and on one of those points, i have an ordered sublist. This seems to cause a problem when I try to validate the EPUB file with
http://threepress.org/document/epub-validate

This is how I have structured it, as an example:
<ul>
<li></li>
<li></li>
<ol>
<li></li>
<li></li>
</ol>
<li></li>
</ul>
ryntau is offline   Reply With Quote
Old 01-04-2012, 04:22 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 5,971
Karma: 4346919
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Try to validate with Flightcrew, the messages will probably be more informative.

I guess the problem is you cannot have content in a list (<ul>) that's not inside an item (<li>), so try adding <li>...</li> around the <ol>...</ol>.

Anyway, I think the formatting options for lists are very poor, so I don't use them, and prefer normal paragraphs with hardcoded numbers if needed.
Jellby is online now   Reply With Quote
Old 01-13-2012, 02:29 AM   #3
huebi
Zealot
huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!
 
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
Quote:
Originally Posted by ryntau View Post
This is how I have structured it, as an example:
<ul>
<li></li>
<li></li>
<ol>
<li></li>
<li></li>
</ol>
<li></li>
</ul>
You can not have something outside the li-tags. Try this:

<ul>
<li></li>
<li>
<ol>
<li></li>
<li></li>
</ol></li>
<li></li>
</ul>
huebi is offline   Reply With Quote
Reply

Tags
lists, sublists

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Roundup of Best-of Lists stonetools Reading Recommendations 0 12-06-2011 11:34 AM
Lettered lists Christopher Wood Kindle Formats 22 06-20-2011 05:33 AM
Book Lists ballast Calibre 3 08-14-2010 02:46 PM
Authors' Lists? LadyLou Calibre 2 02-07-2010 03:06 PM
Managing wish lists Elsi Amazon Kindle 5 02-28-2009 03:20 PM


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


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