![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2014
Device: Nook Simple Touch
|
All text underlined in epub - help!
Hi,
I'm trying to hand-fix a failed azw4-to-pdf-to-epub book using an html source file. (That's bad enough in and of itself, right?) But after conversion to an epub from the html, the text is underlined for most of the book. I'm using Dreamweaver CS5. The design view there looks fine. The html preview in Firefox looks fine. I converted it into an epub using calibre. The calibre view of the epub looks fine. I viewed it in Adobe Digital Editions. Half of chapter 3 and into chapter 4 was underlined. Then on my Nook Simple Touch, everything from chapter 3 onward is underlined! I don't understand. This is all the same file, just different programs. I've checked for underlining markings in the source code, but there's nothing. Can anyone help??? I am so frustrated. |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
There can only be two options.
1. Your epub contains styling for underline that you missed. 2. Your epub contains styling for underline that you missed. ![]() Upload the file if you want us to check it. |
![]() |
![]() |
![]() |
#3 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,029
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
When I've had underlined text, it was a lopsided <a> tag.
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2014
Device: Nook Simple Touch
|
Quote:
I love how smart the people on this site are! I would never have figured that out on my own. ![]() ![]() Edit: In case anyone else has a problem like mine, I have since learned that <a name = "link"/> is XML coding. What I need is <a name = "link"></a>, which is supported by HTML4. Source: http://stackoverflow.com/questions/4...ith-name-or-id Last edited by Watashi; 09-20-2014 at 04:59 PM. |
|
![]() |
![]() |
![]() |
#6 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
What you're seeing is caused by two separate bugs in Adobe Digital Editions:
1. It incorrectly treats the contents of name anchors (without an href) as links, and underlines them. (This one is already listed in the EPUB tips section on the Wiki in the "general" section, though now that there's a separate ADE area, it should probably be mentioned there as well.) 2. Apparently, ADE also doesn't properly support the self-closing tag syntax, which is also clearly a bug, because EPUB books are XHTML (XML), not HTML. I've added a note about that to the EPUB tips section. I'm assuming the MIME type in your metadata.opf file is "application/xhtml+xml" rather than "text/html", correct? Because if you mis-specify that, ADE's behavior is technically legal, though archaic. Then again, I'd be surprised it worked at all if you did that, so.... |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
|
![]() |
![]() |
![]() |
#8 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
<a name="whatever"> should be <a id="whatever">.
|
![]() |
![]() |
![]() |
#9 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#10 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
|
![]() |
![]() |
![]() |
#11 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
Quote:
If it is allowed then, it won't work if you're using Javascript for sure, getElementsByName will not work for example. Last edited by odedta; 09-26-2014 at 06:16 AM. |
|
![]() |
![]() |
![]() |
#12 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Epub 2 uses XHTML, which requires "id" and not "name". I think any validator will report "name" as a not-allowed attribute.
|
![]() |
![]() |
![]() |
#13 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB 3 multi column text reading order across pages for epub | laksathish | ePub | 13 | 11-13-2018 05:18 AM |
Blue underlined text | jimb949 | Sigil | 6 | 07-01-2014 04:00 PM |
Text in converted epub is bold, underlined - How to make regular? | frank14612 | Conversion | 5 | 02-22-2014 09:45 AM |
Generate epub using text-recognized text in PDF not Pictures. | lordofazeroth | Conversion | 0 | 09-19-2013 04:16 PM |
epub: links in toc should not be underlined ... | NASCARaddicted | Calibre | 2 | 06-15-2010 06:26 PM |