Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2017, 02:39 AM   #1
haskel
Member
haskel began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Oct 2017
Device: none
cover issue

hi friends can you help me please
when i convert to pdf
i am getting content lines in cover image but after the cover image.
And i want to see these all lines on next page and in cover page i want see only cover image and no more contents

here is attach file you can see in red circle text
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	187
Size:	52.8 KB
ID:	159463  
haskel is offline   Reply With Quote
Old 10-15-2017, 03:50 AM   #2
BetterRed
null operator (he/him)
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: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@haskel - assuming the input is epub, try styling the 'Contents' para with page-break-before.

If that doesn't do the trick, please read this Conversion sub-forum sticky ==>> How to ask a question about conversion problems

BR
BetterRed is offline   Reply With Quote
Advert
Old 10-15-2017, 04:58 AM   #3
haskel
Member
haskel began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Oct 2017
Device: none
can you please help me in detail where i need to add page break text
haskel is offline   Reply With Quote
Old 10-15-2017, 04:28 PM   #4
BetterRed
null operator (he/him)
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: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by haskel View Post
can you please help me in detail where i need to add page break text
You can do it in the epub editor, given it's a one off, see the In-line example in ==>> Page-Break-Before - Cascading Style Sheets Properties

BR
BetterRed is offline   Reply With Quote
Old 10-16-2017, 02:51 AM   #5
haskel
Member
haskel began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Oct 2017
Device: none
@BetterRed bro i attached element picture of my book so can you tell me what exactly command i need and where to add
please
i am in trouble

thanks
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	157
Size:	98.4 KB
ID:	159480  
haskel is offline   Reply With Quote
Advert
Old 10-16-2017, 03:25 AM   #6
BetterRed
null operator (he/him)
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: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by haskel View Post
@BetterRed bro i attached element picture of my book so can you tell me what exactly command i need and where to add
please
i am in trouble

thanks
Hmmm, I'm no expert at xhtml/css, i just hack around until I get something like what I want. I'll nudge theducks and get him to take a peck - surprised he hasn't already.

But first I'd prettify the code, I think its a 'flower icon' in calibre editor

Then I'd stuff something like the following, after the <img src = blah blah> line - <p STYLE="page-break-before: always">.</p> That's a period between '>' and '<' purists might use some invisible character or other, but in situations like this I prefer an unobtrusive character I can see.

I'd also want to see what happens to that image url if that site wasn't reachable

BR
BetterRed is offline   Reply With Quote
Old 10-16-2017, 06:16 AM   #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: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
BR
I am in your class of coder. Try it until I like it

OP
1) I never convert to PDF,. So I have no clue what happens. AZW3 is my devices target format.

2) KISS: I split the HTML file where I absolutely want a forced break.
Too many devices ignore CSS/Style commands

3) I almost never use inline 'style=..." CSS rules them alll

4) page-break-after: always attached to the images style class might be another option
theducks is online now   Reply With Quote
Old 10-17-2017, 11:53 AM   #8
haskel
Member
haskel began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Oct 2017
Device: none
@kovid goyal bro can you please help me about this issue
i really want to solve that problem
haskel is offline   Reply With Quote
Old 10-17-2017, 03:34 PM   #9
BetterRed
null operator (he/him)
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: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Have you tried 'printing' the EPUB via the calibre ebook-viewer, it produces PDF Output.

Given Packt offer PDF wouldn't it be easier to just buy a PDF version of the book, maybe they give a discount if you already bought the EPUB.

BR
BetterRed is offline   Reply With Quote
Old 10-18-2017, 08:55 AM   #10
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by haskel View Post
hi friends can you help me please
when i convert to pdf
i am getting content lines in cover image but after the cover image.
And i want to see these all lines on next page and in cover page i want see only cover image and no more contents

here is attach file you can see in red circle text
You could cut and paste the code for the section you want to be on a different page from the file where it's currently at into a new .html file (hit CTRL-F5 to add a blank .html file--drag the new file from the bottom of the list on the left up to where you want it to be and then right-click on the new file to link to the .css files) - or - you can add the following line within the CSS rule for the first line of the text in the image you posted:

page-break-before: always;

Then convert the file, and Calibre will place that text into a separate .html file.
deback is offline   Reply With Quote
Old 10-18-2017, 08:59 AM   #11
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by haskel View Post
@BetterRed bro i attached element picture of my book so can you tell me what exactly command i need and where to add
please
i am in trouble

thanks
In the Book Editor, add the following to the "content-summary-list" CSS rule in the stylesheet.css file:

page-break-before: always;

Then convert the file, and a new .html file will be created that will place all that text into a separate file.
deback is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cover page issue rlecessi Conversion 2 08-29-2017 07:05 AM
Glo Sleep cover issue jhuynh Kobo Reader 17 01-04-2013 06:23 PM
strange cover issue affa Sigil 6 05-03-2011 06:59 PM
Book cover issue alexhunter27 Sigil 3 10-01-2010 02:37 AM
Creator Issue with Cover and TOC? S3NTYN3L Kindle Formats 20 07-26-2009 11:50 AM


All times are GMT -4. The time now is 11:47 AM.


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