06-07-2010, 01:20 PM | #1 |
Member
Posts: 19
Karma: 10
Join Date: Jun 2010
Location: Massachusetts
Device: iPad
|
< ol > "start attribute issue
Well, I completed conversion of my manuscript to ePub format. We are targeting the iPad for our first foray in to electronic books. I ran through epubcheck (1.0.5) and fixed a few minor problems. However, I am using numbered lists for footnotes - which I am putting at the bottom of each page. I thought using <ol start="x"> (where x= the first footnote number on that page) should work. It runs fine on the iPad. However, the validator generates an error saying "attribute "start" not allowed at this point; ignored.
Rather than hardcoding the numbers for the footnotes, is there a way to deal with this? I liked using <ol> since I get the correct wrapping behavior for long lines of footnote text. I had been using custom style code to do the same but it required quite a few lines of code to do what <ol> does succinctly. I am also using this tag and attribute to create step numbers (this is a how to book on building fly fishing reels). It would be very painful to have to hard code those step numbers. Apparently, the "start" attribute is deprecated but there is no suitable style defined to replace it. cheers, Michael Last edited by eclecticguy; 06-07-2010 at 01:24 PM. |
06-07-2010, 01:23 PM | #2 |
zeldinha zippy zeldissima
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
Hi Michael, i've edited your title because otherwise the html code makes the forum spy go a bit crazy. good luck getting your code sorted ; i'm sure someone will be able to give you a solution to your problem.
|
Advert | |
|
06-08-2010, 07:16 AM | #4 | |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
For what it is worth I had no problems with numbered footnotes within a chapter using <p></p> in 'Rosser, Ellen: The City of God, and Hamas' which I uploaded recently. Regards, Alex |
|
06-08-2010, 11:46 AM | #5 |
Member
Posts: 19
Karma: 10
Join Date: Jun 2010
Location: Massachusetts
Device: iPad
|
Alex, thanks. However, your footnote text does not exhibit the wrapping behavior I am looking for. Basically, I want wrapped lines to align underneath the start of the previous line and not underneath the footnote number. <ol> does this nicely. I had some style code that did this but it was pretty verbose.
cheers, Michael |
Advert | |
|
06-08-2010, 01:41 PM | #6 |
Evangelist
Posts: 416
Karma: 14682
Join Date: May 2008
Location: SF Bay Area
Device: Nook HD, Nook for Windows 8
|
The start attribute (for ol elements) is not valid XHTML, so it's not valid for ePubs. The correct way to handle this is through appropriate use of CSS - look at counter-reset for instance.
However before you get your hopes too far up, I will note that ADE does not handle this particular bit of CSS even though it should. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
attribute "scheme" from namespace error in epubcheck 1.0.5 | thunderune | ePub | 15 | 06-30-2011 10:57 AM |
A little newb help? Launch Calibre via batch file with "Start in tray" modifier | jphphotography | Calibre | 7 | 01-04-2011 11:49 AM |
attribute "span" not | paulpeer | Sigil | 14 | 03-10-2010 05:24 PM |
Seriously thoughtful Random House: "Guter Start für eBooks" | netseeker | Lounge | 1 | 06-16-2009 04:01 PM |
PDF creation issue (and Don't Start!) | Steven Lyle Jordan | Workshop | 14 | 05-14-2008 06:44 PM |