Quote:
Originally Posted by Uumas
I'll try these today, but I'm pretty sure that just adds the files to the book, but not the xhtmls required to show them as pages.
|
Ahhh, so you wanted an individual XHTML file for each SVG.
1. In Sigil, you could add all the SVGs to the EPUB:
File > Add > Existing Files
2. Then inside the XHTML file, you should be able to:
Insert > File
You can easily highlight all the SVGs (Shift-Click) just like you would in Explorer.
3. Once you add them to your EPUB, you would get code smushed together like this:
Quote:
<p><img alt="page001" src="../Images/page001.svg"/><img alt="page002" src="../Images/page002.svg"/><img alt="page003" src="../Images/page003.svg"/></p>
|
You could then easily split the files manually using
Split at Cursor button:
or just use Search/Replace to insert the Sigil split marker:
Search: "/><img
Replace: "/><hr class="sigil_split_marker" /><img
and press
Edit > Split At Markers (
F6).
4. Now you would have each SVG in its own file:
Quote:
File 1:
<p><img alt="page001" src="../Images/page001.svg"/></p>
File 2:
<p><img alt="page002" src="../Images/page002.svg"/></p>
File 3:
<p><img alt="page003" src="../Images/page003.svg"/></p>
|