From 3e657a1e2df3bd289ea7bbe35ee47a40031d7a115f042532fb338705dfddb720 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 18 Apr 2018 08:00:06 +0000 Subject: [PATCH] Update to auctex 12.1 due bug boo#1088548 OBS-URL: https://build.opensuse.org/package/show/editors/emacs-auctex?expand=0&rev=38 --- auctex-11.90.tar.gz | 3 -- auctex-12.1.tar.gz | 3 ++ dvips.patch | 2 +- emacs-auctex.changes | 83 ++++++++++++++++++++++++++++++++++++++++++++ emacs-auctex.spec | 6 ++-- 5 files changed, 90 insertions(+), 7 deletions(-) delete mode 100644 auctex-11.90.tar.gz create mode 100644 auctex-12.1.tar.gz diff --git a/auctex-11.90.tar.gz b/auctex-11.90.tar.gz deleted file mode 100644 index 1f19ac2..0000000 --- a/auctex-11.90.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c232fd8e57780edea28cd3035afcc2b6ed965b5954e96b34a258cacfcaaf18f -size 1437331 diff --git a/auctex-12.1.tar.gz b/auctex-12.1.tar.gz new file mode 100644 index 0000000..1d30af8 --- /dev/null +++ b/auctex-12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c95cca4d70a9783617f7b5035c5e2c77438fa35d2505555d40190ac2652a5db4 +size 1476296 diff --git a/dvips.patch b/dvips.patch index e342246..4863449 100644 --- a/dvips.patch +++ b/dvips.patch @@ -1,6 +1,6 @@ --- tex.el +++ tex.el 2015-11-14 12:10:30.386677534 +0200 -@@ -341,7 +341,7 @@ +@@ -345,7 +345,7 @@ ;; TeX-print-command. (defcustom TeX-print-command diff --git a/emacs-auctex.changes b/emacs-auctex.changes index 4cdda41..c1c93f8 100644 --- a/emacs-auctex.changes +++ b/emacs-auctex.changes @@ -1,3 +1,86 @@ +------------------------------------------------------------------- +Wed Apr 18 07:56:53 UTC 2018 - werner@suse.de + +- Update to 12.1 due bug boo#1088548 + * AUCTeX now requires GNU Emacs 24 or higher. Support for XEmacs has + + * Besides the change in the supported version of Emacs, there has + been no functional change in this release, which is equivalent to + version 11.92. + * preview-latex is compatible with Ghostscript 9.22 where the + operator '.runandhide' is removed. All occurrences of + '.runandhide' in preview-latex are replaced by alternative code + making it work with Ghostscript 9.22 again. + * AUCTeX has a new customize option + 'TeX-math-input-method-off-regexp'. When you begin to input a math + formula, the current input method is turned off if its name matches + this regular expression. + * The window system focus is pulled back to Emacs when viewing with + evince-compatible viewers if a new customize option + 'TeX-view-evince-keep-focus' is non-nil. + * The usual dose of bug fixes was administered. + * Now AUCTeX has a logo. The LaTeX code to create it is available in + the 'etc/' directory of the package. + * Add support for 'upmendex', an extension of 'makeindex' capable of + sorting indexes by unicode based ICU. + * Fix preview-latex to interact correctly with Japanese LaTeX. The + parsing routine was made robust not to be confused by the 7-bit + encoding of Japanese text and the necessary option to LaTeX command + is kept even when preamble caching is enabled. + * The new "Glossaries" entry in 'TeX-command-list' runs the command + 'makeglossaries'. + * Fontification of control symbols has been improved. Characters + defined in 'font-latex-match-simple-exclude-list' do not receive + any fontification. In DocTeX mode, the character '_' is removed + from 'font-latex-match-simple-exclude-list' in order to fontify + macros like '\__module_foo:nnn' correctly. + * Fontification of math environments has been improved. Optional + and/or mandatory argument(s) to environments are not fontified. + * 'preview.sty' loads 'luatex85.sty' if possible and should be + compatible with newer luaTeX versions. + * AUCTeX has a new customize option 'TeX-ispell-verb-delimiters'. + This string contains usual characters used as delimiters for + in-line verbatim macros like '\verb'. Text between delimiters + after an in-line verbatim macro will be skipped during spell + checking. + * Fontification of in-line verbatim macros has been improved. + 'font-latex.el' recognizes an optional or a mandatory argument for + macros like '\Verb' from 'fancyvrb.sty', '\mint' and '\mintinline' + from 'minted.sty' and fontifies verbatim content correctly. + * AUCTeX can put and parse labels in optional argument of + environments. Inserting labels is done by new function + 'LaTeX-env-label-as-keyval'. A new customize option + 'LaTeX-listing-label' is available as prefix to labels in code + typesetting environments, e.g. 'lstlisting' environment provided + by 'listings' package. 'LaTeX-listing-label' defaults to 'lst:'. + Parsing of labels for later referencing relies on two requirements: + 1. Label should come as last key-value argument, and + 2. label must be enclosed in braces, e.g. + \begin{lstlisting}[caption=Some Caption,label={lst:foo}] + ... + \end{lstlisting} + * The function 'LaTeX-label' now takes a second optional argument + 'NO-INSERT'. When non-'nil', 'LaTeX-label' reads a label and + returns it as a string. This argument is also passed to any + function bound to 'LaTeX-label-function' (see next item). + * *Incompatible change:* The signature for the function passed with + the customize option 'LaTeX-label-function' has changed. The + function bound to this variable is now expected to take an optional + second argument 'NO-INSERT'. When this argument is non-'nil', the + function should read and only return a label as a string; insertion + is done by another function. + * Directory local variables were ineffective for + 'japanese-latex-mode' and 'japanese-plain-tex-mode'. This bug was + fixed. (This was actually done in AUCTeX 11.90, but not + advertised) + * The output of Japanese text from Japanese TeX engines is decoded + correctly for most cases, according to the encoding of the TeX + documents and the locale. The difference between MS Windows, macOS + and unix-like OS is taken into account. (This was actually done in + AUCTeX 11.90, but not advertised) + * Quite a few new LaTeX packages are supported. + * As usual, many bugs were fixed. + ------------------------------------------------------------------- Thu Jun 29 09:00:16 UTC 2017 - werner@suse.de diff --git a/emacs-auctex.spec b/emacs-auctex.spec index 7b335fe..c0a1e94 100644 --- a/emacs-auctex.spec +++ b/emacs-auctex.spec @@ -1,7 +1,7 @@ # # spec file for package emacs-auctex # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,10 +35,10 @@ BuildRequires: texlive-collection-latexextra BuildRequires: texlive-tex BuildRequires: texlive-texinfo %endif -Version: 11.90 +Version: 12.1 Release: 0 Summary: AUC TeX: An Emacs Extension -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Editors/Emacs Source: http://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz Url: http://www.gnu.org/software/auctex