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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2020, 09:36 AM   #1
increase
Connoisseur
increase began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2020
Device: kindle
underline links removed i sigil but showing in kindle previewer

Tried all ways to remove hyperlink underlines, I am using
a:link {color:#D2691E; text-decoration:none;}\na:visited {text-decoration:none;}\na:hover {text-decoration:none;}

Looks fine in sigil but reverts to underline links in kindle previewer
increase is offline   Reply With Quote
Old 02-14-2020, 11:39 AM   #2
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 3,458
Karma: 32900329
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
See this thread: hyperlink CSS for KF8
jhowell is offline   Reply With Quote
Old 02-14-2020, 12:14 PM   #3
increase
Connoisseur
increase began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2020
Device: kindle
Quote:
Originally Posted by jhowell View Post
See this thread: hyperlink CSS for KF8
could not get this to work it gives an error
<p id="v1114"><a style="text-decoration: none !important;" href="../Text/Section0015_0011.xhtml#ve1114"><mbp:nu>it doesn’t matter leaving gregory peck</mbp:nu></a></p>

Sigil doesn't seem to like <mbp:nu>
increase is offline   Reply With Quote
Old 02-14-2020, 12:36 PM   #4
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 3,458
Karma: 32900329
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by increase View Post
Sigil doesn't seem to like <mbp:nu>
Not surprising. It is non-standard Amazon proprietary markup for Kindles.
jhowell is offline   Reply With Quote
Old 02-16-2020, 12:34 AM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 8,211
Karma: 87581631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by increase View Post
could not get this to work it gives an error
<p id="v1114"><a style="text-decoration: none !important;" href="../Text/Section0015_0011.xhtml#ve1114"><mbp:nu>it doesn’t matter leaving gregory peck</mbp:nu></a></p>

Sigil doesn't seem to like <mbp:nu>
@increase:

With all due respect, and I mean that, you know, you might find all of this much, MUCH easier if you would take a week or two, learn about eReaders, eReading formats, eBooks, and the code that works/doesn't work in eBooks, first. You're spending a lot of time flailing around, around things like footnotes, which are actually bog-standard and easy to code, because you've jumped in, head-first, without learning the basics first.

I mean, you're sitting here trying 10-year-old "mobipocket" code and wondering why it doesn't work. A little background, history and gounding in the code would save you time.

Here's a question--WHY are you trying to remove underlines? How do you expect your reader to know that it's a link, if you remove the underline? Does that mean you don't want them to click it? If you don't, then, why is it a link?

If you don't want people clicking it, then remove the link. If you do want people clicking it, then what's your reason for hiding the link from the reader? On eInks, how can they see it to know that it's clickable?

Hitch
Hitch is offline   Reply With Quote
Old 02-17-2020, 11:51 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 56,000
Karma: 51659512
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by Hitch View Post
@increase:

With all due respect, and I mean that, you know, you might find all of this much, MUCH easier if you would take a week or two, learn about eReaders, eReading formats, eBooks, and the code that works/doesn't work in eBooks, first. You're spending a lot of time flailing around, around things like footnotes, which are actually bog-standard and easy to code, because you've jumped in, head-first, without learning the basics first.

I mean, you're sitting here trying 10-year-old "mobipocket" code and wondering why it doesn't work. A little background, history and gounding in the code would save you time.

Here's a question--WHY are you trying to remove underlines? How do you expect your reader to know that it's a link, if you remove the underline? Does that mean you don't want them to click it? If you don't, then, why is it a link?

If you don't want people clicking it, then remove the link. If you do want people clicking it, then what's your reason for hiding the link from the reader? On eInks, how can they see it to know that it's clickable?

Hitch
Very well said!
JSWolf is offline   Reply With Quote
Old 02-17-2020, 12:19 PM   #7
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: 24,797
Karma: 34257999
Join Date: Aug 2009
Location: The Central Coast of California
Device: K4NT(Fixed,New Bat.), Galaxy Tab A, Kobo Aura2
Listen to Hitch.
Spend some time in the MR Wiki reading about your Target format ( PDF is a terrible base format. EPUB2 can probably be converted to anything else. If you use WORD, learn to use it properly for creating e-books)
theducks is offline   Reply With Quote
Old 02-17-2020, 04:07 PM   #8
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 15,751
Karma: 18746916
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
f you use WORD, learn to use it properly for creating e-books)
Open/Apache/Libre Writer, InDesign and much else.

Things to avoid in flowable text (i.e. not fixed layout, poetry etc): Empty paragraphs to get vertical space. Spaces and tabs to get horizontal space. Inline formatting rather than styles.

BR
BetterRed is offline   Reply With Quote
Old 02-18-2020, 08:56 AM   #9
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 1,479
Karma: 7081840
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
In LibraOffice Writer:
Select regular expressions in Search & replace
\t finds tabs. Replace with a space
Unselect regular expressions
Find all two spaces and replace all with one space till none are found.
Select regular expressions and replace all with nothing for each of these "Finds":
^[ ] Remove leading spaces.
[ ]$ Remove trailing spaces.
^$ Remove Blank paragraphs.
(don't type in the Remove comments).
You can fix a lot of stuff you'd miss proofing, spell or grammar checking with a regex

The only inline formatting I use is Italics. Because there is some sort of slight bug with "character styles" when exporting (Save As) a Doc or Docx version.
Paragraph styles are fine, though again for conversions I have parent as "none". All text / paragraph styles that isn't entries in the TOC / NCX etc should have Outline Level "Text Body"
Chapter headings will normally be Level 1, or Level 2 if there are Sections/Parts at Level 1, with Insert under text flow of Page (but without a style unless it's for paper). "Text Body" styles should never Insert under Text Flow.
Indent or outdent at a first line, between paragraphs, margins and justification must all be in the style.

Last edited by Quoth; 02-18-2020 at 09:05 AM.
Quoth 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
PDF -> Mobi: Remove underline from links aschiller Conversion 3 11-05-2019 07:39 AM
From Sigil to Kindle Previewer Conversion Problems! oiver55 Sigil 33 03-09-2015 07:57 PM
Remove underline from links in epub Amalthia Calibre 6 02-10-2014 08:41 AM
Image links without underline slicknick001 Kindle Formats 17 12-20-2013 07:16 AM
Book Designer - Links underline just ONE word? pitolee Sony Reader 21 12-05-2008 10:08 AM


All times are GMT -4. The time now is 05:03 AM.


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