03-21-2012, 08:35 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2012
Device: none
|
Keeping small caps when converting from sigil to calibre
I wanted to make the titles of my chapters all capitals but with each letter after the first one slightly smaller. To achieve this in sigil I manually added <small> around the letters I wanted to make smaller.
(from this website: http://cameronchapman.com/ebook-form...e-easy-way.htm) It works out fine in sigil and when I check it on adobe, but when I covert it in calibre the tags disappear. Does anyone know why? |
03-21-2012, 09:49 PM | #2 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
better to use styles in the stylesheet <h2>C<span class="step1">hapter</span><h/2> .step1 {font-size: 95%} Or were you trying for a progressively smaller <h2>C<span class="step1">h<span class="step1">a<span class="step1">p<span class="step1">t<span class="step1">e<span class="step1">r</span></span></span></span></span></span><h/2> |
|
03-21-2012, 10:25 PM | #3 |
Bookmaker & Cat Slave
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Ducky:
In either event, those chapter heads will NOT WORK in Nook. Trust me, we've tried; but you cannot do a viable, non-breaking (non-hyphenated, IOW) smallcaps header with a slightly larger first letter for Nook. Not a'tall. HTH, Hitch |
03-21-2012, 10:44 PM | #4 |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
All those reader that "Don't", make me glad for my PEz (ADE), even if it misses with the weak 'bookshelf" and no Annotations, Dictionary lookup.
|
03-22-2012, 02:23 PM | #5 |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
|
03-22-2012, 02:39 PM | #6 |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
and valid in EPUB2, EPUB3, HTML4.01, & HTML5. <small> is not going away anytime soon.
It may be that it is not supported, at least by major reader software, inside of heading tags. The spec's, specifically EPUB3, list it as being a text level tag. |
03-22-2012, 02:48 PM | #7 | |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
... and I use it within headings often ... Last edited by mmat1; 03-23-2012 at 05:27 PM. |
|
03-22-2012, 05:29 PM | #8 | |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
Code:
.small { font-size: 75%; } When converted to MOBI using calibre 0.8.3 neither method worked, although the span method worked, with a much larger size change, when the CSS was: Code:
.small { font-size: x-small; } |
|
03-22-2012, 05:59 PM | #9 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
small does not mean smaller. It is a font size so if small is already the size this setting to small would not change anything. If you want smaller then say smaller.
Dale |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Small-Caps displays in headings but nowhere else... | ElMiko | Sigil | 13 | 02-14-2012 02:40 AM |
small caps problem in Sigil | goroke | Sigil | 16 | 08-05-2011 12:14 PM |
RTF "small caps" conversion? | sehlat | Calibre | 3 | 06-23-2011 07:24 PM |
small caps | yuxi_kelly | ePub | 20 | 06-05-2011 12:04 AM |
DR1000 FW2.0 - RC2 - font-variant: small-caps | ThR | iRex | 0 | 06-29-2010 05:31 AM |