[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?
From: |
Ikumi Keita |
Subject: |
Re: Why does a `standalone` document set `TeX-PDF-from-DVI`? |
Date: |
Tue, 12 Jan 2021 14:08:13 +0900 |
Hi Maximilian,
>>>>> Maximilian Wuttke <mwuttke97@posteo.de> writes:
> 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.
Strange. More detail is necessary to find out why. Could you show your
config related to AUCTeX (in your ~/.emacs.d/init.el, ~/.emacs or
something like those)? Also, include the diagnosis provided by M-x
TeX-submit-bug-report.
Regards,
Ikumi Keita
- 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, 2021/01/11
- 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