View Single Post
Old 05-17-2012, 03:56 PM   #1
Streadmob
Member
Streadmob began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Dec 2011
Device: none
Internal links, and Contents as illustration directory

Hi all –

I’d like to mention an illustration located in another chapter, and allow the reader to click on its name to go to it.

I’d hoped the code used by the Contents would allow this. Surely, if at some point in the code you have:

<p class="contents"><a href="#Preface">Preface</a></p>

...it would produce a clickable example of ‘Preface’, which should take the reader to:

<a name="Preface">

This works in the Contents, but why won’t it work when I use the same structures elsewhere? It looks like it’s going to work but transfers to the next new chapter after where it should have gone. :-(

Also, once I’ve solved that, how would it be to convert the Contents into a list of illustrations? Could it be called something other than Contents?

I’m using Calibre to construct e.g. mobi files from html and it’s going ok.

Cheers...
Streadmob is offline   Reply With Quote