AnswerBun.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!

Related Questions

Can I take vector (SVG) screenshots of Emacs?

2  Asked on September 2, 2021 by clment

     

tramp and sudo: how to edit files under another account

3  Asked on September 2, 2021 by daniel-wu

 

Tramp session fails to recover from inactivity

2  Asked on September 2, 2021 by bignose

 

How company-mode suggestions are delivered?

1  Asked on September 2, 2021 by seonghyun-park

 

How to set utf-8 encoding for *markdown-output* buffer?

1  Asked on September 2, 2021 by volodymyr

 

Bind keybord shortcuts to a MIDI keyboard?

1  Asked on September 2, 2021 by gabriele-nicolardi

 

How to wrap lines at window edge

2  Asked on September 2, 2021 by lambda-pumpkin

 

C-h v gives ” Symbol’s value as variable is void: default

0  Asked on September 2, 2021 by brian-postow

     

Fixed length buffer for shell

1  Asked on September 2, 2021

 

Ask a Question

Get help from others!

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