|
|
#1 |
|
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2012
Device: Nook
|
frustrating error messages
The messages are: OEBPS/Images/CHOICES-cover.jpg This resource is present in the OPF <manifest>, but it's not reachable (it's unused). OEBPS/Text/Section0001.xhtml ID value 'heading_id_12' is not unique Cover.jpg is the cover of the book and it show ok when you look at the epub so we're not sure why it says its not reachable. We've also looked at the document in code view and can see only one mention of 'heading_id_12' so no idea why its saying its not unique. Can anyone help? |
|
|
|
|
|
#2 |
|
♫
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 326
Karma: 504884
Join Date: Aug 2010
Location: Germany
Device: Bookeen Frontlight / Kindle 3 / Kobo Touch / Ipod touch / Nook Color
|
The cover image is not linked from somewhere, that's why it is unused.
For the heading, just remove all headings (search for ' id="heading_id_[0-9]+"' without the ' and replace it with nothing), then regenerate the TOC. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2012
Device: Nook
|
Hi,
Thanks for your reply. Re the headings issue: are you saying that where, for example it says <h1 id="heading_id_25"><span class="sgc-3">Chapter 1</span></h1> I should remove all the data around Chapter 1 so that I'm left with <p>Chapter 1</p> I've just tried that and it couldn't generate a TOC. Obvioulsy I'm getting the wrong end of the stick here. Can you clarify please? As an example, where it says <h2 id="heading_id_26">Chapter 2</h2> what do I delete and what do I leave? |
|
|
|
|
|
#4 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 557
Karma: 23783
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300
|
As WS64 said, search for: (notice leading space)
Code:
id="heading_id_[0-9]+" So <h1 id="heading_id_25"><span class="sgc-3">Chapter 1</span></h1> will become <h1><span class="sgc-3">Chapter 1</span></h1> Still leaving the <h#> tags, which will be picked up in the regeneration |
|
|
|
|
|
#5 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 848775
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Is Cover.jpg the cover or is CHOICES-cover.jpg the cover? Where does it show? In Sigil? In another reader? EPUB supports specifying a cover that is used by readers but is never used in the actual book.
|
|
|
|
|
|
#6 |
|
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2012
Device: Nook
|
Thanks. That makes sense. As for the first part of my posting, any ideas why we're getting an error that says:
OEBPS/Images/CHOICES-cover.jpg This resource is present in the OPF <manifest>, but it's not reachable (it's unused). cover.jpg is the cover of the book and, when the document is transferrred to a reading device, the book appears with the cover. Any idea how we can fix this? |
|
|
|
|
|
#7 | |
|
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,266
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
__________________
See the Sigil User Guide and its tutorials for details about Sigil. |
|
|
|
|
|
|
#8 |
|
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2012
Device: Nook
|
My apologies, the file name for our cover image is CHOICES-cover.jpg. I've been told we have to declare the file in OPF so that we can get rid of the message. Is this straight forward to do?
|
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,165
Karma: 1000593
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
You have the image in you OPF, but you don't use it in any xhtml files. Therefore the message 'is not used'.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Also see thread here on Mobileread. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error Messages in Calibre | didiyy | Devices | 17 | 01-11-2013 03:31 PM |
| error messages on new PC | huskerruth | Devices | 1 | 02-16-2011 11:56 AM |
| Help with resolving error messages? | zebedee | Introduce Yourself | 10 | 01-02-2011 05:34 PM |
| Error Messages in Calibre | didiyy | Introduce Yourself | 4 | 09-10-2010 10:45 AM |
| Contradictory error messages in ConvertLit | Fledchen | Workshop | 6 | 02-21-2009 12:38 PM |