Thread: Links in ebooks
View Single Post
Old 10-30-2011, 10:26 PM   #3
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by theducks View Post
Yes







Sigil will not code these for you, But normal links and anchors function in EPUB and some other formats.

Code:
 
<p>< href="../Text/thepage.xhtml#Illustration_22.xhtml"/>Illustration here</p>

and  place the anchor
in the proper place in "thepage.xhtml"
<a id="Illustration_22"></a>
whoops...

The "a" is missing in the first line in the code. It should read
Code:
<p><a href="../Text/thepage.xhtml#Illustration_22.xhtml"/>Illustration here</p>
BTW, these generally convert well to MOBI format. Also, since ePub is XHTML based the target anchor needs to identify itself with the ID attribute and not the old NAME attribute.
dwig is offline   Reply With Quote