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 03-04-2014, 03:40 AM   #1
MacEachaidh
Browser
MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.
 
MacEachaidh's Avatar
 
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
Limitation in numbered lists?

I have formatted an epub that contains a numbered list, as follows:

Code:
<ol style="list-style-type: decimal;margin-top:0;margin-bottom:0;">
    <li class="P_ListItem">
      <p class="P_ListParagraph">Item 1</p>
    </li>

    <li class="P_ListItem">
      <p class="P_ListParagraph">Item 2</p>
    </li>

.
.
.
    <li class="P_ListItem">
      <p class="P_ListParagraph">Item 12</p>
    </li>
</ol>
In Sigil, this seems to display correctly. But on my Kobo Aura, which I believe uses ADE to parse and display the epub, the items display correctly only up until Item 9, and then after that the numbering shows as 1 on every item.

Is there some limitation in ADE keeping item numbers to one digit? I gather that would limit numbered lists to 9 items?

Is there any way around this?

Thanks for any suggestions.
MacEachaidh is offline   Reply With Quote
Old 03-04-2014, 04:51 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Haven't noticed it yet to be honest. Then again, I usually avoid lists when I can since support on devices is limited.
Toxaris is offline   Reply With Quote
Advert
Old 03-04-2014, 04:58 AM   #3
MacEachaidh
Browser
MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.
 
MacEachaidh's Avatar
 
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
What do you use as an alternative?
MacEachaidh is offline   Reply With Quote
Old 03-04-2014, 05:55 AM   #4
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: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
<div class="list">
<p>1. Item 1</p>
<p>2. Item 3</p>
<p>3. Item 2</p>
</div>

Maybe the numbers do line up so nicely, but that's often not so important.
Jellby is offline   Reply With Quote
Old 03-04-2014, 06:33 AM   #5
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
You can't successfully define an ordered list to be automatically alphabetic nor can you stop the list and automatically restart it by defining the start number when you have made a new page. Those functions aren't provided by epub.

Sigil uses a browser type renderer which will display these functions, but they don't work in epub. Unless you are creating a document which requires frequent and automatic renumbering in editing, this is not much of a drawback.
mrmikel is offline   Reply With Quote
Advert
Old 03-04-2014, 08:34 AM   #6
MacEachaidh
Browser
MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.
 
MacEachaidh's Avatar
 
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
Thanks for the replies.

Jellby, your system isn't so clear, and falls down when the items in the list are longer than a single line. The list then becomes a bit messy and indistinct.

mrmikel, the list is working fine up until item 9, and then it numbers every subsequent item as 1. There's no coded page break within the list, so that's not a problem (unless I'm misunderstanding what you're saying).
MacEachaidh is offline   Reply With Quote
Old 03-04-2014, 09:00 AM   #7
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,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by MacEachaidh View Post
and falls down when the items in the list are longer than a single line. The list then becomes a bit messy and indistinct.
A bit messy but correctly numbered/lettered across a range of devices/apps; or beautifully formatted but inconsistently numbered/lettered across a range of devices/apps. Those are your two choices with lists in epubs.
DiapDealer is offline   Reply With Quote
Old 03-04-2014, 09:06 AM   #8
MacEachaidh
Browser
MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.
 
MacEachaidh's Avatar
 
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
So the coding I had originally doesn't work beyond single digits? That was my question, but no-one's actually answered it yet.

Edited to add:
I've discovered from the Adobe forums that the problem is a bug in ADE, such that it only displays the first digit of the list item number, no matter how many digits there really are.

The specific file I'm working on is for my own use, not for distribution, so in this instance I only need to get it working on my Kobo Touch and/or Aura HD. But of course it would be helpful to have a working solution beyond this one file.

Last edited by MacEachaidh; 03-04-2014 at 09:39 AM.
MacEachaidh is offline   Reply With Quote
Old 03-04-2014, 09:36 AM   #9
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,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by MacEachaidh View Post
So the coding I had originally doesn't work beyond single digits? That was my question, but no-one's actually answered it yet.
Because there IS no definitive answer. It may possibly work somewhere (on some devices/apps), but there's a good chance no one will be able to tell you which ones. That why most people just avoid them altogether.
DiapDealer is offline   Reply With Quote
Old 03-04-2014, 09:41 AM   #10
MacEachaidh
Browser
MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.
 
MacEachaidh's Avatar
 
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
Quote:
Originally Posted by DiapDealer View Post
Because there IS no definitive answer.
Well yes, there does seem to be an answer, at least to the question I actually asked. As I just noted, it seems ADE has a bug whereby it doesn't display list item numbers beyond the single first digit.

Quote:
That why most people just avoid them altogether.
And do what, though? What's an alternative, when the list items are then referenced heavily by the following text?

Last edited by MacEachaidh; 03-04-2014 at 09:44 AM.
MacEachaidh is offline   Reply With Quote
Old 03-04-2014, 09:44 AM   #11
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,406
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by MacEachaidh View Post
And do what, though? What's an alternative, when the list items are then referenced heavily by the following text?
Put the list numbers in as actual text. Not as neat, but at least they'll be there.
pdurrant is offline   Reply With Quote
Old 03-04-2014, 09:45 AM   #12
MacEachaidh
Browser
MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.MacEachaidh ought to be getting tired of karma fortunes by now.
 
MacEachaidh's Avatar
 
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
Quote:
Originally Posted by pdurrant View Post
Put the list numbers in as actual text. Not as neat, but at least they'll be there.
That's no better, nor clearer, than a .TXT file. Kinda pointless, eh?
MacEachaidh is offline   Reply With Quote
Old 03-04-2014, 10:41 AM   #13
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
What is point of going through putting all the stuff for a HTML list when you can just type it anyway? You can inset the list items through CSS, if that is an issue. The reader will see absolutely the same thing.
mrmikel is offline   Reply With Quote
Old 03-04-2014, 10:55 AM   #14
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,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There ARE some things that html lists do naturally that are very, very hard to completely replicate with css and block elements (consistently across a range of devices/apps anyway), but they're still purely cosmetic. Unless you're continually rebuilding a list where the number of elements and their contents are unknown and/or pulled from a database and built "on the fly" (such as on dynamic websites), then you're right; there's no real functional advantage to ordered lists in static documents.
DiapDealer is offline   Reply With Quote
Old 03-04-2014, 10:56 AM   #15
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,406
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by MacEachaidh View Post
That's no better, nor clearer, than a .TXT file. Kinda pointless, eh?
That is your alternative. Current ePub renderers are poor, you can produce a pure ePub that doesn't (currently) read well, or produce something that works with current renderers.

Just complaining that things aren't perfect isn't constructive.
pdurrant is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Numbered Lists on the Nook Mark3 Conversion 1 09-07-2011 10:56 PM
bullet and numbered lists cel4145 Writer2ePub 4 05-07-2011 05:29 AM
Continuing numbered lists (ol) in ADE EricDP ePub 13 09-07-2010 08:30 AM
numbered lists, but with a text break soup Sigil 1 07-30-2010 04:27 AM
Are the Reader's days numbered? WilliamG Sony Reader 32 09-23-2007 02:56 PM


All times are GMT -4. The time now is 06:23 PM.


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