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.
|