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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2012, 11:32 AM   #1
tecweston
Comic book artist
tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.
 
Posts: 551
Karma: 1302199
Join Date: Apr 2011
Location: Detroit
Device: Nook STR, iPad, iPod touch
Help removing bold text

Hi everyone. I almost never use Sigil so I know I'm probably doing something wrong but here's my problem.

I downloaded a copy of The Great Gatsby from MobileRead. The problem is that all of the text is in bold font, which makes it unreadable for me. I went into Sigil, selected all the text, and selected "remove formatting" (ctrl-space). This removed the bold, but also removed the indenting of the paragraphs, which I don't want.

(Please note that just hitting "bold" does nothing, or I would have done this. The only way I've found to remove the bold text is to select "remove formatting.")

Now I save the epub, then open it up in Calibre. Everything looks fine, the bold is gone, but the paragraphs are no longer indented.

Now I do an epub-to-epub conversion, selecting "remove spacing between paragraphs" so that I can tell it to indent each paragraph by 1.5 em. When it's done, if I open up the book, the indenting is there but ALL of the text is bold once again.

I can't figure out how to have un-bold text and indented paragraphs simultaneously. Help?
tecweston is offline   Reply With Quote
Old 02-08-2012, 12:33 PM   #2
Keroberos
Zealot
Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.
 
Keroberos's Avatar
 
Posts: 127
Karma: 194002
Join Date: Aug 2009
Device: Kobo Mini (4GB), Nook Classic wi-fi, iPod Touch (Bluefire Reader)
The bold font may be from something in the css, if you look in code view you can see all the css classes then you can look in the css file to see what's causing it. If you want, post which copy it is and I can take a look at it.
Keroberos is offline   Reply With Quote
Old 02-08-2012, 12:38 PM   #3
tecweston
Comic book artist
tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.
 
Posts: 551
Karma: 1302199
Join Date: Apr 2011
Location: Detroit
Device: Nook STR, iPad, iPod touch
Quote:
Originally Posted by Keroberos View Post
The bold font may be from something in the css, if you look in code view you can see all the css classes then you can look in the css file to see what's causing it. If you want, post which copy it is and I can take a look at it.
Thanks, it's this one: http://www.mobileread.com/forums/showthread.php?t=51953
tecweston is offline   Reply With Quote
Old 02-08-2012, 01:18 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,563
Karma: 44291176
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I assume you're converting the mobi to epub with calibre and then editing with sigil?

It seems you have your work cut out for you. Unfortunately there are <span class="bold> spans around each (and every) individual paragraph in the main body of the text. You could go into the CSS file and change:
Code:
.bold {
    font-weight: bold
    }
to
Code:
.bold {
    font-weight: normal
    }
But looking at the structure of the book, that will also get rid of stuff that should be bolded.

It looks like there's only two standard body paragraph classes (one for indented, and one for unindented), so maybe there's some regex that would help you remove the bold spans from just those paragraphs.
DiapDealer is offline   Reply With Quote
Old 02-08-2012, 01:22 PM   #5
tecweston
Comic book artist
tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.tecweston ought to be getting tired of karma fortunes by now.
 
Posts: 551
Karma: 1302199
Join Date: Apr 2011
Location: Detroit
Device: Nook STR, iPad, iPod touch
Quote:
Originally Posted by DiapDealer View Post
I assume you're converting the mobi to epub with calibre and then editing with sigil?
Yes. I couldn't find an epub version on here, just a mobi and another file format that also has bold text.

Quote:
Originally Posted by DiapDealer View Post
It seems you have your work cut out for you. Unfortunately there are <span class="bold> spans around each (and every) individual paragraph in the main body of the text. You could go into the CSS file and change:
Code:
.bold {
    font-weight: bold
    }
to
Code:
.bold {
    font-weight: normal
    }
But looking at the structure of the book, that will also get rid of stuff that should be bolded.

It looks like there's only two standard body paragraph classes (one for indented, and one for unindented), so maybe there's some regex that would help you remove the bold spans from just those paragraphs.
Thank you for your help. I decided to search for another public domain copy and found an Australian one that is perfect.
tecweston is offline   Reply With Quote
Old 02-08-2012, 01:33 PM   #6
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 4,084
Karma: 48653310
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindles 2, KB, PW 1, PW 2, Voyage, & Fire 2 -- iPad mini
Cool Help removing bold text

Quote:
Originally Posted by tecweston View Post
Yes. I couldn't find an epub version on here, just a mobi and another file format that also has bold text.



Thank you for your help. I decided to search for another public domain copy and found an Australian one that is perfect.
Here's one i just fixed after downloding from your link.
Attached Files
File Type: epub The Great Gatsby - F. Scott Fitzgerald,.epub (175.6 KB, 103 views)
alansplace is online now   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
Troubleshooting Text in bold all the time. jocampo Amazon Kindle 2 06-30-2011 07:37 PM
Any hack to make default ebook text bold? judith009 Kindle Developer's Corner 9 01-01-2011 03:32 PM
How can I change body text from bold to normal? Michaelus Calibre 11 09-18-2010 10:21 PM


All times are GMT -4. The time now is 11:56 PM.


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