auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] pstricks style for 11.89


From: Jean-Jacques Rétorré
Subject: Re: [AUCTeX] pstricks style for 11.89
Date: Mon, 25 Jan 2016 22:27:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

lun. 25 janv. 2016,  Mosè Giordano <address@hidden> nous disait que :

> Hi JJ,
>
> 2016-01-25 12:54 GMT+01:00 Jean-Jacques Rétorré <address@hidden>:
>>
>> From AUCTeX-11-89, TeX-normal-mode on a document including
>> \include{patricks} set TeX-PDF-mode to t.
>
> I can't understand.  If I have a
>
>     \include{pstricks}
>
> line in a document `TeX-PDF-mode' is set to nil, not t.  Style file
> style/pstricks.el explicitly set it unless "pst-pdf" is loaded or
> XeTeX engine is used.

It worked that way with AUCTeX-11-87 from the Debian repository, but not
with AUCTeX-11-89 from elpa. I don't want to use XeTeX for many reasons.

I tried to change style/pstricks.el

,----[ my-pstricks.el ]
| (TeX-add-style-hook
|  "pstricks"
|  (lambda ()
|    (unless (or (member "pst-pdf" TeX-active-styles)
|              (eq TeX-engine 'xetex))
|      (setq TeX-PDF-via-dvips-ps2pdf t)
| ;;     (TeX-PDF-mode-off)
|      )
`----

without any effect.
What should I do ?


Cordialement
--
JJR.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]