![]() |
#1 |
Enthusiast
![]() Posts: 27
Karma: 52
Join Date: Jun 2009
Device: Sony PRS-650
|
Page Map Problems
I'm new to using Sigil (v0.5.3), which I'm using to correct typos and create nested TOCs in some commercial ePubs that I've purchased and DRM-stripped. But the resulting ePubs will not open in ADE afterwards.
Validating the ePub in Sigil indicates that the page map references in content.opf need to be changed, along with a host of error messages for every XML in the ePub (missing required attribute 'content' and attribute 'value' is not declared for element meta). I've also noticed that the _page_map_.xml file has had all its data removed, which originally looked like this: Code:
<?xml version="1.0" encoding="UTF-8" ?> <page-map xmlns="http://www.idpf.org/2007/opf"> <page name="1" href="titlepage.xml" /> ...etc... What am I doing wrong that is causing Sigil to overwrite the page map XML and cause these errors? And what can I do to work in Sigil and properly retain the page map file when I'm done? ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
I do not believe page-map is supported in Sigil. It is a non-standard Adobe only extension. I think you will need to repair the file after editing in Sigil, using the original as a guide.
Dale |
![]() |
![]() |
![]() |
#3 |
Enthusiast
![]() Posts: 27
Karma: 52
Join Date: Jun 2009
Device: Sony PRS-650
|
Thanks for the info, DaleDe!
If true, that's a bit of a bummer, but good to know. To repair the file afterwards, would I rename the ePub to a zip file, insert the original page-map xml, and then rename it back to an ePub? I tested that method and it appeared to work (it opened again in ADE), but I don't know if it has any side effects that I should be aware of or if there is a better/easier way to repair it. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale Dale |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub to mobi error -- no page map? | vootie | Kindle Formats | 3 | 03-03-2012 11:21 AM |
epubcheck: attribute "page-map" not allowed here error message | Doitsu | ePub | 5 | 10-27-2011 08:51 PM |
Info(prcgen): No page map found in the book | Xabache | Kindle Formats | 2 | 07-08-2011 09:25 PM |
ePub Page Numbering Using Page-map | Dark123 | Calibre | 2 | 06-16-2010 07:15 AM |
paginierung -> page-map | setzer | Erste Hilfe | 18 | 12-11-2009 03:25 AM |