lun. 25 janv. 2016,  Mosè Giordano <[email protected]> nous disait que :

> Hi JJ,
>
> 2016-01-25 12:54 GMT+01:00 Jean-Jacques Rétorré <[email protected]>:
>>
>> 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.

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to