Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-01-2023, 01:10 PM   #1
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
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"/>
2. In the <spine> section:

Code:
<spine page-map="map" toc="ncx">
But epubcheck gives me an error for that, the error RSC-005, the attribute page-map="map" is not allowed inside the <spine> tag and I don't know why. Someone here can tell me what I'm doing wrong?

Thanks in advance.
RbnJrg is offline   Reply With Quote
Old 02-01-2023, 01:30 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
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.
jhowell is online now   Reply With Quote
Advert
Old 02-01-2023, 02:23 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
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/
KevinH is offline   Reply With Quote
Old 02-01-2023, 03:15 PM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
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.
Doitsu is offline   Reply With Quote
Old 02-01-2023, 04:56 PM   #5
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
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!
RbnJrg is offline   Reply With Quote
Advert
Reply


Forum Jump

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


All times are GMT -4. The time now is 07:48 AM.


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