On 09/04/2024 00:31, Rudi C wrote:
I want to automatically preview all LaTeX fragments if the buffer was opened by the user

Be careful and limit automatic preview to files you created yourself. Doing so for an arbitrary file downloaded from net might cause huge amount of garbage files in /tmp.

Emacs-29.3 includes a fix for CVE-2024-30204 that is specific for email attachment inline preview. When a regular file is opened, weird LaTeX code inside still may be executed. There is no general way to determine if specific file should be treated as trusted.

Reply via email to