Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2017, 08:26 AM   #1
jester1972
Junior Member
jester1972 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2017
Device: none
New to Using Sigil and Having Issues

I just recently started trying to use Sigil to publish my picture book, but am having a few issues.

The book was created in Inkscape, and all text has been converted to paths, leaving a series of .svg files as individual pages. Within Sigil, I tried to use the .svg files as pages, and the validator said "No Problems" but when I open the book, it is completely empty. I tried to use .png with the same results. I have not tried .jpg yet, but I am wanting to explain my process before I continue to test, in case I am doing it wrong from the get-go.

I open Sigil, click "insert file" icon, choose my file, which appears just fine within Sigil, then insert split mark and repeat the process. Then, I ran the validator with no issues, and saved as .epub. When I open the saved file, it is empty. Will this process work with .jpg or some other format, or is there something else I should be doing? It's an ABC book, so I am not really seeing a need for TOC. I did not enter any meta data, or anything else. I literally used the exact process I mentioned.

I plan to make more picture books in this same process, so any advice will be greatly appreciated. I see that there are a few different ways to insert files, images, etc. So, considering I am using Inkscape with text converted to paths within the illustration, what is the best way to format my Children's books? I can convert my .jpg if that is the issue, but I can't help but feel there is more to publishing my children's books than just inserting the graphic, then split marker. I hope I explained this clearly. LOL Any tips or advice will be greatly appreciated.
jester1972 is offline   Reply With Quote
Advert
Old 04-26-2017, 08:33 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,703
Karma: 86991370
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The images will not be visible if they aren't presented via (x)html.
DiapDealer is offline   Reply With Quote
Old 04-26-2017, 08:43 AM   #3
jester1972
Junior Member
jester1972 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2017
Device: none
Oh, OK. Hmmm, that's not good. It will not retain the same image formatting if I convert them. I will try to find something besides Sigil to use for this. Thank you for your reply.
jester1972 is offline   Reply With Quote
Old 04-26-2017, 08:49 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,703
Karma: 86991370
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You misunderstand. You don't need to convert the images. You just need to use xhtml to display them. Epubs are incapable of presenting raw images. There needs to be html with links to the images.

It doesn't matter how (and with what program) you make your epub, the fact is, epubs are html.
DiapDealer is offline   Reply With Quote
Old 04-26-2017, 08:59 AM   #5
jester1972
Junior Member
jester1972 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2017
Device: none
Oh, that's good news! LOL I have hours and hours into creating this book. I truly need a fairly simple way to make them into pages. Do you have a link to a tutorial that will explain how I can link to these graphics like you mention? I watched a tutorial that did the exact same as I described in the original post, but that doesn't seem to work for me.
jester1972 is offline   Reply With Quote
Advert
Old 04-26-2017, 09:00 AM   #6
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,524
Karma: 772404
Join Date: Nov 2009
Device: many
Each xhtml page would load one or more svg images in the proper order (even scaling them if need be). The xhtml pages would be listed in order in the spine. Something like that should work on any device that supports svg and svg images. It should be easy to do with Sigil's insert image from book toolbar button.

Perhaps you are thinking of some of the comic book ebook formats that really are nothing more that a zip archive of images files?
KevinH is online now   Reply With Quote
Old 04-26-2017, 09:12 AM   #7
jester1972
Junior Member
jester1972 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2017
Device: none
Sorry guys, I am getting more confused as we go. I will do some more research on the basic creation of an ebook with Sigil, then I will be able to ask better questions. It's been years since I have bothered to manipulate or write HTML and have been spending most of my time writing and creating graphics within an interface lately. I know how frustrating it can be when someone comes into a forum without having a clue of what they are trying to accomplish. So, I bow out gracefully for now, but will return once I understand a bit more about Sigil.
jester1972 is offline   Reply With Quote
Old 04-26-2017, 09:40 AM   #8
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,524
Karma: 772404
Join Date: Nov 2009
Device: many
You can find an updated user guide (still needing to be proofed and cleaned up) at this Mobileread Link:

https://www.mobileread.com/forums/sh...7&postcount=23
KevinH is online now   Reply With Quote
Old 04-26-2017, 04:45 PM   #9
Turtle91
Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,469
Karma: 11526836
Join Date: Dec 2012
Location: Altus, Oklahoma today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
I'm not sure exactly what the problem is...I have been able to get my svg images to work in a couple different ways.

The first is to wrap the image in a <div> so that I can style it:
Spoiler:
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style>
div.img {display:block; margin:0 auto; text-align:center; width:100%}
img {width:100%}
</style>
</head>
<body>
<div class="img">
<img alt="svg3" src="../Images/svg3.svg"/>
</div>

<div class="img">
<img alt="svg4" src="../Images/svg4.svg"/>
</div>

<div class="img">
<img alt="svgimg0001" src="../Images/svgimg0001.svg"/>
</div>

<div class="img">
<img alt="svgimg0002" src="../Images/svgimg0002.svg"/>
</div>
</body>
</html>


The second is to wrap the image in an svg wrapper:

Spoiler:
Code:
<body>
  <div style="margin:0; padding:0; text-align:center">
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 288 24" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
      <image height="24" width="288" xlink:href="../Images/svg3.svg"/>
    </svg>
  </div>
</body>


I saved this as an ePub and was able to have the images display using either method.
Turtle91 is offline   Reply With Quote
Old 04-26-2017, 05:15 PM   #10
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,383
Karma: 119692349
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
You missed a third way. You can actually paste the SVG itself into the XHTML instead of a reference to the file:

Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div class="img">
<svg height="100" width="100">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>
</div>
</body>
</html>
Toxaris is offline   Reply With Quote
Old 04-26-2017, 06:36 PM   #11
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,703
Karma: 86991370
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Turtle91 View Post
I'm not sure exactly what the problem is...I have been able to get my svg images to work in a couple different ways.
The problem was that the OP was just adding the images themselves to the epub (Images folder). Nothing more.

The epub validated (naturally), but none of the images rendered when the epub was viewed (which is also quite natural, since no (x)html code referred to those images in any way).

Last edited by DiapDealer; 04-26-2017 at 06:39 PM.
DiapDealer is offline   Reply With Quote
Old 04-26-2017, 07:00 PM   #12
jester1972
Junior Member
jester1972 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2017
Device: none
OH! Now THAT makes sense to me! Thanks guys. Sorry for the late reply, I had to go to work. I watched a few tutorials and really like the way Sigil is set up. Well, when you kind of know what you are trying to accomplish. LOL Yes, I was directly adding the images via "Insert file" function, and nothing else. They showed up, but that was about it.
jester1972 is offline   Reply With Quote
Old 04-26-2017, 08:49 PM   #13
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 8,958
Karma: 7214889
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Turtle91 View Post
The second is to wrap the image in an svg wrapper:
I think there's a plugin for doing that.
BetterRed is offline   Reply With Quote
Old 04-26-2017, 10:30 PM   #14
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,852
Karma: 10339686
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by BetterRed View Post
I think there's a plugin for doing that.
There's InsertImageSVG, however, it doesn't seem to work with image files that have an .svg extension.
Doitsu is offline   Reply With Quote
Old 04-27-2017, 01:23 AM   #15
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 8,958
Karma: 7214889
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doitsu View Post
There's InsertImageSVG, however, it doesn't seem to work with image files that have an .svg extension.
That's the one.

It also doesn't do multi-page tiffs - well not in the way I hoped it might, a long shot to see if I could wrangle a slide show into an ePub

BR
BetterRed is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Issues in Sigil 0.9.3 jafprrr Sigil 11 03-10-2016 11:59 AM
issues with sigil 0.8.4 eregs Sigil 2 02-27-2015 08:01 AM
Sigil Spacing Issues Shak Sigil 1 05-17-2013 01:55 AM
Sigil/DRM Issues After Update? twedigteam Sigil 11 11-07-2010 01:47 PM
Sigil editing Issues -- must be addressed arvinder Sigil 4 08-06-2009 07:36 AM


All times are GMT -4. The time now is 09:46 PM.


MobileRead.com is a privately owned, operated and funded community.