I am running Wolfram 14.1 on Arch Linux. I'm not sure when this problem first started; I vaguely recall having some marginally slow PDF export times on an older version, but nothing like what's happening now.
Currently, when I try to export to PDF, the program becomes non-responsive. The PDF file gets created on disk immediately, but is zero bytes in size. Eventually, after a period ranging between 2 minutes at best and around 4 minutes at worst, the program comes back to life, and the PDF file gets successfully exported.
Very occasionally, I get normal behaviour, where no unresponsiveness occurs and the PDF export completes successful straightaway. But that's a rarity; I would say at least 90% of the time I try exporting, I frustratingly have to sit there and wait a few minutes to get the PDF output.
Please note also that this happens regardless of which method I use to export the PDF:
- File --> Save As --> Save as PDF
- File --> Print --> Print to File (PDF)
- Running the command
Export["notebook.pdf", EvaluationNotebook[]];
I am just about at my wits' end. I have tried playing around with a few different settings, and while at times I've thought I've stumbled upon what was causing the slowdown, I can only presume that it must have been a random occurrence, as on subsequent export attempts it returns to the same old extremely slow behaviour.
Any ideas or advice would be greatly appreciated.