01-15-2014, 11:49 AM | #1 |
Enthusiast
Posts: 43
Karma: 34216
Join Date: Feb 2009
Location: Fort Collins, CO
Device: Sony Reader PRS-500, Kindle Fire, Aldiko on LG Optimus Elite
|
Lulu Validation Errors
I created an epub in Sigil 0.7.2 that uses a 3-part chapter system. The book is broken up into Part, Chapter, Sub-chapter. I used the formatting system of H1 for the Parts, H2 for the Chapters, and H3 for the subchapters ( as outlined by Lulu, as well as being the common sense approach). Chapters are new files, but sub-chapters are contained within each file for the chapter and referenced with a Sigil-generated id created when I had Sigil auto-generate a Table of Contents. Epub was validated with both Flightcrew and Epubcheck with no errors found by either.
When uploaded to Lulu I get the dreaded: "The table of contents contains one or more links without text" error. The error log file is filled with these two errors:
Has anyone figured out a way around this without me having to resort to creating new files for each of my 51 sub-chapters to avoid anchors in the toc.ncx? Last edited by brontus; 01-15-2014 at 11:52 AM. |
01-15-2014, 01:34 PM | #2 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The Sigil in the error is because someone changed the book after building the NCX with Sigil (or LuLu is another with a lame validator tool) Sub-chapter? Or just multiple chapters per file? A mid chapter TOC point might be desired to allow jumping to a in stream Map or diagram |
|
Advert | |
|
01-15-2014, 05:09 PM | #3 | |
Enthusiast
Posts: 43
Karma: 34216
Join Date: Feb 2009
Location: Fort Collins, CO
Device: Sony Reader PRS-500, Kindle Fire, Aldiko on LG Optimus Elite
|
I tried using Calibre, both the book editor to rebuild the TOC and also doing an epub to epub conversion. Rebuilding the TOC removed about half of the errors for some reason. I tried rebuilding the TOC in Calibre several more times to no avail.
Considering I am the only one working on this file and I generally don't touch the toc.ncx unless there is a problem, I'll vote for LuLu having a lame validator tool. Would you prefer the term "subheading?" These sections are definately not chapters in their own right but simply a part of the chapter dealing with a specific theme. Here is a sample: Quote:
|
|
01-15-2014, 06:29 PM | #4 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
You could try epubcheck online. It will generate a number of errors which are not useful as well, but there might be one which points the way...or confirms their validation is bunk. At which point you can email them.
Hm. Did you use capitals for the h1, h2, h3 tags? |
01-15-2014, 08:42 PM | #5 | |
Enthusiast
Posts: 43
Karma: 34216
Join Date: Feb 2009
Location: Fort Collins, CO
Device: Sony Reader PRS-500, Kindle Fire, Aldiko on LG Optimus Elite
|
Quote:
No, all tags are lowercase. I did wind up splitting the files so that each subchapter was a different file to get the stupid thing to pass. |
|
Advert | |
|
01-16-2014, 07:09 AM | #6 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
I use subchapters, maybe more like subheadings, all the time in my Sony. Never caused me a spec of trouble. But I don't do books for sale, so I am spared the headaches that you are having.
If you want to see some even worse headaches are with selling, check out Hitch's posts. Glad you go it through the mill. I hope you have the sales to justify the headaches! |
03-30-2018, 05:20 PM | #7 |
Junior Member
Posts: 6
Karma: 19112
Join Date: Jul 2015
Location: Australia
Device: iPad, iPad mini, Samsung tablet, Galaxy S5 phone
|
I know this is an older post, and I'm adding a solution that may assist someone else.
I had the error Bronte notes and discovered that I had a <h1> </h1> entry in a page. It was showing a blank entry in the Table of Contents and Lulu then found error with all following TOC entries. I changed the tag to <p> </p> and the file then passed Lulu's checks. |
03-31-2018, 09:20 AM | #8 |
A Hairy Wizard
Posts: 3,069
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Thanks for the input Stepheno. I would like to add on to your piece of advice, though. Please do NOT use <p> </p> as a way to create space between lines/paragraphs/tables/divs/blockquotes/etc. Some devices completely ignore them (defeating your purpose in putting them there), while others will display them but make the extra space look funky.
It is a much better idea to simply include the extra space in your css styling. For ecxample: Code:
p.SpaceBefore {margin-top:2em} div, blockquote, table {margin-top:2em; margin-bottom:2em} <p>Normal paragraph.</p> <p>Normal paragraph.</p> <p>Normal paragraph.</p> <p>Normal paragraph.</p> <p class="SpaceBefore">Paragraph with extra space before it.</p> <p>Normal paragraph.</p> <p>Normal paragraph.</p> <p>Normal paragraph.</p> <blockquote> <p>Quote paragraph.</p> <p>Quote paragraph.</p> <p>Quote paragraph.</p> </blockquote> <p>Normal paragraph.</p> <p>Normal paragraph.</p> <p>Normal paragraph.</p> <div> <p>Paragraph in div.</p> <p>Paragraph in div.</p> <p>Paragraph in div.</p> </div> |
Tags |
lulu.com, toc.ncx, validation errors |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lulu errors hope this is the right forum | ralphiedee | Workshop | 0 | 08-30-2012 09:35 AM |
Lulu validation error | ralphiedee | ePub | 0 | 08-01-2012 10:01 AM |
Errors in LuLu and some questions | ralphiedee | ePub | 4 | 07-29-2012 12:12 PM |
Help with validation errors | AThirstyMind | ePub | 2 | 05-13-2011 06:08 PM |
Validation Errors | luthar28 | ePub | 13 | 08-10-2010 12:24 PM |