[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?
From: |
Maximilian Wuttke |
Subject: |
Re: Why does a `standalone` document set `TeX-PDF-from-DVI`? |
Date: |
Mon, 11 Jan 2021 14:34:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
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
- Why does a `standalone` document set `TeX-PDF-from-DVI`?, Maximilian Wuttke, 2021/01/09
- Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?, Ikumi Keita, 2021/01/10
- Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?,
Maximilian Wuttke <=
- Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?, Arash Esbati, 2021/01/13
- Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?, Maximilian Wuttke, 2021/01/13
- Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?, Ikumi Keita, 2021/01/14
- Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?, Maximilian Wuttke, 2021/01/14
- Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?, Arash Esbati, 2021/01/15
- Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?, Maximilian Wuttke, 2021/01/16