View Single Post
Old 02-28-2015, 05:36 AM   #6
doylejohn
The Leprechaun
doylejohn began at the beginning.
 
doylejohn's Avatar
 
Posts: 8
Karma: 10
Join Date: Feb 2015
Location: Chapel Hill, NC
Device: none
I am trying to do a code for xpath in calibre that will make an images be content in the table of contents with a "name" but not the image because my ebook is a jpeg.doc in its content. Does anyone know the code which will work that? My images go something like this. My image file for page five is image-5. jpeg. Page six, image-6.jpeg and so on. Would anyone like to take a crack at this. After I get the new name for each file then I want to make that name a link from the TOC to its page. It is a little to challenging for someone who has had only a few programming classes and definitely not one in XPath Expressions.
doylejohn is offline   Reply With Quote