How to prevent text going out of page frame?

Afrter having done a few OCR, I find myself with a document having text overstepping the page limit. I would like to keep the manual formatting because it might be relevant for the fidelity to the original, but I would like the paragraphs to “fit” within the page. Ho does one do that?

Schermata 2021-12-09 alle 14.26.58

Version: 7.1.8.1 / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 2; OS: Mac OS X 10.13.6; UI render: default; VCL: osx
Locale: it-IT (it_IT.UTF-8); UI: en-US
Calc: threaded

Thank you, here is the file: (somehow I could not reply to you, @Hrbrgr I hope that you’ll see this.
All-Art-HUvB-ITA.Ask.odt (95.9 KB)

EDIT @Hrbrgr, You will be notified when someone mentions the @name or replies to your post.

1 Like

It looks to me like you didn’t scan OCR text, but a bitmap.

Please upload a sample document here, max 2-3 pages, to be able to analyze it. Thanks.


EDIT 20211209 16.35 MEZ

I have now edited only the plain text.
All-Art-HUvB-ITA.Ask worked.odt (26,1 KB)

You are correct in that it is text and it is not a bitmap.
By inserting the text (wherever from), the text has undergone a direct formatting. Direct formatting is not modifiable via style sheets because you are in their rank above style sheets.

I have made the following change:

  1. Select the text and cancel the direct formatting ( Format>Clear Direct Formatting menu).
  2. Assigned the paragraph style “Textbody”.
  3. Changed the paragraph style “Textbody”, font Times New Roman, font size 9.5.

When I first opened your document, it was shown “TimesNewRomanPSMT, 9.5pt”.
Unfortunately, this font is not available for me.

For more insights on styles and how to format a document well, read here:

Professional text composition with Writer

And you can download the free documentation:

English documentation

Thank you @Hrbrgr ! Your suggestions were very helpful and although I would like to avoid cancelling direct formatting (as mentioned above) in my document in order for ex. to keep italics, changing paragraph style as you suggested did the trick. I simply searched for Default paragraph style and replaced it with Default paragraph style.

If you copy text from other sources and paste it into LibreOffice in the future, you should paste this text as unformatted text.
Use the Ctrl + Shift + V keys and select “Unformatted Text” in the dialog.
However, you will not be able to see what hidden formatting you are including in the clipboard of your operating system.

You should reproduce the visible formatting of the original text in LibreOffice.


taken from another comment:
You should know that the “Default” paragraph style is the “mother” of almost all other paragraph styles. Therefore, your change in “Default” will affect all paragraph styles hierarchically below it. So it is not necessarily a good idea to change the “Default” paragraph style. It is recommended to leave it untouched and create your own paragraph styles derived from “Default” for your own purposes.


taken from another comment:

Doing so, did I leave the “Default” paragraph style unchanged?

No.


I recommend you to check out the link above “Professional text composition with Writer” and click there.
Take some time that will be rewarding for you. Thank you.

Thank you @Hrbrgr! I forgot to mention that reason why I avoid starting with plain text is to keep some direct formatting produced by the ocr that may optically help me to reproduce the original format: italics, small caps, superscript and also headings since their visual formatting may help me to recognize them and replace them more quickly. Up to now, what I do is that I apply emphasis to italics, a character style called small caps to small caps and a character style superscript to the superscript coming from the OCR. I do the same with OCR Headings and to OCR quotations: I replace them with my own styles. When I am done, then I clear all direct formatting and the text is then clean from any unwanted direct formatting. Would that be acceptable?

Would that be acceptable?

In principle it does, if you take care to mark ca., +1 line before and after the text, then it should work. I can fill you but No warranty card. :blush:

Thank you for your patience @Hrbrgr :slight_smile: what does
if you take care to mark ca., +1 line
mean?

If you are working in Writer, turn on Formatting Marks in the Standard toolbar.
If you select only the plain text, unwanted formatting may remain in the end-of-paragraph character, which could irritate you later.
Therefore, mark an additional line above and below the inserted text, which does not originate from the insertion. Like this:



but not like this:

Writer - Text ausreichend markieren - nicht so

Thank you @Hrbrgr !

1 Like

Thank you @Hrbrgr I expressed myself imprecisely: I did not change the default paragraph style (or so I hope) but opened the advanced search window and selecting “paragraph styles” I searched there any existing “Default” paragraph style in the document and changed it to my “Default” paragraph style. Would that be correct? Doing so, did I leave the “Default” paragraph style unchanged?

Hi @Hrbrgr I still do not see how applying my Default paragraph style to the “Default” paragraph style that came with the OCR, could change the parameters of my Default paragraph style. I checked and the Default PStyle is still Liberation Serif 12. And when I do cancel the direct formatting in a portion of the text without italics, it does apply Liberation Serif 12.

EDIT @Hrbrgr , please see above.

Thanks! The documentation is very helpful.