emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 93d50ea 75/78: Do not disable PDF when using pst


From: Tassilo Horn
Subject: [elpa] externals/auctex 93d50ea 75/78: Do not disable PDF when using pstricks with XeTeX.
Date: Mon, 19 Oct 2015 09:11:20 +0000

branch: externals/auctex
commit 93d50ea9920767901221f54ad566c6b3e9a1f462
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    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.
---
 ChangeLog         |    5 +++++
 style/pstricks.el |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

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



reply via email to

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