![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2024
Device: none
|
Do not understand error message: epub-pagelist-missing-pagebreak
Hello,
I ran ACE on an epub. I get two instances of a Serious problem that says "epub-pagelist-missing-pagebreak." The message tells me these two errors are in the nav.xhtml file. Ace's website says, "Authored page list does not reference all elements that are page breaks in HTML documents (impact = serious): epub-pagelist-missing-pagebreak." This implies that there are two references in the nav document that are not in the body. But I have checked everything and all the links are good. I do start with page 7 from the printed version, excluding page breaks for the cover, back cover (I put that second because it is important), title page, copyright and toc. I also exclude two pages at the end which are ads. All these excluded pages are in the Landmarks. Any ideas? Thanks, Tom |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
<nav epub:type="page-list" id="pages" hidden="hidden"> <h2>Pages</h2> <ol> <li id="pg_1"> <a href="ch01.xhtml#Page_1">1</a> </li> ... ... Code:
<span epub:type="pagebreak" title="1" id="Page_1">1</span></div> Shameless plugs: If you're a Sigil user you might find my Sigil ACE plugin helpful. My EpubCheck Sigil plugin might also help you narrow down the problem. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2024
Device: none
|
Hi Doitsu,
Yes to both your questions. Here is the line in the book: <span epub:type="pagebreak" role="doc-pagebreak" id="page22" aria-label="Page 22"></span> I am attaching a screenshot of what the TOC looks like in Sigil and what I would like it look like in Kindle (minus the numbering). I am also attaching the nav file. Tom |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
<li><a href="Index.xhtml#_idParaDest-22">Index</a></li>
<!--<li><span>**Figures and Landmarks—</span></li>-->
<li><a href="Body.xhtml#_idTextAnchor132">—Figure 1 Population of France</a></li>
|
|
![]() |
![]() |
![]() |
#5 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,226
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Also note that some platforms only do pagebreaks at the start of a file (especially Amazon conversions from epub to mobi). So really it's better to split files at all pagebreaks and have no such directives.
This can be automatically done. I've been uploading to Amazon for nearly 10 years and had problems with pagebreaks sometimes vanishing. No problem when each source pagebreak starts a new file on the conversion to epub. Epub upload to Amazon KDP works best. Last edited by Quoth; 05-30-2024 at 04:30 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,226
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2024
Device: none
|
The only way I can make this work so that it passes ACE, EpubCheck and Kindle Previewer is if I comment out the entire section of landmarks, numbers 9-18 in the screenshot.
But should I not have Landmarks in the navigator on Kindle? I do have links to landmarks in the internal TOC but I'd also like them in the side navigator. The main error I get when I have the Landmarks is that the links in Nav are out of order with the Spine in the contents.opf. But of course they would be. |
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Try wrapping them in a separate landmarks nav section: Spoiler:
Last edited by Doitsu; 05-30-2024 at 04:59 PM. |
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,655
Karma: 85000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
As Doitsu stated, landmarks should appear in a separate nav element, as was done for your page-list. |
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2024
Device: none
|
As you suggested, Doitsu, I wrapped the landmarks in <nav>. That works, in so far as I get no error messages. However, the landmarks do not appear in the Navigator. Nor in Apple Books, but it looks beautiful in Thorium. Attached is a screen shot of what Kindle shows. The landmarks should appear after the Index.
Tom |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#12 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,991
Karma: 5449552
Join Date: Nov 2009
Device: many
|
They are not required to be hidden in the nav. So you can of course add the nav to spine and make both the table of contents, and the landmarks visible. You could do the same for the page-list if direct page hopping is desired.
|
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2024
Device: none
|
Thanks everyone for your suggestions. They only thing that worked was a simple ordered list with two levels that follows the spine order. I wanted to add a span in the list so that I had a header where the body of the book begins. Doesn't work. The attached is how it looks in the Kindle navigator. Thanks again. Tom
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Don't Understand Error Message: ... but found '"liga" 0' | enuddleyarbl | Editor | 24 | 04-16-2022 03:43 PM |
Error message while editing an epub | Frenchguy | Editor | 6 | 11-01-2017 03:47 PM |
Error message on opening Epub | estiew2002 | Library Management | 2 | 07-19-2013 09:54 AM |
Do not understand error message. | dmcd | Calibre | 10 | 02-07-2012 07:21 PM |
EPUB to MOBI error message | dr_skylaser | Conversion | 1 | 01-19-2012 02:41 PM |