branch: externals/auctex commit 93d50ea9920767901221f54ad566c6b3e9a1f462 Author: Mosè Giordano <m...@gnu.org> Commit: Mosè Giordano <m...@gnu.org>
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 <m...@gnu.org> + + * style/pstricks.el ("pstricks"): Do not disable PDF mode if XeTeX + engine is used. Suggested by Mandar Mitra. + 2015-10-09 Tassilo Horn <t...@gnu.org> * 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