Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2015, 08:35 AM   #1
Marjelle
Member
Marjelle began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2015
Device: none
Question about empty page visible in Calibre

Hi everyone, I have no idea if I've put this question in the right topic.
I am Dutch, so English is not my mother tongue.

I have made an e-book about Rotterdam with Sigil and checked appearance / layout with the Calibre e-book management programme.
There is one problem: viewed in Calibre an empty page pops up after the page Cover and also an empty page appears before the Register, both pages are not available / not visible in Sigil.
Can anyone help me? Thanks in advance.
Marjelle is offline   Reply With Quote
Old 05-12-2015, 08:42 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Moved to the Calibre forum.
HarryT is offline   Reply With Quote
Advert
Old 05-12-2015, 11:23 AM   #3
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,048
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 Marjelle View Post
Hi everyone, I have no idea if I've put this question in the right topic.
I am Dutch, so English is not my mother tongue.

I have made an e-book about Rotterdam with Sigil and checked appearance / layout with the Calibre e-book management programme.
There is one problem: viewed in Calibre an empty page pops up after the page Cover and also an empty page appears before the Register, both pages are not available / not visible in Sigil.
Can anyone help me? Thanks in advance.
Empty pages can be caused by:
1) Explicit CSS coded instructions: page-break-* (applied in a place that is redundent: last block has a page break and you start a new file )

2) a Block level 'overflow' condition. I avoid non-zero margin-bottom (body) Paragraphs for that reason. The last Paragraph may need a bottom margin, which happens to fall onto the next (as a blank) screen

3)Non-printing code block jest before the closing Body tag
theducks is online now   Reply With Quote
Old 05-15-2015, 12:28 PM   #4
Marjelle
Member
Marjelle began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2015
Device: none
Hi theDucks, thanks for your reply.
As I am a newbie this is way too technical for me.
So I'll see if I can find someone who does understand this and can advise me what to do.
Marjelle is offline   Reply With Quote
Old 05-15-2015, 04:54 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Check your code for explicit page-break-* styles, and or empty paragraphs at the end of chapters (empty paragraphs still need to get rendered, but they render blank space. )

Also might be helpful : EPub_Tutorial
eschwartz is offline   Reply With Quote
Advert
Old 05-18-2015, 10:04 AM   #6
Marjelle
Member
Marjelle began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2015
Device: none
Thanks, Eschwartz, I will check for page-breaks.
Marjelle is offline   Reply With Quote
Old 05-19-2015, 11:56 AM   #7
Marjelle
Member
Marjelle began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2015
Device: none
Empty page, no page breaks found!?

I have deleted a page break but still the empty page exists.
Here is the code of the Cover page of my e-book after which an empty page occurs:

<?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><img alt="Omslagfoto Euromast af-002" src="../Images/Omslagfoto%20Euromast%20af-002.jpg" /></p>
</body>
</html>

Does anyone know what the problem is here?
Marjelle is offline   Reply With Quote
Old 05-19-2015, 12:21 PM   #8
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Check code for next page in book, maybe that opens with some page break. Unlikely but possible. And check image dimensions.
cybmole is offline   Reply With Quote
Old 05-19-2015, 12:28 PM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,445
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Marjelle View Post
<body>
<p><img alt="Omslagfoto Euromast af-002" src="../Images/Omslagfoto%20Euromast%20af-002.jpg" /></p>
</body>
</html>

Does anyone know what the problem is here?
Assuming that the rendering device is not doing something special, with that HTML there should be a single space output after the image. If the image consumes the entire screen then that space could appear on the next page.

The space is caused by the return between </p> and </body>. Does the problem happen if the HTML looks like the following?
Code:
...20af-002.jpg" /></p></body></html>
chaley is offline   Reply With Quote
Old 05-19-2015, 12:46 PM   #10
Marjelle
Member
Marjelle began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2015
Device: none
Hi cybmole, the image dimensions are 534x800 pxls.
I didn't see a break on the next page. This is part of the code on the top of the page:

<?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>
<meta content="Microsoft Word 15 (filtered)" name="Generator" />

<title></title>

<style type="text/css">
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:0cm;
margin-right:0cm;
margin-bottom:8.0pt;
margin-left:0cm;
line-height:107%;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{font-family:"Calibri",sans-serif;}
.MsoPapDefault
{margin-bottom:8.0pt;
line-height:107%;}
@page WordSection1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
-->
</style>
</head>

<body link="#0563C1" vlink="#954F72" xml:lang="NL">
<div class="WordSection1">
<p class="MsoNormal"><b><span style="font-size:22.0pt;line-height:107%">Rotterdam</span></b></p>

I also checked the page before the Register and there is no page break on that page, but still an empty page pops up before the register.
Anyone knows how that is possible?
Marjelle is offline   Reply With Quote
Old 05-19-2015, 12:54 PM   #11
Marjelle
Member
Marjelle began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2015
Device: none
Hi Chaley, I did exactly as you did and then saved the file and viewed with Calibre and still the empty page is there.
When you click on the file the code looks again the same as before:

...20af-002.jpg" /></p>
</body>
</html>
Marjelle is offline   Reply With Quote
Old 05-19-2015, 01:23 PM   #12
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
1. can you view the book in any other software. to see what happens ?
e.g. Adobe Digital Editions

2. test also: replacing that image with a smaller one: take it out , make a backup, shrink it, put it back....

3. there is a lot of code in your book, because of converting it from word to epub. maybe clearing away some of that will help solve the problem also. I think if you back up you original then convert it twice: convert epub to mobi, followed by mobi to epub with calibre, it will remove all that is not essential. there may be other neater ways to achieve that, but that one will work.

Last edited by cybmole; 05-19-2015 at 01:26 PM.
cybmole is offline   Reply With Quote
Old 05-19-2015, 02:21 PM   #13
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,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
<P> has (device/system) default margins
@page has margins

Your image is 800 high

IMHO Full Image size is not wanted for Full screen . Try 95%
theducks is online now   Reply With Quote
Old 05-19-2015, 02:27 PM   #14
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by theducks View Post
<P> has (device/system) default margins
@page has margins

Your image is 800 high

IMHO Full Image size is not wanted for Full screen . Try 95%
I did not know the coding for that, without googling, so I suggested shrinking the image instead, I don't think the OP has advanced epub coding skills.

I also had a vague memory that the calibre epub viewer was a continuous scroll, not page based, but I quick test show how much I know

I never use it as a reading tool, but does it default to some specific windows size - like maybe 800 pixels , which could explain things?
cybmole is offline   Reply With Quote
Old 05-19-2015, 02:34 PM   #15
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,048
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 cybmole View Post
I did not know the coding for that, without googling, so I suggested shrinking the image instead, I don't think the OP has advanced epub coding skills.

I also had a vague memory that the calibre epub viewer was a continuous scroll, not page based, but I quick test show how much I know

I never use it as a reading tool, but does it default to some specific windows size - like maybe 800 pixels , which could explain things?

The bare basics those would be better in a specific class for Just those images, as the below affects all IMG
Code:
img {
height: 95%: width: 95%;
}
theducks is online now   Reply With Quote
Reply

Tags
calibre, empty page, sigil


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print page range in viewer outputs single empty page larzeb Library Management 2 04-30-2013 05:24 AM
[Old Thread] New Kobo Touch not visible in Calibre kzante Devices 6 09-16-2012 01:20 AM
How to make the book format on the reader visible in Calibre MRi Library Management 4 05-10-2011 03:45 PM
Only Page 1 Visible Problem aljud Sony Reader 3 05-04-2010 12:32 PM
PDF Fit Visible per page/landscape view jessesn Sony Reader 4 10-02-2006 10:42 AM


All times are GMT -4. The time now is 12:51 PM.


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