Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-03-2011, 05:40 PM   #1
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,886
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 chapter numbers are graphical

is it possible for sigil to generate a toc where the chapter numbers are graphical images instead of ascii!

Last edited by alansplace; 07-03-2011 at 09:21 PM. Reason: fixing a typo
alansplace is offline   Reply With Quote
Old 07-03-2011, 07:53 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,952
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by alansplace View Post
isn it possible for sigil to generate a toc where the chapter numbers are graphical images instead of ascii!
Code:
 <p><img alt="Chapter" class="ch" src="../Images/the%20alton%20gift-46.jpg" /></p>

  <h3 id="heading_id_2" title="Chapter 42">&nbsp;</h3>
theducks is online now   Reply With Quote
Advert
Old 07-03-2011, 08:11 PM   #3
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by alansplace View Post
isn it possible for sigil to generate a toc where the chapter numbers are graphical images instead of ascii!
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".

Last edited by crutledge; 07-03-2011 at 08:14 PM.
crutledge is offline   Reply With Quote
Old 07-03-2011, 09:45 PM   #4
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,886
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 theducks View Post
Code:
 <p><img alt="Chapter" class="ch" src="../Images/the%20alton%20gift-46.jpg" /></p>

  <h3 id="heading_id_2" title="Chapter 42">&nbsp;</h3>
thanks, works great!
alansplace is offline   Reply With Quote
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,886
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
Advert
Old 07-04-2011, 02:22 AM   #6
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
and that would transfer OK to, say, a sony reader i.e. I'd see chapter 1 etc in the go to TOC options ?
cybmole is offline   Reply With Quote
Old 07-04-2011, 10:10 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,952
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by cybmole View Post
and that would transfer OK to, say, a sony reader i.e. I'd see chapter 1 etc in the go to TOC options ?
Work fine on my ADE PEz.
What is tricky to get work (and look good/the same on many readers)
is a Background image with a Text (chapter number) overlay. ( when it works)

I have used: Image Text Image chapter headers with some success (they do not render exactly the same on different readers.
theducks is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a hack for displaying page numbers rather than location numbers? nesler Kindle Developer's Corner 16 02-15-2011 12:00 AM
fixing up chapter numbers cybmole Sigil 4 01-12-2011 02:49 AM
Which device has best support for tiffs and graphical pdfs amys Which one should I buy? 9 01-08-2011 03:28 PM
a graphical display improvement roger64 Calibre 4 03-10-2009 01:30 PM
Graphical Guide to Using Book Designer Andybaby Workshop 35 01-18-2009 04:29 AM


All times are GMT -4. The time now is 03:21 PM.


MobileRead.com is a privately owned, operated and funded community.