You are not logged in.

#1 2016-01-09 19:06:16

kabbalah
Banned
Registered: 2011-08-23
Posts: 150

(Solved) Format text in LibreOffice Writer

I use libreoffice in archlinux, I have a file of 488 pages in the following format.

Quizás la ceguera dominante y endémica que aqueja a
los seres humanos sea una de las razones por las que
Homero, en los mismos albores de la civilización
occidental —hacia la mitad de su relato oral de la Odisea
(en torno a -800 aC)—, llevo a Ulises a buscar a Tiresias
hasta el borde del Hades para conocer su destino y lo
que debía hacer para regresar a su hogar. Porque Tiresias
era un vidente ciego y todos sabemos que, cuando
aparece en escena un “vidente ciego”, las cosas van a
ponerse mas interesantes y verdaderas. Con todo e110,
Homero parece estar diciéndonos que la verdadera
visión trasciende la mera visión física.

And this is the format that I want to leave this.

Podemos tener hijos y pasar años sin verlos siquiera, porque lo unico que “vemos” son las ideas, “tefiidas” por nuestras expectativas y nuestros miedos que, a1 respecto, tenemos. Y lo mismo podriamos decir con todas y cada una de nuestras relaciones. Vivimos sumidos en el mundo natural, pero, la mayor parte de las veces, no nos damos cuenta de ello, pasamos por alto la milagrosa refraccién de la luz del sol en la gota de agua que se halla depositada sobre una hoja y hasta soslayamos los distorsionados refleios que nos Drooorcionan los parabrisas y las ventanas. Y tampoco nos damos cuenta, hablando en términos generales, de que los demas, incluido el mundo natural que forma parte del paisaje que nos rodea —algo que conoceriamos mucho mejor si pasaramos una noche en mitad del bosque—, también nos ven y tienen de nosotros una Vision que puede ser muy diferente de la que nosotros mismos tenemos.

I have searched but can not find information, there will be some way to do it automatically, otherwise ode, but not line by line.

Sorry but I always have problems with the BBcode and I do not remember how to use this.

Last edited by kabbalah (2016-01-13 00:30:16)

Offline

#2 2016-01-09 19:21:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: (Solved) Format text in LibreOffice Writer

kabbalah wrote:

Sorry but I always have problems with the BBcode and I do not remember how to use this.

There is a link under every text box...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-01-09 22:56:48

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: (Solved) Format text in LibreOffice Writer

If you are just trying to remove line breaks, have a look at this link but note that there may be differences with new line and new paragraph characters and you will probably still have to proof read the document for formatting again. https://help.libreoffice.org/Writer/Rem … ine_Breaks

You could alternatively use find and replace and search for /n and replace with nothing.  You will have to select "other options" in the replace dialog and check the regular expressions box for this to work.

Offline

#4 2016-01-10 13:47:36

ingo66
Member
Registered: 2015-11-03
Posts: 8

Re: (Solved) Format text in LibreOffice Writer

Hello,

dcdriving: Did you mean »\n« instead of »/n«?

With LibreOffice 4.4.7.2 I can use »Edit > Search & Replace...«.
In »Other Options...« I use »Regular expressions« and search »$« for the end of the line.

Last edited by ingo66 (2016-01-10 13:48:43)

Offline

#5 2016-01-10 14:27:32

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: (Solved) Format text in LibreOffice Writer

Yeah, \n.  Sorry, my bad.  Never used $ for end of line before but if that works for you, can't you just replace throughout the document?

Offline

#6 2016-01-10 15:18:00

ingo66
Member
Registered: 2015-11-03
Posts: 8

Re: (Solved) Format text in LibreOffice Writer

Hello again,

I'm not shure what you mean but when I search for »$« as regualr expressions in the »Search/Replace« dialog, LibreOffice find the next or all end of lines »¶«. In the sample above there are »↵« at the end of the lines which I can find with »\n« as regular expressions.

Last edited by ingo66 (2016-01-10 15:18:53)

Offline

#7 2016-01-10 16:29:12

kabbalah
Banned
Registered: 2011-08-23
Posts: 150

Re: (Solved) Format text in LibreOffice Writer

OK: This is what I want to do:

I have this paragraph in this form

Otro error muy común consiste en considerar la
meditación como una herramienta para controlar o tener
determinados pensamientos. Y, aunque esta noción
encierre una cierta verdad, en el sentido de que hay
formas concretas de meditación discursiva que apuntan
a1 cultivo de cualidades concretas (como la bondad y la
ecuanimidad) y de emociones positivas (como la alegría
y la compasión), nuestras expectativas sobre la
meditación suelen obstaculizar la puesta en practica de
lo que mas necesitamos e impedirnos experimentar el
momento presente tal cual es, en lugar del modo en que
queremos verlo, con la mente y el corazón abiertos.

And I want to have this in this other way

Otro error muy común consiste en considerar la meditación como una herramienta para controlar o tener determinados pensamientos. Y, aunque esta noción encierre una cierta verdad, en el sentido de que hay formas concretas de meditación discursiva que apuntan al cultivo de cualidades concretas (como la bondad y la ecuanimidad) y de emociones positivas (como la alegría y la compasión), nuestras expectativas sobre la meditación suelen obstaculizar la puesta en practica de lo que mas necesitamos e impedirnos experimentar el momento presente tal cual es, en lugar del modo en que queremos verlo, con la mente y el corazón abiertos.

That's what I not find how to do.

The reason for wanting to do this is because I have 980 pages as the first paragraph, and to change these as I want, then I must do it manually and it would take a long time.

Any idea

Last edited by kabbalah (2016-01-10 16:35:18)

Offline

#8 2016-01-10 18:28:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,719

Re: (Solved) Format text in LibreOffice Writer

https://help.libreoffice.org/Writer/Rem … ine_Breaks

Google is nice

Last edited by ewaller (2016-01-10 18:29:04)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2016-01-10 19:12:50

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: (Solved) Format text in LibreOffice Writer

ewaller, I suggested that link already in #3 but the OP has reposted question again in #7.  Not sure exactly what is being requested as I too thought it was a reasonable solution? (although I prefer search and replace as I think there would be more control)

Offline

#10 2016-01-13 00:46:59

kabbalah
Banned
Registered: 2011-08-23
Posts: 150

Re: (Solved) Format text in LibreOffice Writer

Thanks to the people who responded to my concerns, their recommendations were spot on, however, could not get the job he wanted to do with LibreOffice, but I could make it with gedit. I have installed gedit and Gedit plugins. With the option to search and replace in gedit, as in the picture accompanying this response.

Chuleando boxes: regular expression, match only complete words and set about.
And \n.

Offline

Board footer

Powered by FluxBB