02-01-2023, 01:10 PM | #1 |
Wizard
Posts: 1,552
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Error with page-map.xml
I have an epub2 with a page-map.xml file. So, in the respective .opf file, I also have the following entries:
1. In the <manifiest> section: Code:
<item id="map" href="Misc/page-map.xml" media-type="application/oebps-page-map+xml"/> Code:
<spine page-map="map" toc="ncx"> Thanks in advance. |
02-01-2023, 01:30 PM | #2 |
Grand Sorcerer
Posts: 6,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
page-map is a proprietary feature created by Adobe. It is not part of the EPUB specification.
|
Advert | |
|
02-01-2023, 02:23 PM | #3 |
Sigil Developer
Posts: 7,657
Karma: 5433388
Join Date: Nov 2009
Device: many
|
You can add page map information to the NCX for epub2 in a spec compliant way but many readers will ignore it.
Here is a link about how to do that: http://blog.epubbooks.com/346/markin...-the-epub-ncx/ |
02-01-2023, 03:15 PM | #4 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
@RbnJrg
Since it's impossible to create an epub file with an Adobe page-map.xml file that'll pass EPUBCheck, you could use my PageList plugin to add page numbers to the NCX file. Unfortunately, AFAIK, there's not a single EPUB2 reader app that'll actually display NCX page numbers. However, if you convert your epub2 book to an epub3 book with Kevin's ePub3-itizer plugin, it'll will convert the NCX pagelist to a NAV pagelist. |
02-01-2023, 04:56 PM | #5 |
Wizard
Posts: 1,552
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Many thanks to all of you! And I will try your sugestion Doitsu, thanks!
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epubcheck: attribute "page-map" not allowed here error message | Bala_85 | ePub | 2 | 07-14-2013 03:13 AM |
page-map.xml | curiousgeorge | ePub | 6 | 08-16-2012 11:52 AM |
epub to mobi error -- no page map? | vootie | Kindle Formats | 3 | 03-03-2012 11:21 AM |
Auto-correcting "Page-map.xml" | thomasbelrod | Sigil | 10 | 11-01-2011 08:33 AM |
epubcheck: attribute "page-map" not allowed here error message | Doitsu | ePub | 5 | 10-27-2011 08:51 PM |