|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
|
TOC and the book title
|
|
|
|
|
|
#2 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 206
Karma: 64000
Join Date: May 2006
Location: Oslo, Norway
Device: Sony PRS-650
|
Quote:
I would however advise you to avoid header tags for things you don't want to appear in the TOC. Headers have structural meanings which go beyond "making the font larger", for instance I believe they are also used by screen readers to partition content. In the books I produce I usually want the title-page to appear in the TOC, so I leave the book title as a differently styled h1 tag, and make classes for the other title page paragraphs which I then style. Last edited by Man Eating Duck; 09-25-2012 at 07:07 AM. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,133
Karma: 2460081
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
You should not use heading tags for things that are not headings.
I use something like: Code:
<p class="title">Book Title</p> <p class="subtitle">Book Subtitle</p> <p class="author">Author</p> <p class="date">Date</p> |
|
|
|
|
|
#4 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 206
Karma: 64000
Join Date: May 2006
Location: Oslo, Norway
Device: Sony PRS-650
|
Whatever Jellby says is pretty much the definitive answer
![]() Styling is very much a matter of preference, but here are the definitions I use, renamed according to his example (several definitions, like font-face, are inherited in addition to these): Code:
p.title {
font-size : 1.7em;
text-align : center;
margin : 3.9em 0 0 0;
}
p.subtitle {
font-size : 1.33em;
text-align : center;
margin : 1em 0 0 0;
}
p.author {
font-size : 1.1em;
text-align : center;
margin : 2em 0 0 0;
}
p.date {
font-size : 1em;
text-align : center;
margin : 3em 0 0 0;
}
Last edited by Man Eating Duck; 09-25-2012 at 09:14 AM. |
|
|
|
|
|
#5 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,684
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
When generating the TOC, there are (un)tick boxes to flag H tags to not be used for the TOC by Sigil IMHO If you just want Size, Weight: you are best using the CSS to control these and NOT H tags (so old school HTML2 )
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#6 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
|
That's great, thanks. (Yes, I have been unchecking the multiple TOC items for the title page, but it does make me nervous, and separately styling them will cheer me up no end.)
|
|
|
|
|
|
#7 | |
|
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,261
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
All it does it add a sigilNotInTOC class attribute to your heading (so it can remember you excluded it when you re-run the TOC generation), and then it excludes it from the items that will be put into your TOC. If you uncheck the Show TOC Items Only option at the bottom of the dialog you can see the entries are still there, just without a checkmark.
__________________
See the Sigil User Guide and its tutorials for details about Sigil. |
|
|
|
|
|
|
#8 | |
|
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6245217
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
|
Quote:
)Hitch
__________________
I produce eBooks. www.booknook.biz Follow us on Twitter "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." - Red Adair |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DR1000 How to show book title instead of name | friflaj | iRex | 2 | 09-16-2011 01:08 PM |
| Generated TOC links back to TOC page in the book | Caleb666 | Sigil | 7 | 08-17-2011 11:58 AM |
| Different text in TOC & actual chapter title | Algiedi | Conversion | 25 | 07-24-2011 01:12 AM |
| Title/Author showing up in TOC, kindle bookmarks issue | mmorgan | Calibre | 1 | 05-17-2011 03:23 PM |
| TOC Title Character Limit | edmac | Calibre | 1 | 03-03-2011 11:23 AM |