|
|
#1 |
|
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
Image maps as Chapter Headings?
I can set the image to h3, but the TOC (of course) is blank. If I edit the TOC, it replaces the image. Is there anyway to have both, but not have the text show up? I tried using alt text in the image, but that didn't work. |
|
|
|
|
|
#2 | |
|
Bookaholic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,389
Karma: 18766781
Join Date: Oct 2007
Location: Minnesota
Device: AuraHD, Nook HD+, Kindle 2,3,T , Opus, TF101, Nexus7, iPT, iPhone5
|
What I did was go ahead and create the book in Sigil with the 'blank' TOC entries and then unzip the epub and manually edit the toc.ncx to add the labels.
Example from a book I just worked on (the red text was what I added later the rest came out of the epub from Sigil)... Quote:
__________________
~Brian "The test of any good fiction is that you should care something for the characters; the good to succeed, the bad to fail. The trouble with most fiction is that you want them all to land in hell together, as quickly as possible." — Mark Twain Last edited by AnemicOak; 10-17-2009 at 05:09 PM. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
You can put anything between the heading tags to make Sigil link to it in the NCX, and set the "title" attribute on the <h#> element to get the text.
So, "<h1 title='Chapter 1'><img ... ></h1>". The TOC would link to that heading element (and by extension, the images inside it) and the TOC entry would say "Chapter 1". |
|
|
|
|
|
#5 | |
|
Bookaholic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,389
Karma: 18766781
Join Date: Oct 2007
Location: Minnesota
Device: AuraHD, Nook HD+, Kindle 2,3,T , Opus, TF101, Nexus7, iPT, iPhone5
|
Quote:
__________________
~Brian "The test of any good fiction is that you should care something for the characters; the good to succeed, the bad to fail. The trouble with most fiction is that you want them all to land in hell together, as quickly as possible." — Mark Twain |
|
|
|
|
|
|
#6 | |
|
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
I really need to create a FAQ wiki page... People need to be able to see how some commonly encountered problems are solved.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Chapter Head Text Over Image | theducks | ePub | 10 | 09-03-2010 03:32 PM |
| Repeated Chapter Headings in Kobo Table of Contents | capsolo | Sigil | 5 | 06-20-2010 03:09 AM |
| Image Maps in ePub | NewBabyProd | ePub | 10 | 06-08-2010 11:28 AM |
| Detect chapter headings with capitalized words | fiendmish | Calibre | 6 | 05-31-2010 10:45 AM |
| Managing HTML Link Behavior, From TOC to Chapter Headings | FlooseMan Dave | Calibre | 1 | 03-31-2010 11:55 PM |