Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-07-2012, 04:48 AM   #1
misskennedy
Member
misskennedy began at the beginning.
 
misskennedy's Avatar
 
Posts: 16
Karma: 10
Join Date: Jun 2012
Location: Vosges Mountains
Device: Ipad
Getting started, but how?

I'm a total newbie and never done an Ebook. I downloaded Sigil, read the manual and browsed th Forum here, but still, I don't know very well just HOW to get started. Is there an easy step by step turorial which lets you create a simple book, with some pictures, some text and some chapters, just a simple thing in order to introduce noobs like me into the workflow?
Or / and is there a template book which I could work on and learning by replacing content?

In fact, I have an Ipad3 and would like to make an Ebook for it (matching the Retina Display) its a comic, so content will mainly be pictures.
misskennedy is offline   Reply With Quote
Old 06-07-2012, 11:26 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by misskennedy View Post
I'm a total newbie and never done an Ebook. I downloaded Sigil, read the manual and browsed th Forum here, but still, I don't know very well just HOW to get started. Is there an easy step by step turorial which lets you create a simple book, with some pictures, some text and some chapters, just a simple thing in order to introduce noobs like me into the workflow?
Or / and is there a template book which I could work on and learning by replacing content?

In fact, I have an Ipad3 and would like to make an Ebook for it (matching the Retina Display) its a comic, so content will mainly be pictures.
My 2cents
Learn by reverse engineering (similar) a book you like

You DO need to know HTML and CSS for what you want to do (at least with Sigil which is aimed more to the Text side). You can easily throw pictures on a page with Sigil, but to place them nicely you are going to be using HTML and stylesheet properties to whip them into neat place(ment)
theducks is offline   Reply With Quote
Advert
Old 06-07-2012, 12:53 PM   #3
misskennedy
Member
misskennedy began at the beginning.
 
misskennedy's Avatar
 
Posts: 16
Karma: 10
Join Date: Jun 2012
Location: Vosges Mountains
Device: Ipad
Theducks, Yes, I am currently working this way...I know html, but no CSS...still I'm playng around in altering the existing CSS. Actually the first results are pretty encouraging.

Two things:

1. How can I use own fonts? Yes, I imported font files into the font folders in Sigil and I replaced the font names in the CSS, but It doesn't work.

2. How can I assign a cover-mage to the book in Sigil?
misskennedy is offline   Reply With Quote
Old 06-07-2012, 01:07 PM   #4
Pablo
Guru
Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.
 
Pablo's Avatar
 
Posts: 972
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-T2, Kindle Paperwhite 11th gen
Quote:
Originally Posted by misskennedy View Post
Theducks, Yes, I am currently working this way...I know html, but no CSS...still I'm playng around in altering the existing CSS. Actually the first results are pretty encouraging.

Two things:

1. How can I use own fonts? Yes, I imported font files into the font folders in Sigil and I replaced the font names in the CSS, but It doesn't work.

2. How can I assign a cover-mage to the book in Sigil?
Have a look at my Quick and Dirty ePub Tutorial (see my signature). If you are using the current version of Sigil (0.5.3), make sure you download the version 2 file. The original version of the tutorial is obsolete.
Pablo is offline   Reply With Quote
Old 06-07-2012, 01:10 PM   #5
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: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
1. How can I use own fonts? Yes, I imported font files into the font folders in Sigil and I replaced the font names in the CSS, but It doesn't work.
Don't rely on Sigil's book view to decide your embedded fonts "aren't working." View your ePub in ADE (or an actual device) to determine that. Or at the very least, close Sigil and then reopen your ePub after making changes to embedded font code.

Last edited by DiapDealer; 06-07-2012 at 01:12 PM.
DiapDealer is online now   Reply With Quote
Advert
Old 06-07-2012, 02:03 PM   #6
misskennedy
Member
misskennedy began at the beginning.
 
misskennedy's Avatar
 
Posts: 16
Karma: 10
Join Date: Jun 2012
Location: Vosges Mountains
Device: Ipad
DiapDealer, I did that. Custom Fonts aren't showing on the decice, too.

I also have another issue: I do insert the image files each one into a separate section, in the hope to have an image=a page. But on the device, a blank page is created between the files. Sometimes only when viewed square, sometimes only in vertical held, sometimes in both. Is there a possibility to control this and make it the way that there's a page break after each image file but with no blank page between two?
I know that this is probably to be done in the CSS and that is where's my limit :-(

But hey, I managed to assign a cover image ! :-)
misskennedy is offline   Reply With Quote
Old 06-07-2012, 03:15 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by misskennedy View Post
DiapDealer, I did that. Custom Fonts aren't showing on the decice, too.

I also have another issue: I do insert the image files each one into a separate section, in the hope to have an image=a page. But on the device, a blank page is created between the files. Sometimes only when viewed square, sometimes only in vertical held, sometimes in both. Is there a possibility to control this and make it the way that there's a page break after each image file but with no blank page between two?
I know that this is probably to be done in the CSS and that is where's my limit :-(

But hey, I managed to assign a cover image ! :-)
without seeing your code (and the stylesheet) it is a little hard to guess
If you have not done so, grab copies of the CSS and HTML cheatsheets
there are a few things that can cause page breaks

The command: page-break-before: always

Margins before or after the image that can't exist With the image (as sized) on a single page.


And some things just don't work (reliably) on various reading software (read the ADE flaws thread in EPUB section)

Fonts: remember everything about a filename and path in EPUB is case sensitive
Code:
src:url(../Fonts/CharisSILB.ttf)
since Sigil puts font files in the Fonts folder... having the bold part is important if you want things to work
theducks is offline   Reply With Quote
Old 06-08-2012, 02:37 AM   #8
misskennedy
Member
misskennedy began at the beginning.
 
misskennedy's Avatar
 
Posts: 16
Karma: 10
Join Date: Jun 2012
Location: Vosges Mountains
Device: Ipad
Theducks, Thank you very much for being willing to look into this. So here is the code of the CSS:
Code:
/***********************************************/
/* Styles for document saved to a stream       */
/* Generated by Aspose.Words for .NET 10.6.0.0 */
/***********************************************/

body { font-family: Souvenir Lt BT, sans-serif; line-height:115% }
h1, h2, h3, h4, p { margin:0pt 0pt 10pt }
h1 { color: #009900; font-family:Trebuchet MS, serif; font-size:1.27em; font-weight:bold; line-height:115%; margin-bottom:0pt; margin-top:24pt; page-break-after:avoid; page-break-inside:avoid }
h2 { color:#4f81bd; font-family: Souvenir Lt BT, serif; font-size:1.18em; font-weight:bold; line-height:115%; margin-bottom:0pt; margin-top:10pt; page-break-after:avoid; page-break-inside:avoid }
h3 { color:#4f81bd; font-family:Souvenir Lt BT, serif; font-weight:bold; line-height:115%; margin-bottom:0pt; margin-top:10pt; page-break-after:avoid; page-break-inside:avoid }
h4 { color:#4f81bd; font-family:Souvenir Lt BT, serif; font-style:italic; font-weight:bold; line-height:115%; margin-bottom:0pt; margin-top:10pt; page-break-after:avoid; page-break-inside:avoid }
.BalloonText { font-family:Tahoma, sans-serif; font-size:0.73em; line-height:normal; margin-bottom:0pt }
.Title { border-bottom-color:#4f81bd; border-bottom-style:solid; border-bottom-width:1pt; color:#17365d; font-family:Cambria, serif; font-size:1.27em; letter-spacing:0.25pt; line-height:normal; margin-bottom:15pt; padding-bottom:4pt }
span.SprechblasentextZchn { font-family:Tahoma, sans-serif; font-size:0.73em }
span.TitelZchn { color:#17365d; font-family:Souvenir Lt BT, serif; font-size:2.36em; letter-spacing:0.25pt }
span.berschrift1Zchn { color:#365f91; font-family:Cambria, serif; font-size:1.27em; font-weight:bold }
span.berschrift2Zchn { color:#4f81bd; font-family:Cambria, serif; font-size:1.18em; font-weight:bold }
span.berschrift3Zchn { color:#4f81bd; font-family:Cambria, serif; font-weight:bold }
span.berschrift4Zchn { color:#4f81bd; font-family:Cambria, serif; font-style:italic; font-weight:bold }
Here is the code of a "page" (a section)

Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title></title>
</head>

<body>
  <p>&nbsp;<img alt="" src="../Images/02.png" /></p>
</body>
</html>
And in order to make things complete; here is the link to a page image file : https://dl.dropbox.com/u/61460662/02.png

All "page" files for this book are in the same size. When looked at it on the Ipad, the images display very good, its just this blank page issue that needs to be fixed.
misskennedy is offline   Reply With Quote
Old 06-08-2012, 02:53 AM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Line-Height: 115%
that is 1.15 pages. I suspect this

IMHO
Get rid of that at the body level.

If you need a bigger line space for certain paragraphs, create a separate (p) class for those.

Images should have their own class(es) to control borders, margins/padding AND size ... (fine control) (that picture is larger than my screen on my 5" PEz) so you might want to control/Maintain aspect ratio


BTW your example does not have any link to the stylesheet... you are getting browser defaults
theducks is offline   Reply With Quote
Old 06-08-2012, 02:55 AM   #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,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
I am missing the whole @font-face part in the CSS. Also, remember that you need to do something special to add fonts for iBooks.

Check this blog-entry from Liz Castro to learn more about font-embedding.

Also, keep in mind that a lot of stuff in ePUB is Case-Sensitive!
Toxaris is offline   Reply With Quote
Old 06-08-2012, 03:04 AM   #11
misskennedy
Member
misskennedy began at the beginning.
 
misskennedy's Avatar
 
Posts: 16
Karma: 10
Join Date: Jun 2012
Location: Vosges Mountains
Device: Ipad
No problem to get rid of that Line hight thing, as for the rest, as I also guessed, it needs some skilled CSS formating which I am not able to to. Now let's see what it does without that line tag.
misskennedy is offline   Reply With Quote
Old 06-08-2012, 07:51 AM   #12
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
You don't have to be skilled. You just have to have some time and bumble your way through it, making sure to work on copies instead of originals.

Take out anything you don't understand affecting line height or margins, one at a time.

As ducks noted, you have to refer to the stylesheet in each section, similar to this:

<head>
<meta content="text/css" http-equiv="Content-Style-Type" />

<title>The Far Country, by Nevil Shute</title>
<link href="../Styles/Style0001.css" rel="stylesheet" type="text/css" />
</head>

matching the stylesheet name exactly by case.
mrmikel is offline   Reply With Quote
Old 06-08-2012, 09:46 AM   #13
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: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
As Toxaris mentioned... I'm guessing the main issue why your embedded fonts are not working is the fact that there are no @font-face declarations in your css.
DiapDealer is online now   Reply With Quote
Old 06-08-2012, 11:17 AM   #14
misskennedy
Member
misskennedy began at the beginning.
 
misskennedy's Avatar
 
Posts: 16
Karma: 10
Join Date: Jun 2012
Location: Vosges Mountains
Device: Ipad
I now solved the problem of the blank spaces by assembling the comic page files in a software called epubizator which is designed for creating Comic Ebooks. But its a very rough programm, so I then uploaded the finished file in Sigil in order to refine it there. There are no blank pages on the Ipad view now, but the font problem hasn't been solved. I added a font face tag. It does display the correct font in the Sigil Window, but not on the Ipad. Well, I may live with that.
misskennedy is offline   Reply With Quote
Old 06-08-2012, 11:21 AM   #15
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: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There's a special file you have to add to an ePub to get embedded fonts to work in iBooks. The link in Toxaris' post gives the particulars involved to get it working.

Also, for future reference... "it doesn't work on the iPad" doesn't give people the necessary info to help you. The app that you're using on the iPad to view the ePub with is the important detail. Much more so than "iPad."

Last edited by DiapDealer; 06-08-2012 at 11:28 AM.
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-350 Help me get started please! ApK Sony Reader 17 06-03-2011 04:15 PM
Can't Get Started... raggedpelicanllc Calibre 2 10-22-2010 03:36 PM
Trying to get started . . . GLL Calibre 3 04-29-2010 03:36 AM
Getting Started Pinecone Calibre 2 11-02-2009 01:14 AM
Let's getting started ! ^^ scaza Introduce Yourself 2 03-04-2009 12:25 PM


All times are GMT -4. The time now is 05:10 PM.


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