Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2015, 07:21 PM   #16
murg
No Comment
murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.
 
Posts: 3,240
Karma: 23878043
Join Date: Jan 2012
Location: Australia
Device: Kobo: Not just an eReader, it's an adventure!
Quote:
Originally Posted by DiapDealer View Post
This (Sigil) is the "How to use an Acme Leather Punch" forum.
This is just ridiculous!

Everyone knows that the Acme punches are poor quality knock-offs of the Smithfield punches!
murg is offline   Reply With Quote
Old 03-04-2015, 08:16 PM   #17
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,585
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Heresy!
DiapDealer is offline   Reply With Quote
Advert
Old 03-05-2015, 06:56 AM   #18
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by oiver55 View Post
I'm sorry, could you elaborate a bit more on that please. What is leading space? What is the correct leading space.
Use Sigil's search & replace tool to find instances of class=" followed by a space, and replace with class=" without the space.

This is the first time I've ever seen such a result (Sigil displays it as you would want, while Kindle stalls). What happens if you upload your uncorrected epub to Epubcheck at http://validator.idpf.org/ ?

Last edited by Notjohn; 03-05-2015 at 07:02 AM.
Notjohn is offline   Reply With Quote
Old 03-05-2015, 07:55 AM   #19
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,585
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Notjohn View Post
This is the first time I've ever seen such a result (Sigil displays it as you would want, while Kindle stalls). What happens if you upload your uncorrected epub to Epubcheck at http://validator.idpf.org/ ?
The space is used as a delimiter between multiple css class attribute values that are to be combined/applied. As such it cannot be considered part of a class name. The fact that most EPUB renderers/validators seem to ignore leading/trailing spaces in single attribute class values is probably no real reason to tempt fate by including them. Save the space for it's proper delimiting purpose.

If you had no reason to do so before ... you do now.

Last edited by DiapDealer; 03-05-2015 at 09:36 AM.
DiapDealer is offline   Reply With Quote
Old 03-05-2015, 08:12 AM   #20
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by Notjohn View Post
What happens if you upload your uncorrected epub to Epubcheck at http://validator.idpf.org/ ?

Or even install the Epubcheck plugin directly in Sigil.

Back now to trying to work out just WTF Lulu is objecting to in a perfectly well-formed and checked-out EPUB. The customer wants it to go on Lulu, so it must go on Lulu...
exaltedwombat is offline   Reply With Quote
Advert
Old 03-05-2015, 11:37 AM   #21
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
Doesn't Lulu use an ancient version of ePUBCheck?
Toxaris is offline   Reply With Quote
Old 03-06-2015, 02:54 AM   #22
oiver55
Enthusiast
oiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windows
 
Posts: 43
Karma: 120648
Join Date: Feb 2015
Device: kindle
Thanks for all the help guys (and gals), Notjohn's tip was it, all I had to do was click on the center button in Sigil.
oiver55 is offline   Reply With Quote
Old 03-06-2015, 03:11 AM   #23
oiver55
Enthusiast
oiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windows
 
Posts: 43
Karma: 120648
Join Date: Feb 2015
Device: kindle
So now it the code reads like this...

<?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>How to kill your loved ones with Food and get away with it</title>
<link href="../Styles/epub.css" rel=" stylesheet" type=" text/ css" />
</head>

<body>
<p class="large" style="text-align: center;">Notjohn’ s Guide to Kindle Publishing</p>

<p class="medium" style="text-align: center;">Ten Steps To Formatting Your E-Book for Sale on Amazon (Or Anywhere Else)</p>

<p class="small" style="text-align: center;">N.J. Notjohn</p>

<h2 id="start"></h2>

<div class="image" id="coverPage" style="text-align: center;"><img alt="How to kill your loved ones with food and get away with it" src="../Images/cover.jpg" width="100%" /></div>
</body>
</html>
oiver55 is offline   Reply With Quote
Old 03-06-2015, 03:39 AM   #24
oiver55
Enthusiast
oiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windows
 
Posts: 43
Karma: 120648
Join Date: Feb 2015
Device: kindle
The TOC

On the Sigil when I click on Chapter one I believe it is suppose to bring you to the anchor "chapter01" but nothing happens. Here is the code for my TOC.

<?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>How to kill your loved ones with Food and get away with it</title>
<link href="../Styles/epub.css" rel=" stylesheet" type=" text/ css" />
</head>

<body>
<h2 id="toc" style="text-align: center;">Contents</h2>

<p class="center" style="text-align: center;"><a href="#chapter01">Chapter One</a></p>

<p class="center" style="text-align: center;"><a href="#chapter02">Chapter Two</a></p>

<p class="center" style="text-align: center;"><a href="#chapter03">Chapter Three</a></p>

<p class="center" style="text-align: center;"><a href="#chapter04">Chapter Four</a></p>

<p class="center" style="text-align: center;"><a href="#chapter05">Chapter Five</a></p>

<p class="center" style="text-align: center;"><a href="#copy">Copyright - About the Author</a></p>
</body>
</html>



And here is the code for chapter 1,

<?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>How to kill your loved ones with Food and get away with it</title>
<link href="../Styles/epub.css" rel=" stylesheet" type=" text/ css" />
</head>

<body>
<!--And now the text chapters, as many as you like-->

<p class=" breakhere"></p>

<h2 id="chapter01">Chapter One</h2>

<p class="first"><!--The first paragraph is flush left with a few words capitalized--></p>

<p><!--Following paragraphs are indented, and each ends with a closing tag--></p>

<div>
<br />
</div>
</body>
</html>
oiver55 is offline   Reply With Quote
Old 03-06-2015, 06:32 AM   #25
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
If you have broken your file into multiple files or sections, as is usually done in epubs, then the TOC pointer can't find the "chapter01" anchor. This is what one of my TOC entries looks like:

<p class="center"><i>Map: <a href="../Text/Section0002.htm#invasion">
Notjohn is offline   Reply With Quote
Old 03-06-2015, 07:49 AM   #26
oiver55
Enthusiast
oiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windows
 
Posts: 43
Karma: 120648
Join Date: Feb 2015
Device: kindle
Great!! It works.
What does this part of the code mean?

<i>Map: <a href="../Text/Section0002.htm#invasion">

To be exact the <i> tag and the #invasion.
In order for me to get it to work I had to take out the #invasion and put "l". So it reads
<i>Map: <a href="../Text/Section0002.html"> instead.
oiver55 is offline   Reply With Quote
Old 03-06-2015, 08:35 AM   #27
oiver55
Enthusiast
oiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windows
 
Posts: 43
Karma: 120648
Join Date: Feb 2015
Device: kindle
Now that I think about it when I use the center class for my <p> the text should be centered because of the code in my css. Do you know why I would have to click the center button in Sigil to get my text centered when the css should be taking care of that through the classes I use? My css is inside the book Browser in the styles folder.
oiver55 is offline   Reply With Quote
Old 03-06-2015, 09:06 AM   #28
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Show us your stylesheet. Some readers/conversions tolerate errors. Others ignore the whole stylesheet following an error.
exaltedwombat is offline   Reply With Quote
Old 03-06-2015, 09:23 AM   #29
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,585
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by oiver55 View Post
Now that I think about it when I use the center class for my <p> the text should be centered because of the code in my css. Do you know why I would have to click the center button in Sigil to get my text centered when the css should be taking care of that through the classes I use? My css is inside the book Browser in the styles folder.
You DON'T have to click the 'center' button in Sigil to get your text centered (in fact you shouldn't do that IMO), you simply have to remove the leading space from the class name(s) in your html ... just like theducks originally suggested you need to do.

Even though it doesn't seem to trip up ADE, WebKit, or all EPUB validators, there is simply no good reason for leaving/introducing leading spaces in single-value class attributes. Even if it wasn't potentially tripping up Amazon's conversion tools, there's just no good reason for those spaces to be there.

As to your second example, yes... we'd need to see the css that's being applied. As exaltedwombat said; a single syntax error in the css file can get the whole shebang ignored.

Last edited by DiapDealer; 03-06-2015 at 10:20 AM.
DiapDealer is offline   Reply With Quote
Old 03-06-2015, 10:17 AM   #30
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,076
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
If your code no work, there is some sort of an error

CSS

h2 { margin_top: 1em:text-align: center; page-break-before: always;}

I really recommend you not do the 1 big book file thing.
It will be bog slow on low power devices
If you make an error during copy edits , the whole book needs proofing again, not just the actual chapter with the original problem
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil failed me, alas! (Kindle conversion) Notjohn Sigil 10 08-28-2014 02:49 PM
Problems getting epub to compile on Kindle Previewer vagoughs Kindle Formats 0 04-14-2013 02:38 PM
Problems with formatting in pdf-Kindle conversion kenoli Kindle Developer's Corner 4 11-03-2012 01:06 AM
Picture Book For Kindle Conversion Problems jmanque Conversion 3 10-02-2011 08:45 PM
Problems with PDF to Mobi conversion in Calibre (for my Kindle 3) star Calibre 1 09-13-2010 01:01 PM


All times are GMT -4. The time now is 08:20 AM.


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