David Welton wrote:
[ CCing a reply to me would be appreciated. Thanks! ]
Hi,
I have a bit of a problem. I've written a portion of a book in emacs,
mostly because it's what I'm most comfortable working in, so I have a
large quantity of ascii text, interspersed with examples - source code
fragments. Emacs wraps lines at a certain length and ends them with a
newline. This has the effect that when I import the text file into
OO, it thinks each line is a paragraph unto itself, which is a mess.
How can I fix this? Without messing up the source code I have in the
files? I don't mind doing a bit of manual intervention, but I don't
want to have to fix up each paragraph by hand by re-attaching each and
every line.
I could run a Tcl script on the file to kill newlines where they are
not two in a row, but that will likely make a hideous mess of the
examples.
Thanks for any ideas,
Try the macro from:
http://www.oooforum.org/forum/viewtopic.phtml?t=6429&highlight=
It works great for cleaning up imported ascii text.
Daniel
-=-=-
Nothing else ruins the truth like stretching it.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]