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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-17-2010, 10:25 PM   #1
Michaelus
Junior Member
Michaelus began at the beginning.
 
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?
Michaelus is offline   Reply With Quote
Old 09-17-2010, 10:32 PM   #2
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
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.
ldolse is offline   Reply With Quote
Old 09-17-2010, 10:34 PM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,259
Karma: 6020309
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Michaelus View Post
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?
Welcome

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
theducks is offline   Reply With Quote
Old 09-17-2010, 10:46 PM   #4
Michaelus
Junior Member
Michaelus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: kobo
Quote:
Originally Posted by theducks View Post

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
Yes, they were bold to start with.

I have tried editing by hand and managed one book in an hour or so - but there are more than 40 in total
Michaelus is offline   Reply With Quote
Old 09-17-2010, 10:49 PM   #5
Michaelus
Junior Member
Michaelus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: kobo
Quote:
Originally Posted by ldolse View Post

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.
Here is the CSS from the unzipped conversion.

@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?
Michaelus is offline   Reply With Quote
Old 09-17-2010, 10:53 PM   #6
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,473
Karma: 1053245
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Delete all of the font-weight: bold; entries.
user_none is offline   Reply With Quote
Old 09-17-2010, 11:17 PM   #7
Michaelus
Junior Member
Michaelus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: kobo
Quote:
Originally Posted by user_none View Post
Delete all of the font-weight: bold; entries.
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?
Michaelus is offline   Reply With Quote
Old 09-17-2010, 11:59 PM   #8
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,259
Karma: 6020309
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Michaelus View Post
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?
Use Sigil to edit the CSS, It takes care of the packing
theducks is offline   Reply With Quote
Old 09-18-2010, 12:51 AM   #9
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
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.
ldolse is offline   Reply With Quote
Old 09-18-2010, 05:09 AM   #10
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by Michaelus View Post
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.
Use tweak-epub to open the book, select the CSS file and edit it with something like Notepad++.
DoctorOhh is online now   Reply With Quote
Old 09-18-2010, 08:59 PM   #11
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,639
Karma: 25186576
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 09:02 PM.
speakingtohe is offline   Reply With Quote
Old 09-18-2010, 10:21 PM   #12
Michaelus
Junior Member
Michaelus began at the beginning.
 
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
Michaelus 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
[Old Thread] Can I make all text BOLD in epub format? WJMuldowney Calibre 7 07-04-2012 10:51 AM
How to Change the Text Size Jill4223 Amazon Kindle 5 01-03-2010 09:25 PM
PDF Won't Change text size TGNY PDF 1 10-24-2009 02:20 PM
Change PDF body font size ufasoli PDF 11 10-18-2009 12:05 PM


All times are GMT -4. The time now is 10:54 AM.


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