Re: [NTLK] Newton Press and Project Gutenberg

From: Peter H. Coffin (hellsop_at_ninehells.com)
Date: Fri Apr 02 2004 - 22:21:26 PST


On Fri, Apr 02, 2004 at 10:03:28PM -0800, Rhonda Hyslop wrote:
> I have finally gotten all the parts in place to make Newton Press
> convert a text file into a newton book without complaining - and I
> noticed that due to the line breaks in the PG etexts, the formatting
> is simply atrocious. Each PG line is about 1 3/4 line in the Newton
> Press window.
>
> I'm sure some people here have turned Project Gutenberg etexts into
> newtonbooks before - is there an easy way to clean up the line breaks
> without going through the entire file in a text editor? Anything that
> runs on linux or mac system 7.5 will work for me :-)

I'd clean up the text a bit first, then find out how many 'n's fit on
one newt screen line. Then give that to par(1). That will preserve any
fun stuff that transcriber did with the left margin (indents, etc).

-- 
34. I will not turn into a snake. It never helps.
                --Peter Anspach's list of things to do as an Evil Overlord
-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/


This archive was generated by hypermail 2.1.5 : Fri Apr 02 2004 - 23:00:01 PST