View Single Post
Old 07-03-2011, 09:46 PM   #5
alansplace
Grand Sorcerer
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
Cool thank you

Quote:
Originally Posted by crutledge View Post
From Sigil FAQ Quote:
How can I use an image for a Chapter heading, and have it show up correctly in the Table of Contents?

You can put anything between the heading tags to make Sigil link to it in the NCX (the epub file responsible for the TOC), and set the "title" attribute on the <h#> element to get the text.
So it would look like this:
<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".
good explanation.
alansplace is offline   Reply With Quote