Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : eb1150 and page breaks


sea2stars
02-21-2007, 11:41 PM
Does the eb1150 recognize/respect page breaks? I was just trying to break up a rtf file to have each chapter start on a new page, but the unit itself doesn't respect the line breaks. I've tried doing this in both MS Word and Book Designer, and then converting them to the proper format using the eBookwise Librarian trial.

Moonraker
02-22-2007, 05:27 AM
Does the eb1150 recognize/respect page breaks? I was just trying to break up a rtf file to have each chapter start on a new page, but the unit itself doesn't respect the line breaks. I've tried doing this in both MS Word and Book Designer, and then converting them to the proper format using the eBookwise Librarian trial.

You say line breaks - do you mean page breaks?

If you are pressing your return key to create new lines then this won't work.

I understand that rtf is converted to HTML before processing to the imp format. HTML ignores all empty elements and pressing the return key will produce empty elements. If you are using Word then it's best to use the insert/break/page break method. Or set up a style for your chapter headings and make sure that Page Break before is checked.

Jack B Nimble
02-22-2007, 10:33 AM
Does the eb1150 recognize/respect page breaks? I was just trying to break up a rtf file to have each chapter start on a new page, but the unit itself doesn't respect the line breaks. I've tried doing this in both MS Word and Book Designer, and then converting them to the proper format using the eBookwise Librarian trial.
When I have converted texts, and there haven't been too many as I have only had my 1150 for a few months, I've used eBookwise Librarian, and I've always had each chapter as a separate HTML file. Works quite well for what you are requesting, but breaking up the chapters would probably be quite the headache.

Jack

Jadon
02-22-2007, 03:00 PM
To get chapters starting on new pages/screens you need a new-page command, which you specify in a style section in the HTML you feed to Librarian. Lots of stuff goes there.

Some notes here, (http://groups.yahoo.com/group/Fictionwise/message/3764) with the style line you want being something like

.pg {page-break-before: always}

used something like

<div class="pg" style="text-align: center">
<h2>Two: A Dash of Pepper</h2>
</div><br /><br />

which will start that chapter at the top of the next screen.
There are a bunch of commands you can use if you want to put in the time to make the output pretty.

sea2stars
02-22-2007, 03:10 PM
Moonraker: That's odd. I've used the "insert page break" method using both Word and Book Designer, and haven't gotten the desired result. I'll have to look into the style option for chapter headings.

Jack: I think that's what I may end up doing in Dreamweaver, unless a simpler method develops that will meet my needs. Then again, I might just get used to it.

Jadon: Thanks! I just noticed your response. I'm going to have to look at those links and play with the code.

DaleDe
08-03-2007, 12:47 PM
Moonraker: That's odd. I've used the "insert page break" method using both Word and Book Designer, and haven't gotten the desired result. I'll have to look into the style option for chapter headings.

Jack: I think that's what I may end up doing in Dreamweaver, unless a simpler method develops that will meet my needs. Then again, I might just get used to it.

Jadon: Thanks! I just noticed your response. I'm going to have to look at those links and play with the code.

The insert page break should work. Also, while it is undocumented, the <pb> tag seems to work fine to do a page break.

Dale

FizzyWater
08-30-2007, 11:31 PM
I actually noticed that Word page breaks (saved as RTF, anyway) are ignored with the GEB/Ebook Librarian program. They work just fine when I use the free program from Ebook Technologies, Inc. (the manufacturer of the eb1150 hardware/firmware).

I've had a few inconsistent problems with the GEB Librarian/eBook Librarian program:


book stop converting/displaying at the first "line feed" (as opposed to a "paragraph return")
book stops converting/displaying at certain types of bullet points (but not all)
book crashes the reader if it contains certain (or maybe certain sized) images


So, even though the ETI program takes a little longer - and I've never figured out how to import an HTML file to it directly - I still prefer it to the GEB Librarian program most of the time.

DaleDe
08-30-2007, 11:40 PM
So, even though the ETI program takes a little longer - and I've never figured out how to import an HTML file to it directly - I still prefer it to the GEB Librarian program most of the time.

Actually you don't import a html file. You create a new project and then simply add the html file. Use the drop down list to find files with html extension and then you can save the project and build it. No need to import since that is the native format for ebook Publisher.

You may need to make a few corrections since there are some differences but most of the it will make the book ok.

Dale

FizzyWater
09-09-2007, 05:14 PM
Well, thanks, DaleDe! That was so simple, I'm embarrassed! Now, the results weren't all that pretty* (I'm pretty picky about my formats) and I had to fix the image file links before I imported it, but it worked.

*(Odd characters at the start of some paragraphs [>], curly quotation marks showed as question marks, font was larger and bolder than I prefer for reading...)

DaleDe
09-10-2007, 05:27 PM
Well, thanks, DaleDe! That was so simple, I'm embarrassed! Now, the results weren't all that pretty* (I'm pretty picky about my formats) and I had to fix the image file links before I imported it, but it worked.

*(Odd characters at the start of some paragraphs [>], curly quotation marks showed as question marks, font was larger and bolder than I prefer for reading...)

You're welcome. I am pretty fussy too. When the curly quotation marks show up as ? replace them with &ldquo; and &rdquo;. There is also single quotes using an s instead of a d in the previous items. (l and r are left and right). I spend quite a bit of time getting the quotes to work right and getting rid of ascii dashes (&ndash; or &mdash;). Font size and appearance is controllable but it can be tricky also. I am slowly adding some of my books to the upload at this site.

Dale

GarthConboy
09-13-2007, 12:28 PM
The native markup language for the EBW-1150 (aka ETI-2) is OEBPS 1.2. The CSS for forcing a page break would be:

<p style="page-break-before: always" />

(or something similar).

I don't know too much about Librarian, I think it uses a different mechanism to get from Word/RTF to OEBPS that we do in our tools (we go Word->RTF->OEBPS). I know that if you use our content tools (http://www.ebooktechnologies.com/support_publisher_download.htm) when converting from Word or RTF, we will respect hard page breaks in the source documents. Converting these to something like the above.