05-28-2022, 04:50 AM | #1 |
Enthusiast
Posts: 27
Karma: 76
Join Date: May 2014
Device: Kindle 3
|
Small capitals in Economist recipe
I don't know if something has changed on the Economist website, but for the last couple of weeks abbreviations like "DNA" and "FBI" are coming out as "dna" and "fbi" for me.
e.g. this is the case for: https://www.economist.com/the-world-...05/26/politics Looking at the page source, it seems they're using: <small>dna</small> and in the output file, it's rendering as: <small class="calibre14">dna</small> |
05-28-2022, 06:10 AM | #2 |
creator of calibre
Posts: 43,960
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
They are nitwits: https://github.com/kovidgoyal/calibr...1affdaf0992589
|
05-28-2022, 11:09 AM | #3 |
Enthusiast
Posts: 27
Karma: 76
Join Date: May 2014
Device: Kindle 3
|
Brilliant, thank you!
|
06-04-2022, 01:36 AM | #4 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Dec 2010
Location: Melbourne, Australia
Device: Kobo Clara HD
|
Forgive me if I'm missing something obvious - I'm not very knowledgeable in HTML, but I'm still getting small lower case text after the recipe workaround.
I can fix it by editing the output EPUB document style sheet and adding text-transform: uppercase; to the relevant calibreXX class (which seems to change each week). How can I set it up so I don't have to manually edit each week? Many thanks John |
06-04-2022, 02:03 AM | #5 | |
Enthusiast
Posts: 31
Karma: 10
Join Date: Dec 2010
Location: Melbourne, Australia
Device: Kobo Clara HD
|
Quote:
..sigh.. |
|
06-04-2022, 02:15 AM | #6 |
creator of calibre
Posts: 43,960
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I dont see how that's possible. Make sure you are using the builtin recipe and not a custom one.
|
06-04-2022, 03:16 AM | #7 | |
Enthusiast
Posts: 31
Karma: 10
Join Date: Dec 2010
Location: Melbourne, Australia
Device: Kobo Clara HD
|
Quote:
If you want sample files or parts of files, please let me know what you need. |
|
06-04-2022, 03:32 AM | #8 |
creator of calibre
Posts: 43,960
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No I need a url to an article that doesnt work.
|
06-04-2022, 03:40 AM | #9 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Dec 2010
Location: Melbourne, Australia
Device: Kobo Clara HD
|
https://www.economist.com/letters/20...-to-the-editor downloads with letter writer's name in small lower case.
Here is the part of the EPUB produced by the download: <p class="calibre13"><small class="calibre19">darren hughes</small><br class="calibre8"/>Chief executive<br class="calibre8"/>Electoral Reform Society<br class="calibre8"/><i class="calibre18">London</i></p> |
06-04-2022, 03:45 AM | #10 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Dec 2010
Location: Melbourne, Australia
Device: Kobo Clara HD
|
And this is how it displays in Calibre reader (without me editing the style sheet).
|
06-04-2022, 05:44 AM | #11 |
creator of calibre
Posts: 43,960
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
06-04-2022, 07:27 AM | #12 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Dec 2010
Location: Melbourne, Australia
Device: Kobo Clara HD
|
Many thanks Kovid. Now working fine on both Calibre reader and the Clara HD. :-)
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Economist Recipe broken? For me at least... | jwhittin | Recipes | 12 | 07-06-2016 03:03 AM |
The Economist Recipe | NSILMike | Recipes | 6 | 05-20-2016 07:40 AM |
Economist Recipe | Dhruv | Recipes | 5 | 10-10-2014 08:15 PM |
Economist recipe... | RobbieW | Recipes | 2 | 10-03-2013 05:01 PM |
Economist recipe | jdomingos76 | Recipes | 1 | 03-08-2011 08:33 AM |