![]() |
#1 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#2 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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 |
|
![]() |
![]() |
![]() |
#4 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 21
Karma: 10
Join Date: May 2015
Device: none
|
Thanks, Eschwartz, I will check for page-breaks.
|
![]() |
![]() |
![]() |
#7 |
Member
![]() 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? |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,445
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
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> |
|
![]() |
![]() |
![]() |
#10 |
Member
![]() 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? |
![]() |
![]() |
![]() |
#11 |
Member
![]() 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> |
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#13 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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% |
![]() |
![]() |
![]() |
#14 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
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? |
|
![]() |
![]() |
![]() |
#15 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
The bare basics ![]() Code:
img { |
|
![]() |
![]() |
![]() |
Tags |
calibre, empty page, sigil |
|
![]() |
||||
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 |