Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-15 Thread Mosè Giordano
Hi Mandar, 2015-10-14 6:00 GMT+02:00 Mandar Mitra : > Mosè Giordano wrote (Tue, Oct 13, 2015 at 09:58:24PM +0200): >> > (unless (or (member "pst-pdf" TeX-active-styles) >> > (eq TeX-engine 'xetex)) >> >... >> >> Thanks for your suggestion, I applied this

Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-15 Thread Mandar Mitra
Hi Mosè, > > C-h v TeX-active-styles shows that it contains auto-pst-pdf rather than > > pst-pdf > > Could you please provide a MWE? Ok, I found out why this happens in my setup, but not with emacs -Q (followed by loading auctex). 1. I have the customisation '(TeX-auto-local "~/latex/auto/")

Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-13 Thread Mandar Mitra
Mosè Giordano wrote (Tue, Oct 13, 2015 at 09:58:24PM +0200): > > (unless (or (member "pst-pdf" TeX-active-styles) > > (eq TeX-engine 'xetex)) > >... > > Thanks for your suggestion, I applied this change. C-h v TeX-active-styles shows that it contains auto-pst-pdf rather than

[AUCTeX] pstricks and TeX-PDF-mode

2015-10-13 Thread Mandar Mitra
Hello, I use xetex as my default TeX-engine, and it seems to handle pstricks without any problems, but style/pstricks.el contains the following: 780(unless (member "pst-pdf" TeX-active-styles) 781 (TeX-PDF-mode-off)) So whenever I use the pstricks package, I have to turn

Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-13 Thread Joost Kremers
On Di, Okt 13 2015, Mandar Mitra wrote: > I use xetex as my default TeX-engine, and it seems to handle pstricks without > any problems, but style/pstricks.el contains the following: > > 780(unless (member "pst-pdf" TeX-active-styles) > 781

Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-13 Thread Mosè Giordano
Hi Mandar, 2015-10-13 17:40 GMT+02:00 Mandar Mitra : > Hello, > > I use xetex as my default TeX-engine, and it seems to handle pstricks without > any problems, but style/pstricks.el contains the following: > > 780(unless (member "pst-pdf" TeX-active-styles) >

Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-13 Thread Mosè Giordano
Hi Joost, 2015-10-13 19:01 GMT+02:00 Joost Kremers : > On Di, Okt 13 2015, Mandar Mitra wrote: >> I use xetex as my default TeX-engine, and it seems to handle pstricks >> without any problems, but style/pstricks.el contains the following: >> >>