Thread: Links in ebooks
View Single Post
Old 11-05-2011, 11:46 AM   #11
dlw
Enthusiast
dlw began at the beginning.
 
dlw's Avatar
 
Posts: 27
Karma: 15
Join Date: Jun 2009
Device: Palm TX, Pocket eDGe, Nexus (2012), iPad Air (3), Kobo Clara HD
This is all well and good, but Sigil recodes my work (I'm using v0.3.4 till I find the time to follow instructions for updating on linux).

I have this anchor in one file (ch01.html)

Code:
<p id="CH01-94" class="footnote">
and this reference in another (ch09.html)

Code:
See <a href="./ch01.html#CH01-91">note 1, on page 50</a>.
Sigil processing changes the reference to:

Code:
See <a href="#CH01-91">note 1, on page 50</a>.
which is broken: ereaders try to find "CH01-91" in the current chunk (ch09.html) and can't.

I tried changing the source to:

Code:
See <a href="../Text/ch01.html#CH01-91">note 1, on page 50</a>.
thinking Sigil might need a reference from root -- but the same truncation occurred.

Any guidance? Am I overlooking something obvious, or do I really have to turn off HTML Tidy and manually restore these links in Sigil's editor?

Thanks for thinking about this.
dlw is offline   Reply With Quote