09-17-2010, 09:25 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: kobo
|
How can I change body text from bold to normal?
I have a stack of books (about 50) that I converted from LRF to epub using calibre, only trouble is all are in bold - title, headings, body text, everything.
If there is a simple fix, can someone please explain it (very simply, I am a rank beginner with all this), or do I have to remake all the files? |
09-17-2010, 09:32 PM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
After you convert to epub you need to edit it by hand, which is easily done. Then you need to use either Sigil or a text editor to fix the file. If you use a text editor you need need to unzip the epub file into it's various pieces with any unzip program.
Calibre generally moves all the formatting to CSS when it does the conversion, so it should be trivial to find the setting in there and fix it. If you unzipped it then you need to recompress all the files together afterward and give it the exact same name/location as the original epub Calibre created. |
Advert | |
|
09-17-2010, 09:34 PM | #3 | |
Well trained by Cats
Posts: 30,370
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Something sounds wrong. Were they bold when LRF? Sigil may allow simple fixes if it can be fixed with a Stylesheet change. Some LRF folk may step forward with conversion setting suggestions |
|
09-17-2010, 09:46 PM | #4 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: kobo
|
Quote:
I have tried editing by hand and managed one book in an hour or so - but there are more than 40 in total |
|
09-17-2010, 09:49 PM | #5 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: kobo
|
Quote:
@namespace h "http://www.w3.org/1999/xhtml"; .body { display: block; font-size: 1em; margin-bottom: 0; margin-left: 10pt; margin-right: 5pt; margin-top: 0; page-break-before: always; text-align: justify } .bs { border-color: rgb(0, 0, 0); border-style: solid; border-width: 0; color: rgb(0, 0, 0); display: block; font-size: 1.29167em; font-weight: bold; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; text-align: center; text-indent: 0 } .bs1 { border-color: rgb(0, 0, 0); border-style: solid; border-width: 0; color: rgb(0, 0, 0); display: block; font-size: 1em; font-weight: bold; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; text-align: center; text-indent: 0 } .bs2 { border-color: rgb(0, 0, 0); border-style: solid; border-width: 0; color: rgb(0, 0, 0); display: block; font-size: 0.83333em; font-weight: bold; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; text-align: justify; text-indent: 8pt } .bs3 { border-color: rgb(0, 0, 0); border-style: solid; border-width: 0; color: rgb(0, 0, 0); display: block; font-size: 0.625em; font-weight: bold; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; text-align: center; text-indent: 0 } .calibre { display: block; margin-bottom: 1em; margin-left: 0; margin-right: 0; margin-top: 1em } .calibre1 { font-style: italic } .ts { font-weight: bold } .ts1 { font-size: 1em } Do you know what changes I would need to make? |
|
Advert | |
|
09-17-2010, 09:53 PM | #6 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Delete all of the font-weight: bold; entries.
|
09-17-2010, 10:17 PM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: kobo
|
Have just tried that - Deleted all font-weight: bold; entries, rezipped everything and tried to open it in calibre, but got an error message, that it was not a zip file.
That's true - I use winrar, not winzip. But I believe there is a right and wrong way to pack the files, and I'm not sure how to do that. Maybe if I packed them the right way I would get a better outcome? |
09-17-2010, 10:59 PM | #8 | |
Well trained by Cats
Posts: 30,370
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
09-17-2010, 11:51 PM | #9 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Sigil might be easiest for you, but the main problem is you used rar and not zip. Use zip and you should be ok.
Also make sure to compress the group of files and not the outer directory that the unzipping programs often create. |
09-18-2010, 04:09 AM | #10 | |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
09-18-2010, 07:59 PM | #11 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Lots of times I just convert to rtf, open file, select all, hit bold two or three times, save, convert rtf to epub and everything is normal.
I don't mind bold, but all italics or all centered text, one wonders what they were thinking. Generally you don't lose anything valuable format wise as it is not great to start out with. Helen PS if you have 50 files do a mass convert and open 10 or so at a time. Will take about a minute a file when you have done a couple. Last edited by speakingtohe; 09-18-2010 at 08:02 PM. |
09-18-2010, 09:21 PM | #12 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: kobo
|
Thanks everyone for your advice and helpful suggestions.
For, after a few false starts and I bit of trial and error, I eventually worked out what needed to be done, and how to do it. All the best, Michael |
07-28-2022, 12:48 PM | #13 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
|
Topic is quite old... However:
Instead of editing converted epub, you can filter css rules during conversion. In order to get rid of bold format: - run command line conversion with parameter: --filter-css font-weight - or in user interface use conversion option: Look & feel -> Styling -> Filter style information -> Other CSS properites: font-weight Filter will remove bold emphasize from paragraph format (but not bold format applied inline - which probably most of time will be desirable behaviour). |
07-28-2022, 04:42 PM | #14 |
Wizard
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Holy thread from the dead, Batman!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Can I make all text BOLD in epub format? | WJMuldowney | Calibre | 7 | 07-04-2012 09:51 AM |
How to Change the Text Size | Jill4223 | Amazon Kindle | 5 | 01-03-2010 08:25 PM |
PDF Won't Change text size | TGNY | 1 | 10-24-2009 01:20 PM | |
Change PDF body font size | ufasoli | 11 | 10-18-2009 11:05 AM |