auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 93d50ea9920767901221f


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 93d50ea9920767901221f54ad566c6b3e9a1f462
Date: Tue, 13 Oct 2015 19:45:07 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  93d50ea9920767901221f54ad566c6b3e9a1f462 (commit)
      from  1f116b8499a0bd6081a473fb53dbf49ba49514cb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 93d50ea9920767901221f54ad566c6b3e9a1f462
Author: Mosè Giordano <address@hidden>
Date:   Tue Oct 13 21:44:19 2015 +0200

    Do not disable PDF when using pstricks with XeTeX.
    
    * style/pstricks.el ("pstricks"): Do not disable PDF mode if XeTeX
    engine is used.  Suggested by Mandar Mitra.

diff --git a/ChangeLog b/ChangeLog
index 2c768b9..cd4d925 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-13  Mosè Giordano  <address@hidden>
+
+       * style/pstricks.el ("pstricks"): Do not disable PDF mode if XeTeX
+       engine is used.  Suggested by Mandar Mitra.
+
 2015-10-09  Tassilo Horn  <address@hidden>
 
        * latex.el (LaTeX-fill-move-to-break-point): Fill $...$ like
diff --git a/style/pstricks.el b/style/pstricks.el
index 02b2c30..5b6e828 100644
--- a/style/pstricks.el
+++ b/style/pstricks.el
@@ -776,7 +776,8 @@ comma separated list. Point has to be within the sexp to 
modify."
 (TeX-add-style-hook
  "pstricks"
  (lambda ()
-   (unless (member "pst-pdf" TeX-active-styles)
+   (unless (or (member "pst-pdf" TeX-active-styles)
+              (eq TeX-engine 'xetex))
      (TeX-PDF-mode-off))
    (mapc 'TeX-auto-add-regexp LaTeX-auto-pstricks-regexp-list)
    (LaTeX-add-environments

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    5 +++++
 style/pstricks.el |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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