Hello Uwe, On 31/08/2025, Uwe Brauer wrote: >> this. Her is what I tried (I don't like lambdas) >> Which parts of the preview do you want to turn off? >> The automatic preview update, or the showing of the frame? > The automatic preview update!
Maybe try this function --8<---------------cut here---------------start------------->8--- (defun my/point-preview-toggle-auto (arg) (interactive (list 'toggle)) (setq arg (if (eq arg 'toggle) (eq preview-point-auto-p 'ignore) arg)) (if arg (progn (setq preview-point-auto-p #'texmathp) (add-hook 'after-change-functions #'preview-point-buf-change nil t) ) (setq preview-point-auto-p #'ignore) (remove-hook 'after-change-functions #'preview-point-buf-change t))) --8<---------------cut here---------------end--------------->8--- > > Well I see also a file section1-intro.ini > if the file I open is section1-intro.tex. > > Not sure why Me neither. What does this file have? I don't think the preview code outputs ini files. Best regards, -- Al