05-07-2011, 10:54 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: kindle 3
|
how to set chpaters detected different?
We know that we can use calibre to detect chapters by regex,and it works fine.And I wanna set chapters different from other normal paragraph.for example,make their font size bigger and align.
I found that calibre could use CSS to control display of text.I think I can use CSS like { h1,h2:font-size:18pt; text-align:middle; } to get my goal.My problem is that how can I set Chapters detected as h1,h2?I've found any options of calibre conversation.But it seems that there is no way to set chapters as h1,h2.Could anyone help me?Thank you. |
05-08-2011, 12:04 AM | #2 | |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
An alternative way would be to open the ePub in Sigil and have it generate your TOC from the h1, h2 tags. Good Luck. |
|
Advert | |
|
05-08-2011, 04:57 AM | #3 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
I'm assuming this discussion refers only to book which aren't already using h1/h2/h3 tags.
Heuristics will set common chapter headings as h2 for the title and h3 for the subtitle if they aren't already in an hx tag. There isn't any other way to 'force' existing chapter headings to h2 other than creative use of Search and Replace during conversion. |
05-08-2011, 12:34 PM | #4 |
Well trained by Cats
Posts: 29,983
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Learn to use Sigil and Regex (see the tutorial by Manichean) S&R to replace standard <p> type chapter headings.
The neat thing is it is What You See (highlighted) Is What You are about to Get (or . No! No! Cancel ) |
05-09-2011, 01:21 PM | #5 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Atrix not detected | LittleJay | Devices | 1 | 03-03-2011 05:29 PM |
kindle dx not detected | fms95032 | Calibre | 4 | 07-11-2010 07:59 PM |
Getting Chapters detected Properly | gandor62 | Calibre | 11 | 06-02-2010 09:31 PM |
700 not being detected | wiredout46 | Sony Reader | 6 | 05-13-2009 10:57 AM |
SM Card not detected? | SandDanz | Fictionwise eBookwise | 4 | 06-19-2008 10:46 PM |