Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-05-2013, 01:41 AM   #1
BetterRed
null operator
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: 3,824
Karma: 2698649
Join Date: Mar 2012
Location: NSW Australia
Device: none
suppress 1st page break

The epubs I create do NOT have covers, and they're not commercial books.

Each 'book' has 2-5 centred lines containing title, author and institution names, followed the first H1 heading followed by text, followed by another H1 heading and text...

I don't want a pagebreak between the top lines and the first H1 heading, but I would like a pagebreak before subsequent H1 headings.

How can I achieve this without editing the EPUBs?

BR

ps : I create the EPUBs from DOCXs but I don't think that's relevant

Last edited by BetterRed; 07-05-2013 at 01:45 AM. Reason: add PS
BetterRed is offline   Reply With Quote
Old 07-05-2013, 01:52 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,329
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
h1:first-of-type { page-break-before: avoid; }

in extra css should do the trick, although for this kind of thing you really need to be using an editor, not calibre.
kovidgoyal is online now   Reply With Quote
Old 07-05-2013, 05:38 AM   #3
BetterRed
null operator
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: 3,824
Karma: 2698649
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
h1:first-of-type { page-break-before: avoid; }

in extra css should do the trick, although for this kind of thing you really need to be using an editor, not calibre.
Unfortunately that didn't do the trick, but no matter, because this does:-

Quote:
Originally Posted by 0.9.38 Release Notes
DOCX Input: Add support for clickable (hyperlinked) images

Closes tickets: 1196728
This is better for me because it puts the issue into the input document along with everything else.

BTW some of the ticket links in the latest release notes are broken

BR
BetterRed is offline   Reply With Quote
Old 07-05-2013, 07:09 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,329
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
They aren't broken, they point to private bug reports, because the bug reports have copyrighted material attached.
kovidgoyal is online now   Reply With Quote
Old 07-05-2013, 07:19 AM   #5
BetterRed
null operator
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: 3,824
Karma: 2698649
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
They aren't broken, they point to private bug reports, because the bug reports have copyrighted material attached.
gotcha - now you know there's at least one person who reads the release notes from cover to cover

The section page breaks work perfectly

BR
BetterRed is offline   Reply With Quote
Old 07-05-2013, 07:34 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,329
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well, they make for thrilling reading, so I'm sure you're not alone
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No page break for H2 RickAltman Calibre 2 06-25-2012 12:02 PM
unwanted page break photoluminations Conversion 1 09-28-2011 09:11 PM
PAGE BREAK JFS-NMF Recipes 0 03-04-2011 10:15 AM
ePub Suppress Cover Page daveps Calibre 3 02-10-2010 11:12 AM
Page break before <b> flowoeB Calibre 14 04-12-2009 04:05 PM


All times are GMT -4. The time now is 11:16 PM.


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