0

My presentation has like 30 slides, nothing fancy, mostly a couple of bullet points on each frame and in total like 10 small images. Still the export to beamer, i.e. a pdf takes like 10 seconds and Emacs freezes for the time.

Can anyone tell me why that is or how to fix it?

6
  • The images should be cached, so exporting again should avoid regeneration. Is that noticeably faster? You might also want to time individual steps, e.g. going to a LaTeX beamer file, rather than directly to PDF. Or you can profile the code, although that's probably best done after you narrowed down the cause of the slowdown. BTW, your title says "slower and slower" but you don't provide any evidence of that in the body of the question: when/how/how much faster was it and when/how/how much did it slow down? – NickD Jul 8 '20 at 13:58
  • it is hard to measure, I guess. Comes down to a feeling ob being unresponsive and taking like 10 seconds until Emacs is responsive again. I observed the same with vanilla Emacs -Q, so the config cannot be the problem. Emacs version is 26.3 and Org version is 9.3.7 – CD86 Jul 8 '20 at 14:19
  • You can forget my comment about the images above: it is nonsense. – NickD Jul 8 '20 at 14:29
  • A 34-slide document (with no images) took about 7 seconds on my (very old) workstation, from pressing C-c C-e l O to the pdf popping up, so I'd say it's about par for the course. Timing individual steps: org->tex is less than 1 sec, tex->pdf from the command line took about 2 seconds. So there is a substantial overhead that emacs imposes. Using elp to instrument the org prefix shows that org-latex-compile took almost 7 seconds. So at least you are not alone :-) – NickD Jul 8 '20 at 15:02
  • thank you for your effort. All right then, I just wished it would be more snappy ;) – CD86 Jul 8 '20 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.