I am running LibreOffice 126.96.36.199 420m0(Build:2) on Ubuntu, and using it to convert RTF documents to PDF using the --headless mode command line:
libreoffice --headless --norestore --convert-to pdf myfile.rtf
The reason for using version 188.8.131.52 is that I have not been able to retain hanging indents and other styles when converting with newer versions of Libreoffice.
When viewing my RTF document in Word and then printing to PDF, the whole document fits comfortably in a single page (Times New Roman, Folio paper size). However, when converting the same RTF document with Libreoffice, the resulting PDF no longer fits in a single page.
On closer examination, the difference appears to be in the line spacing, where the Libreoffice converted PDF has a greater line spacing than the original Word RTF.
Is there anyway to control this, so that the original Word RTF line spacing is retained?
Many thanks for any help or info.