TransWikia.com

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)

(TeX-add-style-hook
"pstricks"
(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!

Ask a Question

Get help from others!

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