![]() |
#16 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 100000
Join Date: Jun 2018
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#17 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,702
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#18 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,702
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The following quote if from The Science of Discworld. Quote:
Last edited by JSWolf; 06-04-2020 at 04:46 AM. |
||
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,418
Karma: 99236514
Join Date: Apr 2011
Device: pb360
|
|
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,663
Karma: 85000003
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
Advert | |
|
![]() |
#22 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,418
Karma: 99236514
Join Date: Apr 2011
Device: pb360
|
|
![]() |
![]() |
![]() |
#23 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,702
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
For Death, the simple way to fix his speech from smallcaps to capitals is to remove the spans that creates the smallcaps. Then you have the correct capitals and it looks good.
I use Diaps Editing Toolbag plugin for Calibre to remove these spans in Calibre's editor. I do check for other smallcaps first and then edit the span so I don't lose those. And the all that's left is Death and fixing things from there is very easy. |
![]() |
![]() |
![]() |
#24 |
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Paperwhite seems to be supporting creditable small-caps for some time. However, any attempt to use it is spoiled when a publisher uses hacks to approximate the small-cap effect: like typing in ALL CAPS then inserting <small> or <span class="sc"> across a handful of words or across each separate word. Sort of takes the fun out of the device support for both that font property and the pseudo-elements.
To undo all that hacking without the effort of clearing that hack code, while (supposedly) leaving the hack for non-conforming devices, I use this CSS prophylactic: undo what the <small> or <span> do and then transform the result. Example: h2 ~ p:first-of-type small { /* negate common hack */ text-transform: lowercase; font-size: 1em; } h2 ~ p:first-of-type::first-line { font-variant: small-caps; font-size: 1em; } |
![]() |
![]() |
![]() |
#25 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,473
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Text-transform????? And presumably, if you think that "typing in all caps" isn't needed, to cover all bases, you must work with only a single type of device. On a Paperwhite? Hitch |
|
![]() |
![]() |
![]() |
#26 |
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Hello Hitch. Reviewed your site last weekend. You have wonderful stuff there.
Yes, I have the luxury of coding for an audience of one, for two devices. I used to bulldoze all that hacking away but eventually added the above code to my everyday stylesheet to eliminate its effect while avoiding the janitorial work. The cascade is our friend... Last edited by Brett Merkey; 06-08-2020 at 10:10 AM. |
![]() |
![]() |
![]() |
#27 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,473
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
LOVE your tagline here, I say that about myself daily ("still on this side of the dirt.") Thanks for the compliment, but obviously, a lot of my stuff is getting old. (Why not? So's its writer!) The biz is busy and I struggle to find time to add newer, fresher content. Being able to code for an audience of one or two...(sigh), such luxury! :-) Hitch |
|
![]() |
![]() |
![]() |
#28 | ||
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
Quote:
I edit in ePub, then let Calibre do what it does (sausage making) to convert it into Azw3, then I delete the Azw3 after side-loading, retaining the nice, clean ePub format in the library. Last edited by Brett Merkey; 06-08-2020 at 11:44 AM. |
||
![]() |
![]() |
![]() |
#29 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,702
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Itoo find a lot of eBooks to be not well formatted and take it upon myself to fix this. Sometimes it's very easy and sometimes not so easy. But it can be done. I just wish it was done before these eBooks are released. I am surprised the authors don't complain about how bad their eBooks look.
|
![]() |
![]() |
![]() |
#30 | |
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 194
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reestablishing smallcaps | roger64 | Workshop | 8 | 05-27-2017 01:49 PM |
smallcaps how to? | JSWolf | ePub | 20 | 06-02-2016 02:40 PM |
How widely supported is EPUB3? | SavinaRoja | ePub | 6 | 12-02-2011 11:08 AM |
Is the Nook Touch in stock and widely available? | rahulm | Barnes & Noble NOOK | 2 | 06-10-2011 10:17 PM |
Smallcaps in Kindle | cscotts | Kindle Formats | 5 | 01-26-2011 09:52 AM |