[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 01dc048 78/80: Change default for new Ghostscrip
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 01dc048 78/80: Change default for new Ghostscript |
Date: |
Wed, 16 Oct 2019 11:07:21 -0400 (EDT) |
branch: externals/auctex
commit 01dc048dedcb5e13152c9439612c817671aa560e
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Change default for new Ghostscript
* preview.el.in (preview-pdf-color-adjust-method): Change the default
value to t and adjust doc string.
* doc/preview-problems.texi (No images are displayed with gs 9.27 and
earlier): Adjust its contents in line with the above change and change
the title from "... newer".
---
doc/preview-problems.texi | 29 ++++++++++++++---------------
preview.el.in | 7 ++-----
2 files changed, 16 insertions(+), 20 deletions(-)
diff --git a/doc/preview-problems.texi b/doc/preview-problems.texi
index e10fdd7..264e14c 100644
--- a/doc/preview-problems.texi
+++ b/doc/preview-problems.texi
@@ -19,7 +19,7 @@ newer versions of the problematic software or by simple
patches.
* Too small bounding boxes::
* x-symbol interoperation::
* Middle-clicks paste instead of toggling::
-* No images are displayed with gs 9.27 and newer::
+* No images are displayed with gs 9.27 and earlier::
@end menu
If you find something not mentioned here, please send a bug report using
@@ -139,8 +139,8 @@ search with @kbd{@key{RET}} before toggling and resume with
@kbd{C-s
C-s} or similar afterwards. Since previews over the current match will
auto-open, anyway, this should not be much of a problem in practice.
-@node No images are displayed with gs 9.27 and newer
-@section No images are displayed with gs 9.27 and newer
+@node No images are displayed with gs 9.27 and earlier
+@section No images are displayed with gs 9.27 and earlier
@previewlatex{} tries to adjust the foreground and background colors of
generated images to those of Emacs. Unfortunately, incompatible changes
@@ -148,22 +148,21 @@ introduced in Ghostscript 9.27 breaks the traditional
method partially,
and @previewlatex{} can display no images under certain circumstances.
A new method implemented alternatively works only with Ghostscript >
-9.27, so is disabled by default. If you are using those new
-Ghostscript, customize the option
-@code{preview-pdf-adjust-color-method}.
+9.27. If you are using Ghostscript 9.27 or earlier, customize the
+option @code{preview-pdf-adjust-color-method}.
@defopt preview-pdf-adjust-color-method
Method to adjust colors of images generated from @acronym{PDF}. It is
not consulted when the @LaTeX{} command produces @acronym{DVI} files.
-When the option is @code{t}, @previewlatex{} adjusts the FG and BG colors
-of the generated images by the new method. This method requires that
-Ghostscript has working @code{DELAYBIND} feature, thus is invalid with
-gs 9.27 (and possibly < 9.27).
+When the option is @code{t} (default), @previewlatex{} adjusts the FG
+and BG colors of the generated images by the new method. This method
+requires that Ghostscript has working @code{DELAYBIND} feature, thus is
+invalid with gs 9.27 (and possibly < 9.27).
-When it is @code{compatible} (default), @previewlatex{} uses traditional
-method. This option is provided for backward compatibility with older
-gs. See the below explanation for detail.
+When it is @code{compatible}, @previewlatex{} uses traditional method.
+This option is provided for backward compatibility with older gs. See
+the below explanation for detail.
When @code{nil}, no adjustment is done and ``black on white'' image is
generated regardless of Emacs color. This is provided for fallback for
@@ -191,6 +190,6 @@ written in the image although they may not match with your
Emacs color
well.
@end enumerate
-The default value will be changed to @code{t} after Ghostscript 9.28 is
-released.
+The default value used to be @code{compatible} for short period before
+Ghostscript 9.50 was released but now is @code{t}.
@end defopt
diff --git a/preview.el.in b/preview.el.in
index 03e1d9b..6699387 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -602,7 +602,7 @@ tag in the mode line."
(setq preview-error-condition nil
compilation-in-progress (delq process compilation-in-progress)))))
-(defcustom preview-pdf-color-adjust-method 'compatible
+(defcustom preview-pdf-color-adjust-method t
"Method to adjust colors of images generated from PDF.
It is not consulted when the latex command produces DVI files.
@@ -638,10 +638,7 @@ that case.
- Choose the value nil, which forces plain \"black on white\"
appearance for the generated image. You can at least read what
are written in the image although they may not match with your
-Emacs color well.
-
-The default value will be changed to t after Ghostscript 9.28 is
-released."
+Emacs color well."
:group 'preview-appearance
:type '(choice
(const :tag "Adjust to Emacs color (gs > 9.27)" t)
- [elpa] externals/auctex c07e4bf 49/80: Update style/AnonymousPro.el to package version 2.2, (continued)
- [elpa] externals/auctex c07e4bf 49/80: Update style/AnonymousPro.el to package version 2.2, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex a9b5eb1 67/80: ; * style/changelog.el (font-latex-add-keywords): Silence the compiler., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex dc5e90e 66/80: Add new style/multitoc.el, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex c5e47f8 80/80: ; Recompile using GNUMakefile after merge from origin/master, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex ff688b9 33/80: Stop depreciated usage of undeclared dynamic variable, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 3e179f8 53/80: Update style/fvextra.el to package version 1.4, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 3542a23 70/80: Update style/subcaption.el to package version 1.3, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 7cb6c19 59/80: Fix lisp example for `TeX-electric-math', Tassilo Horn, 2019/10/16
- [elpa] externals/auctex a033c30 43/80: ; Use `LaTeX-extract-key-value-label', Tassilo Horn, 2019/10/16
- [elpa] externals/auctex aa17420 46/80: ; Silence the compiler, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 01dc048 78/80: Change default for new Ghostscript,
Tassilo Horn <=
- [elpa] externals/auctex 799c844 63/80: Add new style/changelog.el, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex dc2c2d6 65/80: Make "PDF Tools" viewer available under Windows and macOS, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex dbc1fa0 71/80: Support new kernel macros \Ref and \labelformat, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 7cd329f 74/80: Add fontification support for ragged2e macros, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 85dd4fe 73/80: Delete \Ref and \labelformat from varioref.el, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex d93db40 72/80: * latex.el (LaTeX-common-initialization): Add \Ref to `TeX-complete-list'., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex cc52bce 77/80: Fix for revised file access controls of gs (bug#37719), Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 65607e5 76/80: * preview.el.in (preview-undump-replacements): Fix last commit., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex c6d6c19 79/80: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2019/10/16