[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex d7cba92 21/30: Prepare for pdf output for PSTric
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex d7cba92 21/30: Prepare for pdf output for PSTricks documents |
Date: |
Fri, 25 Sep 2020 11:00:15 -0400 (EDT) |
branch: externals/auctex
commit d7cba92dbe15474dceb4c18d021ef9535da5050e
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Prepare for pdf output for PSTricks documents
* style/pstricks.el ("pstricks"): Prepare for pdf output rather than
turn off PDF mode.
(): Update copyright year.
* doc/changes.texi: Mention above change.
---
doc/changes.texi | 9 +++++++++
style/pstricks.el | 9 +++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/doc/changes.texi b/doc/changes.texi
index bc2bfb6..5127927 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,15 @@
@itemize @bullet
@item
+Support for @samp{PSTricks} is now @acronym{PDF}-oriented. @AUCTeX{} no
+longer turns off PDF mode for @samp{PSTricks} documents even without
+@samp{pst-pdf}. It now sets up @code{TeX-PDF-from-DVI} option so that
+@acronym{PDF} output is generated when @code{TeX-PDF-mode} is enabled
+(default). Users who want @acronym{DVI} output should disable PDF mode
+explicitly by file local variable, or customize @code{TeX-PDF-mode} to
+@code{nil}.
+
+@item
The function @code{font-latex-update-font-lock} has been obsoleted in
order to fix @samp{bug#37945}. That function was used by several style
files in order to refresh fontification after adding new symbols or
diff --git a/style/pstricks.el b/style/pstricks.el
index 33652f9..1a24767 100644
--- a/style/pstricks.el
+++ b/style/pstricks.el
@@ -1,6 +1,7 @@
;;; pstricks.el --- AUCTeX style for the `pstricks' package.
-;; Copyright (C) 2007, 2009, 2013-2015, 2018 Free Software Foundation, Inc.
+;; Copyright (C) 2007, 2009, 2013-2015, 2018, 2020
+;; Free Software Foundation, Inc.
;; Author: Holger Sparr <holger.sparr@gmx.net>
;; Maintainer: auctex-devel@gnu.org
@@ -781,7 +782,11 @@ comma separated list. Point has to be within the sexp to
modify."
(lambda ()
(unless (or (member "pst-pdf" TeX-active-styles)
(eq TeX-engine 'xetex))
- (TeX-PDF-mode-off))
+ ;; Leave at user's choice whether to disable `TeX-PDF-mode' or
+ ;; not. Instead set up `TeX-PDF-from-DVI' option so that AUCTeX
+ ;; takes dvips+ps2pdf route when `TeX-PDF-mode' is enabled.
+ ;; (TeX-PDF-mode-off)
+ (setq TeX-PDF-from-DVI "Dvips"))
(mapc 'TeX-auto-add-regexp LaTeX-auto-pstricks-regexp-list)
(LaTeX-add-environments
'("pspicture" LaTeX-pst-env-pspicture)
- [elpa] externals/auctex 55e8842 15/30: Treat \choice like \item, (continued)
- [elpa] externals/auctex 55e8842 15/30: Treat \choice like \item, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 971bece 14/30: Update style/csquotes.el to package version 5.2j, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex a17fee2 16/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 59b7942 17/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 07b79fc 24/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 087b030 28/30: Simplify mode line for emacs 27, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex b06ca0a 25/30: Fix document, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 0692e51 23/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 601e6a3 01/30: Get rid of gabage in generated texi file, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 4d58d7d 09/30: Don't extend font lock region too eagerly (bug#42267), Tassilo Horn, 2020/09/25
- [elpa] externals/auctex d7cba92 21/30: Prepare for pdf output for PSTricks documents,
Tassilo Horn <=
- [elpa] externals/auctex a27850f 10/30: Fix previous commit and add new test, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 67ecb0b 18/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 255e768 11/30: Cater for case where fontification match goes over limit, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 92aa02b 29/30: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex be4a912 26/30: ; Silence the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 3ef28a5 20/30: Add an extra check for tex-buf.el in some style hooks, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex f04a508 22/30: Restore all math environments in texmathp.el, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex 1bc7a21 30/30: ; Regenerate docs, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex ef1f670 27/30: ; Partially revert silencing the compiler, Tassilo Horn, 2020/09/25
- [elpa] externals/auctex b21889e 19/30: Merge prv-emacs.el into preview.el.in, Tassilo Horn, 2020/09/25