Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 04-04-2012, 04:21 PM   #1
djulian
Addict
djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.djulian ought to be getting tired of karma fortunes by now.
 
djulian's Avatar
 
Posts: 390
Karma: 1718154
Join Date: Nov 2010
Location: USA
Device: Kindle Paperwhite
Small Caps

So, in the CSS of an HTML, I can add the following:
Quote:
.smcap {font-variant: small-caps;}
And then get small caps if I use:
Quote:
<p><span class="smcap">text</span></p>
Has anyone had any luck with converting this to a MOBI file?
djulian is offline   Reply With Quote
Old 04-05-2012, 04:52 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,197
Karma: 4800739
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
With Calibre, I believe it works.

The thing is the mobi format does not support smallcaps, so the converter program must transform the above into something like:

Code:
<p><small>TEXT</small></p>
and it gets trickier with mixed uppercase, lowercase, numbers and punctuation.
Jellby is offline   Reply With Quote
Old 04-05-2012, 08:48 AM   #3
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 1,997
Karma: 4633978
Join Date: Dec 2010
Device: Kindle PW2
Unfortunately, font-variant: small-caps isn't even supported by many ePub readers, but Amazon added font-variant: small-caps support in KF8.

To ensure that older Kindles will display small caps correctly many ebook producers fake small caps by applying different styles to the first letter and the remaining letters of capitalized text.

Peter Hatch came up with a very elegant solution, which you can find on his web site Extraordinary Commons.
Doitsu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keeping small caps when converting from sigil to calibre sly_skittle Sigil 8 03-22-2012 05:59 PM
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
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


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


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