[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 5ce08ab0cc013b934e2dd
From: |
Ikumi Keita |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 5ce08ab0cc013b934e2dd65bf8ae4f73be35a572 |
Date: |
Sat, 9 Jun 2018 00:14:02 -0400 (EDT) |
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 5ce08ab0cc013b934e2dd65bf8ae4f73be35a572 (commit)
from d5f98ae2a837935d5ed4546a0e4847d9c9057130 (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 5ce08ab0cc013b934e2dd65bf8ae4f73be35a572
Author: Ikumi Keita <address@hidden>
Date: Sat Jun 9 13:11:21 2018 +0900
Raise robustness of call of dvipng command
* preview.el.in (preview-dvipng-command): Remove spurious quotes which
cause error for file names with space. (bug#31684)
(preview-dvipng-color-string): Replace single quotes with double
quotes for w32 users.
* doc/preview-latex.texi: (The preview images): Add warning that
(u)pLaTeX is not compatible with dvipng.
diff --git a/doc/preview-latex.texi b/doc/preview-latex.texi
index 39eed39..d89c5a9 100644
--- a/doc/preview-latex.texi
+++ b/doc/preview-latex.texi
@@ -710,6 +710,12 @@ if the @acronym{DVI} file contains PostScript specials in
which case the
affected images will get run through Dvips and Ghostscript once
@samp{dvipng} finishes.
+Note for address@hidden and address@hidden users: It is known that
@code{dvipng}
+is not compatible with address@hidden and address@hidden If
address@hidden is set to @samp{dvipng} and (u)address@hidden is
+used, @samp{dvipng} just fails and @previewlatex{} falls back on Dvips
+and Ghostscript.
+
@item preview-gs-options
Most interesting to the user perhaps is the setting of this variable.
It contains the default antialiasing settings @option{-dTextAlphaBits=4}
diff --git a/preview.el.in b/preview.el.in
index 2d81cce..7c7cecc 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -522,7 +522,7 @@ an explicit list of elements in the CDR, or a symbol to
be consulted recursively.")
(defcustom preview-dvipng-command
- "dvipng -picky -noghostscript %d -o \"%m/prev%%03d.png\""
+ "dvipng -picky -noghostscript %d -o %m/prev%%03d.png"
"*Command used for converting to separate PNG images.
You might specify options for converting to other image types,
@@ -796,13 +796,13 @@ Pure borderless black-on-white will return an empty
string."
(border (aref colors 3)))
(concat
(and bg
- (format "--bg 'rgb %s' "
+ (format "--bg \"rgb %s\" "
(mapconcat #'preview-gs-color-value bg " ")))
(and fg
- (format "--fg 'rgb %s' "
+ (format "--fg \"rgb %s\" "
(mapconcat #'preview-gs-color-value fg " ")))
(and mask border
- (format "--bd 'rgb %s' "
+ (format "--bd \"rgb %s\" "
(mapconcat #'preview-gs-color-value mask " ")))
(and border
(format "--bd %d" (max 1 (round (/ (* res border) 72.0))))))))
-----------------------------------------------------------------------
Summary of changes:
doc/preview-latex.texi | 6 ++++++
preview.el.in | 8 ++++----
2 files changed, 10 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 5ce08ab0cc013b934e2dd65bf8ae4f73be35a572,
Ikumi Keita <=