On 15 Jun 2001 17:28:49 -0400, Chas Owens wrote:
> On 15 Jun 2001 16:04:55 -0400, Tim Musson wrote:
> > Hey Perlers,
> > 
> >   I have pulled some books from Project Gutenberg (www.Gutenberg.net).
> >   What I want to do is take all the Paragraphs and put them on one
> >   line, then put them into the Palm DOC format.  This way they wrap
> >   correctly on the Palm screen.
> > 
> >   There is no indenting that I care about, so I would say that I could
> >   take any block of text and put it all on one line.  Starting a new
> >   block after each blank line.
> > 
> >   I would also like to take the PG headders (disclaimers, how to
> >   donate, etc.) and move it to the bottom of the text, so a way to do
> >   that would be cool too!
> > 
> >   Any suggestions would be appreciated.
> > 
> >   Thanks, you all are great!
> <snip />
> 
> I tested this against several ebooks downloaded from Project Gutenberg
> and it seems to work like you want except for converting to Palm DOC.  I
> will post an update when I find documentation for the format.  
<snip />

Well, I found some C source code that mungged text into PalmOS DOC.  The
script can be downloaded from <http://www.widomaker.com/~alas> (any
comments on style, portability, and/or technique will be greatly
appreciated).  Note: this is untested beta quality code, and will stay
that way until I find a Palm Pilot to test with.

--
Today is Prickle-Prickle, the 23rd day of Confusion in the YOLD 3167
Grudnuk demand sustenance!


Reply via email to