Hi all, After a bit of debugging (using `(debug-on-variable-change 'TeX-PDF-from-DVI)`) and reading disassembled elisp code, I have found the source code where the variable `TeX-PDF-from-DVI` is set:
~~~ style/pstricks.el 782 (TeX-add-style-hook 783 "pstricks" 784 (lambda () 785 (unless (or (member "pst-pdf" TeX-active-styles) 786 (eq TeX-engine 'xetex)) 787 ;; Leave at user's choice whether to disable `TeX-PDF-mode' or 788 ;; not. Instead set up `TeX-PDF-from-DVI' option so that AUCTeX 789 ;; takes dvips+ps2pdf route when `TeX-PDF-mode' is enabled. 790 ;; (TeX-PDF-mode-off) 791 (setq TeX-PDF-from-DVI "Dvips")) ~~~ I think the comment is with regard to a patch. Previously, TeX-PDF-mode-off was set, but a patch just set `TeX-PDF-from-DVI`. However, I still find it weird that the variable is set at all. I don't use `pstricks`, but the `standalone` package seems to load this package. On 11/01/2021 04:02, Ikumi Keita wrote: > It doesn't occur for me. I guess that something in your personal > customization or its parent document, or both, are involved in this > issue. More detail is necessary to discuss: >> 1.) How did this happen? 2.) How can I turn off this feature? Now that I've solved the first question: 3.) How are our setups different such that you don't run the above code? -- Maximilian