![]() |
#1 |
Techno-geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 225
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE
|
Formatting ePubs
I am working on a project for moving a large document to an electronic medium for reading purposes. I started with iSilo on a Palm and was getting pretty good results but the document was so large and the Palm was so small I got tired of the conversion process.
I have since gotten a Sony Reader and with the advent of ePub capabilities have been drawn back to this project to try and produce an ePub version. I basically have html which needs a lot of formatting. I am working on a chapter at a time. The results so far are pretty good but I can't seem to get page breaks where I want them. I would like the top of the page to start right after the break. I am using the following statement: <br clear="all" style='page-break-before:always' /> Should I add the style to my Chapter title? How do I add multiple styles since the chapter title is already style='text-align:center'? span tag? Sorry for the newbie html questions but this is annoying. |
![]() |
![]() |
![]() |
#2 |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
i believe epub uses an external stylesheet, which will allow you to add whatever (as many) css styles you like.
it might be helpful to look at a finished epub document : you could try formatting a sample document using the wysiwyg editor on feedbooks.com, then just download the preview rather than publishing the document. an epub file can be opened using winzip or winrar to see the different files that compose it. you could also use this editor to make your entire book. books in progress are saved between sessions. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,264
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
<h2 style="page-break-before: always">Chapter title</h2>
And you can use html2epub to create epubs for the sony. EDIT; And you can always force a page break by splitting the HTML file into two separate files. Last edited by kovidgoyal; 09-22-2008 at 08:41 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[KOBO] Strip existing formatting to apply my own default formatting to all books | digital_steve | Calibre | 2 | 08-10-2010 06:34 PM |
Classic Combining ePubs? | druzyek | Barnes & Noble NOOK | 2 | 07-29-2010 08:04 PM |
Calibre and FORMATTING how to stop it altering my formatting? | nerys | Calibre | 37 | 07-23-2010 02:35 AM |
Calibre and FORMATTING how to stop it altering my formatting? | nerys | Calibre | 0 | 02-28-2010 04:51 PM |
line formatting formatting question | daesdaemar | Workshop | 9 | 02-06-2009 11:47 AM |