![]() |
#1 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
No usable cover or chapters on Nook
I converted to epub using the nook profile, however, when reading on the nook, I get no chapters in the chapter menu, and go to cover does not bring me to the cover (does nothing).
This happens with every epub I use. When I manually extracted the epub, it shows a different xhtml file for every chapter. Is there any way to correct this? |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
(if it matters, I'm converting from RTF)
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,196
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Read the section in the user manual on chapter detection, it explains how to create cjhapters in great detail.
|
![]() |
![]() |
![]() |
#4 | |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
Quote:
Nothing I'm reading is explaining it in any way that makes sense. I'm not well versed in xhtml at the moment. Can you possibly explain how I can just get a usable cover and chapters for use on my Nook? (And I'm pretty sure it's finding chapters, at least I think it is, but nothing I do gets them mentioned in the TOC) Last edited by Trel; 01-15-2010 at 10:26 PM. |
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
(also if reading the manual was able to clairify it for me, I wouldn't have asked here. I just can't figure out what I'm supposed to be putting in any of the fields)
I can't even get a valid cover for use with "go to cover" on my Nook. Also, please remember, I'm converting from RTF not anything with tags to detect. Last edited by Trel; 01-15-2010 at 10:41 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
Ok I found a "solution"
Code:
//h:span[re:test(., "Chapter \d{0,4}", "")] However, unless I knew ahead of time (and I found out by accident) that epub files could be unzipped, there's no possible way I could've figured this out. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,196
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#8 | |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
Quote:
At no point does it tell me that I would have to convert once without this information, then unzip the epub (or even that its unzippable) look at the xhtml to see exacctly what the chapter lines are encapsulated in and then convert again but this time, with that information utilized in the TOC generation. I'm not saying the tutorial doesn't help, but it assumes I knew all of the above, which I didn't and found out purely by accident. If I didn't ever open the epub in notepad for kicks, I would have never seen the header indicating it could even BE unzipped. |
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,196
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Umm it states that the conversion pipeline converts to html internally and that you can access this html using the debug option and that you should use this html to figure out what to put in the XPath (as a matter of fact the way you did it is not correct and may not always work).
|
![]() |
![]() |
![]() |
#10 | |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
Quote:
What is getting generated is Code:
<span class="none">Chapter 1</span> |
|
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,196
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can match on text as well as tags, as explained in the user manual
|
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
|
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,196
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Because you're matching on the epub output, not the intermediate html.
|
![]() |
![]() |
![]() |
#14 | |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
Quote:
Code:
<span class="none fs0">Chapter ???? Code:
//h:span[re:test(@class, "none fs0", "i") and re:test(., "Chapter \d{0,4}", "")] Last edited by Trel; 01-18-2010 at 03:31 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic Grichel Nook cover | nyrath | Barnes & Noble NOOK | 11 | 09-03-2010 09:58 PM |
Ended Nook cover | Labrat | Flea Market | 1 | 08-13-2010 01:25 PM |
Classic Noreve cover for nook | mgmueller | Barnes & Noble NOOK | 3 | 05-19-2010 12:46 PM |
Ended Nook Industriell Cover | dieterpops | Flea Market | 6 | 04-15-2010 06:23 AM |
ePub Chapters vs. Stanza Chapters | kjk | Sigil | 4 | 09-14-2009 10:50 AM |