Any recommendations for a PDF editor? I’ve been using LibreOffice Draw, but it doesn’t seem to preserve all the formatting/positioning.
Xournalpp is what you are looking for.
It has a horrible outdated interface, but it makes layerwise edits and preserves the original data of the doc.
I’ve used Inkscape to good effect before (although, typically only for single page documents). Sometimes the fonts give trouble, but the placement is typically good.
Unfortunately not open source, but I have good experience with Master pdf Editor. It “is a proprietary application to edit PDF documents on Linux, Windows and macOS. It can create, edit (insert text or images), annotate, view, encrypt, and sign PDF documents.”: https://www.linuxuprising.com/2019/04/download-master-pdf-editor-4-for-linux.html
+1 for master PDF editor. It’s the only one that I found working. There are 2 version: one completely free (V4) and one with subscription (V5)
I haven’t noticed that w/ LibreOffice Draw and I’m quite happy with it
To the best of my knowledge, there isn’t a good FOSS PDF editor.
There’s LibreOffice Draw, but as you said, it messes up the formatting. There’s also Inkscape, but good luck if you have pages of text. You can also try Scribus, but I wouldn’t say it’s good (or intuitive).
If all you want to do is write over a PDF, put (not edit, nor remove) text, formulae, or images, then Xournal++ is very decent.
If I need to edit a PDF, I use (*gags*) Adobe Acrobat running in Wine (with Lutris is very easy). It’s as proprietary and evil as it can be, but it’s good at editing PDFs.