Ask Your Question
1

Create hard lines of X length in Writer [closed]

asked 2013-02-28 20:20:45 +0200

TriciaG gravatar image

updated 2015-10-25 01:20:43 +0200

Alex Kemp gravatar image

I have a long text document, currently correctly wrapping, that I want to save as text with lines of 55-65 characters and hard line breaks. (I'm converting back into that txt format that people try to remove line breaks FROM.)

Ideal length is 55-65 characters, but a line can go to 70 characters if required. I do not want to divide words between lines.

How can I do this, aside from manually entering paragraph breaks on each line?

(Currently using Writer 3.5.4.2.)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-25 01:21:34.621392

Comments

1

OK, I'm not used to this format of Q&A, so I'm commenting rather than answering my own question. qubit, your answer worked - I gave it to my programmer husband, and he did it for me. ;) Thanks!

TriciaG gravatar imageTriciaG ( 2013-03-10 01:44:06 +0200 )edit

@TriciaG -- Thanks for letting us know that your question was answered! Please come back anytime :-)

qubit gravatar imagequbit ( 2013-03-12 02:36:37 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-02-28 20:39:52 +0200

qubit gravatar image

Hi @TriciaG,

If you're on a unix-y system, you could:

  • Copy your text into emacs
  • Select the whole buffer
  • Use CTRL-Q to reindent

Okay, okay, so not everyone is a programmer :-) The fold command might also be helpful for you:

FOLD(1)                          User Commands                         FOLD(1)

NAME
       fold - wrap each input line to fit in specified width

SYNOPSIS
       fold [OPTION]... [FILE]...

DESCRIPTION
       Wrap  input  lines in each FILE (standard input by default), writing to
       standard output.

Do you have any long URLs or anything word/string that is longer than 60 chars? If so, those very long strings might wrap:

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-28 20:20:45 +0200

Seen: 267 times

Last updated: Feb 28 '13