Pagination problem - LibreOffice hangs, why?

For unknown reasons, whenever repagination occurs in my document, LibreOffice hangs even after I leave it for a long time. It sometimes occurs when I Save. Seems to always occur when I select Print Preview and Export as PDF. I have to kill the process.

Document loads OK.
Writer Version 7.4.3.2.
Windows 10.
Does anyone have suggestions what document issues can cause pagination to hang?


EDIT by @Hrbrgr from comment:

File is 40,000kB.
470 pages.
All images are included in file.
Saved in ODT format.

1 Like

How big is the file in kB and how many pages does it have?
Are many images also larger ones included?
In which file format do you save?

File is 40,000kB.
470 pages.
All images are included in file.
Saved in ODT format.
I suspect you would like a copy of the file which I am happy to supply.
However, I don’t belong to any file sharing services and don’t know how to
make it available.

Thanks
Rick

Such a big file can’t be uploaded here and contents would be probably redundant for the analysis to be done.

An important aspect of performance is how you format your document. If you practice what newbies think to be “intuitive”, i.e. direct formatting you put maximum stress on your file because every formatting is unique and must be explicitly repeated. On the contrary, styling defines a kind of dictionary of typographical effects to apply and only a reference to the dictionary entry is recorded when you format. This contributes both to file size minimisation, reuse of typographical effects and performance improvement when it come to layout the document.

Which is your work flow?

1 Like

I use paragraph and page styling, but there is some direct formatting. I
will go through the document and remove direct formatting where I can.

I would like your assessment of some other things I would like to try to
locate the problem.

  1. Starting at the end of the document, remove chapter by chapter until
    repagination works. Maybe there is an issue in a particular chapter and I
    can locate it.

  2. Install LibreOffice on another computer, copy my template there and
    open my file on that system.

  3. Completely remove LibreOffice from my computer using “Revo Uninstaller”
    and reinstall it. I would need to save my custom dictionary and template
    first. Is there anything else I should save?

I will keep this question open.

using “Revo Uninstaller”

You should avoid such non-operating system tools, especially when uninstalling or installing LibreOffice on Windows 10.
Unfortunately, this may delete something that is still needed.


Basically, uninstalling and reinstalling Libreoffice only very rarely leads to positive results.
The LibreOffice user profile remains normally unaffected.
Unfortunately, the user profile is also prone to cause problems.
LibreOffice user profile


Please still share what size in kB your 5 largest pasted images are. Thank you.

I will take your advice on non-operating system tools.

There are about 200 images in the document. They are all imbedded, so I
will need to search and find the originals to get the sizes. Give me a few
days.

There may be a quicker way to get size information if the images are embedded.

Copy your existing file and rename the copy to have the extension .zip instead of .odt. You should then be able to open the zip file using Windows’ file manager. In the unzipped file there will be a directory named Pictures, in which are stored all of the embedded images.

1 Like

That works. Thank you.

Five largest images in KB are:
2,023
1,458
1,310
1,299
1,281

There are 176 images. Vary in size from 2,023 down to 3

An image in landscape format should have a maximum of ≈ 500 kB if it extends to page width. This corresponds to a screenshot from a 1920 x 1080 pixel screen.
Make your own attempts to reduce an image and how it looks in your document.


  • What file format do the images have?

I will reduce the size of all images that are over about 500kB. This will take me a while.

Except for 2 pgn, 1 tiff and 1 pdf, all images are jpeg. I will convert them all to jpeg.