Quote:
Originally Posted by Doitsu
I wasn't able to replicate this particular problem. Try adding a regular title attribute to the <a> tags:
|
No change, same errors.
Also tried putting a title in the SVG:
<div class="breakavoid">
<svg xmlns="http://www.w3.org/2000/svg" height="100%" width="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 652 1200" xmlns:xlink="http://www.w3.org/1999/xlink"><image width="652" height="1200" xlink:href="../Images/qfig01.gif"/>
<title>Figure 1</title></svg> </div>
Same warnings, no new ones at least.
=================
Quote:
Originally Posted by RbnJrg
A curiosity, the text you transcribed, which book does it belong to?
|
Appendix to
Starquake by Robert L. Forward
He was a real physicist, some of the references are real, others fictional.
=================
Quote:
Originally Posted by Turtle91
I only use the wrapper if I want an image to take up the whole page/screen and maintain the aspect ratio (xMidYMid meet).
|
Yes, the latter is why I do this. Otherwise, if it's a portrait image, it can get distorted. It's never been a problem before, though probably I never had footnote links in the same chapter.
For landscape images, I just do something like:
div.diagram{margin:1em;}
img.wid100{width:100%;}
<div class="diagram"><img alt="" src="../Images/qfig08.gif" class="wid100"/></div>
Of course, this assumes the viewer is set in portrait mode, but that's how I read 99.9% of the time.
Quote:
Originally Posted by Turtle91
As for the error code itself… do you have an image that didn’t properly close the </svg> tag and it is thinking the <a> link is inside the <svg>??
|
No, all closed.
I would expect a more specific error about that, and all the intervening text to disappear as well.
If I delete an
</svg>, Sigil pops up an error immediately.
=================
Note that this is just a "Warning", the epub looks okay in viewers, converts to Kindle without issue.
But if this happened in a book I was going to publish any epubcheck error can veto it so I want to work out the issue.
Can dumb down the image code and omit SVG if I have to if no other way.