Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2013, 07:38 PM   #1
Alan_Bernardo
Banned
Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.
 
Posts: 26
Karma: 2075224
Join Date: Feb 2013
Remove Underlines (Blue Links)

Hello,

I have a mobi book in which a good portion of the book is underlined in blue, linking to another part of the book. I want to get rid of these underlines, and either convert to AZW3 or just stay with mobi.

I've gotten rid of the underlines/blue links when converting from mobi to epub, but once I try and convert the epub to mobi (after deleting the original mobi) the blue underlines reappear, even applying the same css over-ride (the code of which I found on these forums). I tried with and without the over-ride.

Using Calibre, how would I get rid of these underlines?

Thanks,

Alan
Alan_Bernardo is offline   Reply With Quote
Old 09-04-2013, 12:00 AM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
After converting to epub, edit with Sigil to remove the link. Or at least make it smaller. Most likely it is also possible to remove the link using search and replace, but I would use Sigil instead.
Adoby is offline   Reply With Quote
Advert
Old 09-04-2013, 02:51 AM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
a drastic solution it to convert to txt then back to mobi - that will for sure remove them but it will remove other formatting also..
convert to RTF & back may also work & will not erase all formatting
cybmole is offline   Reply With Quote
Old 09-04-2013, 08:03 AM   #4
Alan_Bernardo
Banned
Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.
 
Posts: 26
Karma: 2075224
Join Date: Feb 2013
Quote:
Originally Posted by Adoby View Post
After converting to epub, edit with Sigil to remove the link. Or at least make it smaller. Most likely it is also possible to remove the link using search and replace, but I would use Sigil instead.
I tried Sigil but there are so many of these underlines that it is near impossible to remove all of them manually.

Neither could I find a way to use seach-replace in Sigil to remove problem more quickly. If someone has a pointer on what string to use for search-replace it would be immensely appreciated.

At least I got rid of the blue, which seemed more troublesome than the underlines themselves. Still, there are times when whole pages are underlined, and in such cases I have to be careful when turning the page not to jump ahead to some endnote.


Thanks!


Alan
Alan_Bernardo is offline   Reply With Quote
Old 09-04-2013, 09:08 AM   #5
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: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Alan_Bernardo View Post
I tried Sigil but there are so many of these underlines that it is near impossible to remove all of them manually.

Neither could I find a way to use seach-replace in Sigil to remove problem more quickly. If someone has a pointer on what string to use for search-replace it would be immensely appreciated.
You look at the code and see what class is being used then go into the style css and modify or eliminate that class.
DoctorOhh is offline   Reply With Quote
Advert
Old 09-04-2013, 09:46 AM   #6
theducks
Well trained by Cats
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: 30,944
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Find the class used: (You can use the e-book viewers 'Inspector', then use Tweak-EPUB and Notepad editor to edit the CSS)

this Leaves the <a tags in place
change (or add) color: black; (blue is a link default)
change (or add) text-decoration: none; (underline is the default)
theducks is offline   Reply With Quote
Old 09-04-2013, 02:25 PM   #7
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: 28,508
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You have a good shot at removing the underlines from a KF8 kindlebook (either the KF8 portion of a dual format MOBI or a stand-alone AZW3). But a true, dyed-in-the-wool, old-fashioned MOBIPOCKET book?? I'm not sure you can do it with calibre to be honest.

You used to be able to override the Kindle's default underlining behavior by using the <mbp:nu> tag preceding a link (with MobiPocket Creator and kindlegen), but I don't know that THAT even works anymore (or if calibre ever honored that particular mobi markup tag). The reason you had to go to such great lengths to eliminate the line were fairly self-explanatory: on a black & white screen with no mouse pointer (and no touch capabilities) ... how on earth would you know there was a link there without some sort of visual indication?

Last edited by DiapDealer; 09-04-2013 at 08:06 PM.
DiapDealer is online now   Reply With Quote
Old 09-04-2013, 02:28 PM   #8
susan_cassidy
Wizard
susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.
 
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
It sounds like that there are errors in the original HTML, where they aren't closing their <a> tags properly. You would have to edit the source to fix that.
susan_cassidy is offline   Reply With Quote
Old 09-04-2013, 07:50 PM   #9
Alan_Bernardo
Banned
Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.Alan_Bernardo ought to be getting tired of karma fortunes by now.
 
Posts: 26
Karma: 2075224
Join Date: Feb 2013
Thanks everyone for the replies and suggestions. I at least got rid of the blue, and with straight black the underlinings aren't as bad.

But still, with entire pages sometimes underlined, it's a chore sometimes to even turn the page. Thankfully it's only a 300 page book, which I will finish in no time.


Alan
Alan_Bernardo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove underline from links in epub Amalthia Calibre 6 02-10-2014 08:41 AM
Remove contents page underlines in epub book using Sigil Andy Sinden Sigil 30 12-16-2012 10:09 AM
PRS-T1 Internal links: how to remove gray background AlPe Sony Reader 2 05-03-2012 05:12 PM
Newsweek: how to remove timestamps after title links kbfprivate Calibre 2 05-09-2009 02:18 AM


All times are GMT -4. The time now is 06:16 PM.


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