03-22-2009, 05:06 AM | #1 |
Addict
Posts: 231
Karma: 180249
Join Date: Mar 2009
Device: Kobo Aura
|
Newbie trying to correctly format ebook with open office
I've got a txt ebook but I'm trying to use template to make the book more bebook friendly (thinner boarders) but I can't seem to format out the word\space gaps that it has in the book, I'm I supposed to ajust this under the format section under paragraph ? or the character format section or both ?I'm using open office btw, I copy and then paste straight into OpenOffice 3.
This is what it looks like on the 2nd zoom level: And this is one I managed to get that just worked when I cut and pasted it into my open office 3 template, Also zoom level 2, note the slim boarders: |
03-22-2009, 05:19 AM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The word is "borders", not "boarders" . "Boarders" means something entirely different.
The problem you have in your initial screenshot is a hard line break at the end of each line. There are a number of tools that you can use to sort this out; I use a little freeware command-line tool called "textify" which I've attached to this message. |
03-22-2009, 05:26 AM | #3 |
Addict
Posts: 231
Karma: 180249
Join Date: Mar 2009
Device: Kobo Aura
|
Thanks Harry, For both lessons
Last edited by gargoyle67; 03-22-2009 at 12:15 PM. |
03-22-2009, 09:28 AM | #4 |
The Grand Mouse 高貴的老鼠
Posts: 71,507
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
03-22-2009, 11:23 AM | #5 |
Addict
Posts: 231
Karma: 180249
Join Date: Mar 2009
Device: Kobo Aura
|
Check again
I woz in a rooosh Last edited by gargoyle67; 03-22-2009 at 12:15 PM. |
03-22-2009, 08:25 PM | #6 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
|
03-23-2009, 03:08 AM | #7 |
Addict
Posts: 231
Karma: 180249
Join Date: Mar 2009
Device: Kobo Aura
|
You must have plenty of food pilotbob with all your spam
|
03-23-2009, 07:53 AM | #8 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
03-23-2009, 08:18 AM | #9 |
Zealot
Posts: 135
Karma: 150
Join Date: Mar 2009
Device: none
|
The hard line breaks does not only appear in this bebook but in some documents that I encounter and when I try copy pasting it in word. This I seem is due to differences in formating of different programs. Some people are not really well versed in the use of English. Maybe gargoyl has weakness in English but its up to us who knows better.
Thanks Harry for this tip which I sometimes encounter. |
03-23-2009, 08:58 AM | #10 | |
Addict
Posts: 231
Karma: 180249
Join Date: Mar 2009
Device: Kobo Aura
|
Quote:
|
|
03-24-2009, 10:13 PM | #11 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I give you my way with OpenOffice 3 (Linux and Windows, Mac to try)
You just open your Gutenberg text file with OpenOffice writer. Two steps using "Search and replace with regular expressions" If need be you can easily make a macro to join them. "$" with " " put a space between the last two brackets to get rid of hard returns and then ".*$" with "&\n" to create again paragraph breaks (yes that's point star dollar) Save. After that I insert the "purified" text into a special 9x12 cm model and that's it. Last edited by roger64; 03-25-2009 at 08:41 AM. Reason: space between brackets |
03-25-2009, 02:56 AM | #12 | |
book creator
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
|
Quote:
1 What about ! and ?? 2 What about titles that don't end with a .? |
|
03-25-2009, 03:56 AM | #13 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I have had quite good and readable results with this and that's why I posted it. Sometimes, a little cleaning for the headers of the book is requested because they may have a slightly different formatting than the rest of the text. But Gutenberg's are OK for my experience.
Well, just try it and let me know if we can improve something. It's free. Let me give you an easy example here so that you can check the results by yourself: I uploaded here the shortest book from Gutenberg Australia I could find (Collected stories 23 k) and the output using the recommended method above. (Cleaned collected stories 68k) as a rtf file. First step : 444 occurences removed Second step : 149 occurences added (paragraph breaks) After that I inserted in my 9x12 cm model and saved as a rtf file. Please note that for the first step, I changed $ with a space. To finish with it, you can make a macro with these two steps (choose Tool Register macro) and it's quite handy and quick. Last edited by roger64; 03-25-2009 at 09:04 AM. |
03-26-2009, 06:22 AM | #14 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I tried Textify.exe
The output is about exactly the same as the output of the OpenOffice method. Good news for me, it's working with Linux if you use Wine You have to enter some statements about the kind of file to process. The OpenOffice way is however much quicker because a dedicated macro can lead you directly to your own-formatted 9x12 cm book. However, it's a one trick macro and good only for Gutenberg kind of books. I will keep both. don't forget Before entering the books in the Reader, you need to find a suitable format. I usually export my OpenOffice fileas a PDF , edit the meta-data with PDF Info and directly copy on the Reader. Last edited by roger64; 03-26-2009 at 06:25 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Formatting eBooks with Open Office Writer | krbunn | Self-Promotions by Authors and Publishers | 5 | 10-16-2010 08:00 AM |
How To Correctly Format In Open Office ? | gargoyle67 | Workshop | 19 | 10-07-2009 03:58 AM |
SmartQ 7 - Open Office ? | Nation.A.List | Alternative Devices | 5 | 06-29-2009 12:51 PM |
Open Office 3.0 released | hidari | Lounge | 18 | 10-20-2008 05:05 PM |
Proposal for an open source multi-format ebook authoring tool | Jon Noring | News | 15 | 09-12-2008 12:17 PM |