I've used LaTeX and pdflatex with very good results, and I'm a total newb.
But Scribus is very serious about PDFs: https://www.scribus.net/category/why-scribus/
> Scribus was the first DTP program in the world that supported the demanding PDF/X-3 specification.
No idea what that is but might be worth checking out.