View Single Post
Old 04-30-2009, 12:50 AM   #10
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by elegant View Post
In this sense I think it may be easier to reformat the text with an OOo macro.
I am a Ubuntu user.
I use OpenOffice to work pretty quickly with text of Gutenberg txt books.

If this can be of any help, I use a macro made out of the following points:

1 - Search and replace "$" with one space
2 - Search and replace ".*$" with "&\n"
3 - Select all and copy
3 - Open a 9x12cm model
4 - Copy

I found that OpenOffice can't work with page breaks (this is not for Gutenberg which do not use page breaks but for other books) and currently have no solution for that.

There is an extension with an alternative search and replace menu but I find it a bit too complicated.

Last edited by roger64; 04-30-2009 at 12:54 AM.
roger64 is offline   Reply With Quote