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

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 05-04-2018, 06:31 PM   #1
net-buoy
Enthusiast
net-buoy began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Feb 2011
Device: none
Annotation anchors

It is easy enough, I suppose to add an chors to an additional file and then link to the anchor in that file, but in as much as Calibre will do paragraph numbering, is there a way to edit an epub in calibre where the html includes the paragraph references so that they could be used as anchors?
net-buoy is offline   Reply With Quote
Old 05-04-2018, 09:46 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,775
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm not sure I understand what you are asking, can you elaborate?
kovidgoyal is online now   Reply With Quote
Advert
Old 05-11-2018, 01:26 AM   #3
net-buoy
Enthusiast
net-buoy began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Feb 2011
Device: none
I have been teaching students how to do notes for their reading material by adding an notes.html file in Editor, with anchors
Code:
 <a name="fn4">4.</a>
or
Code:
 <a id="fn4">4.</a>
and then inserting a link to that file and tag
Code:
 <a href="notes.html#fn4">text to be annotated</a>
That makes references to the note file easy enough.

But, if one want to link from an annotation file to the text, one would have to put anchors in the text. However, putting calibre in reference mode ostensibly creates paragraph anchors. These anchors seem to be "run time" only in that they are not present when one edits the book. So my question is whether there might be some way to use the reference feature to provide html anchor tags in the actual text, thereby avoiding have to add anchors?
net-buoy is offline   Reply With Quote
Old 05-15-2018, 03:40 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,775
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No I'm afraid not. Reference mode is purely runtime (the labels you see there are calculated on the fly and can change when the book is edited.
kovidgoyal is online now   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
Validation error for anchors eggheadbooks1 Sigil 3 09-08-2016 07:32 PM
Anchors in posts? unboggling Feedback 16 05-17-2015 03:18 PM
Will my anchors lead astray? santosha Kindle Formats 12 06-28-2013 10:45 PM
Links and anchors dicknskip Sigil 6 04-11-2013 11:43 PM
Links and anchors question holdit ePub 10 02-15-2013 03:28 PM


All times are GMT -4. The time now is 10:50 AM.


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