LaTeX pstricks pdf compilation without any specific configuration

Emacs Asked by gigiair on January 4, 2022

I changed the auctex style file pstricks.el (from lines 779-784)

(lambda ()
  (unless (or (member "pst-pdf" TeX-active-styles)
       (eq TeX-engine 'xetex))
-     (TeX-PDF-mode-off)
+   (setq TeX-PDF-from-DVI "Dvips"
+   (message "TeX-PDF-mode : on, TeX-PDF-from-DVI : Dvips"))

My LaTeX files compile gently to pdf using C-c C-a (TeX-command-run-all) whether the tex file use pstricks package or not.

As I am not a real elisp wizard, I wonder if there is a side effect that I missed and that could cause me some future trouble ?

Add your own answers!

Related Questions

Match undone in sparse tree

2  Asked on February 9, 2021 by ivan-perez


Different fill-column for comments than code in programming modes

1  Asked on February 5, 2021 by daniel-doherty


How can I get a ruler at column 80?

8  Asked on February 3, 2021 by jorgen-schfer


Relationship between Skeleton and Tempo

1  Asked on February 2, 2021


keybinding behavior and smartparens

0  Asked on January 30, 2021 by andi


Emacs keeps overwriting files in Haskell mode

1  Asked on January 30, 2021 by ashesh


Continuously redirect debugging information (e.g. *Messages*) to file

0  Asked on January 29, 2021 by alexey-shiklomanov


how do I customize spacemacs default buffer

3  Asked on January 28, 2021 by fangxing


Open PDF files with pdf-tools does not work

0  Asked on January 23, 2021 by infinitelooper


org-mode document structure / templates

1  Asked on January 22, 2021 by mr-hasquestions


use-package and package-initialize problem with emacs27

1  Asked on January 15, 2021 by chakravarthy-raghunandan


Recentf list not updated

0  Asked on January 9, 2021 by gub


Aggregate tag lists for completion in orgmode

0  Asked on January 8, 2021 by user1683620


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP