View Single Post
Old 03-13-2015, 12:39 AM   #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: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont put your svg into its own file, instead embed it directly in the HTML. IIRC there are various issues with using svg files referred to from <img> tags. This is likely one of them. That will also fix the unreferenced error you get.

EDIT: For example, if I open up your chapter.xhtml file in Firefox,the PNG is not rendered there either. You will likely have to use <svg> inside the html to get it to work reliably.

Last edited by kovidgoyal; 03-13-2015 at 12:44 AM.
kovidgoyal is offline   Reply With Quote