Dr. Werner Fink 2013-06-06 11:03:22 +00:00 committed by Git OBS Bridge
parent 91d5cfc6af
commit 98e5ed1198
7 changed files with 22 additions and 76 deletions

View File

@ -1,44 +0,0 @@
--- preview/preview.el
+++ preview/preview.el 2010-10-13 10:01:38.999927331 +0000
@@ -369,6 +369,10 @@ See also `preview-gs-command'."
Buffer-local to the appropriate TeX process buffer.")
(make-variable-buffer-local 'preview-gs-queue)
+(defvar preview-pdf-filename ""
+ "Name of the PDF file used for preview.")
+(make-variable-buffer-local 'preview-pdf-filename)
+
(defvar preview-gs-outstanding nil
"Overlays currently processed.")
(make-variable-buffer-local 'preview-gs-outstanding)
@@ -704,7 +708,7 @@ Gets the usual PROCESS and STRING parame
preview-gs-command-line)
" ") "''\n")
(setq preview-gs-answer "")
- (process-kill-without-query process)
+ (set-process-query-on-exit-flag process nil)
(set-process-sentinel process #'preview-gs-sentinel)
(set-process-filter process #'preview-gs-filter)
(process-send-string process preview-gs-init-string)
@@ -1072,6 +1076,13 @@ NONREL is not NIL."
(caar preview-ps-file))
(car preview-ps-file))))
(setq preview-gs-dsc (preview-dsc-parse file))
+ (setq preview-gs-command-line
+ (append (list "-dDELAYSAFER")
+ (remove "-dSAFER" preview-gs-command-line)
+ (list "-c"
+ (format "<</PermitFileReading[%s %s]>> setuserparams .locksafe"
+ (preview-ps-quote-filename file)
+ (preview-ps-quote-filename preview-pdf-filename)))))
(setq preview-gs-init-string
(concat preview-gs-init-string
(format "[%s(r)file]aload exch %s .runandhide aload pop "
@@ -3100,6 +3111,7 @@ If FAST is set, do a fast conversion."
(setq tempdir TeX-active-tempdir
pdfsource (funcall `,(car file) "pdf")))))
(name "Preview-PDF2DSC"))
+ (setq preview-pdf-filename pdfsource)
(setq TeX-active-tempdir tempdir)
(setq preview-ps-file (preview-attach-filename
pdfsource

View File

@ -1,13 +0,0 @@
--- font-latex.el 2011/05/01 14:54:21 5.193
+++ font-latex.el 2012/07/04 06:11:58 5.194
@@ -1952,8 +1952,8 @@
(symbol-function 'font-latex-make-built-in-keywords))
(dolist (elt font-latex-built-in-keyword-classes)
(let ((name (nth 0 elt)))
- (byte-compile (intern (concat "font-latex-" name)))
- (byte-compile (intern (concat "font-latex-" name "-make"))))))
+ (byte-compile (intern (concat "font-latex-match-" name)))
+ (byte-compile (intern (concat "font-latex-match-" name "-make"))))))
;; Provide ourselves:

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab058ebe0c223cd5f897bc0d864628548ea1ca7311dc5b8372fb094f81803ad1
size 958514

View File

@ -20,13 +20,13 @@
'((tex-mode . tex-mode)
(plain-tex-mode . tex-mode)
--- tex.el
+++ tex.el 2006-06-29 18:40:59.000000000 +0200
@@ -86,7 +86,7 @@
+++ tex.el 2013-06-06 10:47:43.941439046 +0000
@@ -326,7 +326,7 @@ string."
;; TeX-print-command.
;; How to print.
-(defcustom TeX-print-command "%(o?)dvips -P%p %r %s"
+(defcustom TeX-print-command "%(o?)dvips %r -f %s | lpr -P%p"
"*Command used to print a file.
(defcustom TeX-print-command
- "{ test -e %s.dvi && %(o?)dvips -P%p %r %s; } || lpr -P%p %o"
+ "{ test -e %s.dvi && %(o?)dvips %r -f %s | lpr -P%p; } || lpr -P%p %o"
"Command used to print a file.
First `%p' is expanded to the printer name, then ordinary expansion is

3
auctex-11.87.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63d57229e585dbf727f5545337615b997488bfdf475274da0718c90b77bd5cf2
size 1206073

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jun 6 10:50:17 UTC 2013 - werner@suse.de
- Update to auctex 11.87
* Includes the preview fix for ghostscript
* Includes the changes for font-late.elc
- Remove auctex-11.86-font-latex.5.194.patch
-------------------------------------------------------------------
Thu Jun 6 10:27:26 UTC 2013 - werner@suse.de
@ -259,6 +267,6 @@ Wed May 28 14:40:01 MET DST 1997 - werner@suse.de
Mon Nov 4 16:12:03 MET DST 1996 - werner@suse.de
- auctex: Version 9.5a für GNU-emacs und X-emacs
- auctex: Version 9.5a für GNU-emacs und X-emacs

View File

@ -40,17 +40,15 @@ BuildRequires: texlive-collection-latexextra
BuildRequires: texlive-tex
BuildRequires: texlive-texinfo
%endif
Version: 11.86
Version: 11.87
Release: 0
Summary: AUC TeX: An Emacs Extension
License: GPL-2.0+
Group: Productivity/Editors/Emacs
Source: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.bz2
Source: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
Url: http://www.gnu.org/software/auctex
Patch: auctex-11.86.dif
Patch1: auctex-11.85-preview.dif
Patch: auctex-11.87.dif
Patch2: auctex-11.86-dinbrief.dif
Patch3: auctex-11.86-font-latex.5.194.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -74,10 +72,7 @@ you cannot use this package for XEmacs.
%prep
%setup -n auctex-%{version}
%patch
%patch1
%patch2
# PATCH-FIX-UPSTREAM: Make font-latex.elc work with GNU emacs 24.3
%patch3
%build
unset ${!LC_*}