From ea34a29a0c4023cbd9c723c180604e3bbd1cce875bc92aa07a19ba61657eb474 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 29 Jun 2017 09:09:33 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/editors/emacs-auctex?expand=0&rev=36 --- 0001-Fix_bug_in_subfigure_style_filee.patch | 29 -------- auctex-11.89.tar.gz | 3 - auctex-11.90.tar.gz | 3 + dvips.patch | 4 +- emacs-auctex.changes | 75 +++++++++++++++++++++ emacs-auctex.spec | 9 +-- 6 files changed, 83 insertions(+), 40 deletions(-) delete mode 100644 0001-Fix_bug_in_subfigure_style_filee.patch delete mode 100644 auctex-11.89.tar.gz create mode 100644 auctex-11.90.tar.gz diff --git a/0001-Fix_bug_in_subfigure_style_filee.patch b/0001-Fix_bug_in_subfigure_style_filee.patch deleted file mode 100644 index 8ea12af..0000000 --- a/0001-Fix_bug_in_subfigure_style_filee.patch +++ /dev/null @@ -1,29 +0,0 @@ -From d2c7bb3aa56930c45722482fd64174b2504bb9a8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mos=C3=A8=20Giordano?= -Date: Wed, 20 Jan 2016 23:00:03 +0100 -Subject: Fix bug in subfigure style file - -* style/subfigure.el ("subfigure"): Move `TeX-complete-list' inside - append argument. Fixes bug#22417. ---- - style/subfigure.el | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/style/subfigure.el b/style/subfigure.el -index e129e62..5d7525b 100644 ---- a/style/subfigure.el -+++ b/style/subfigure.el -@@ -47,8 +47,8 @@ - ;; Install completion for labels: - (setq TeX-complete-list - (append -- '(("\\\\[Ss]ubref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}"))) -- TeX-complete-list) -+ '(("\\\\[Ss]ubref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}")) -+ TeX-complete-list)) - - ;; Fontification - (when (and (featurep 'font-latex) --- -cgit v1.0 - diff --git a/auctex-11.89.tar.gz b/auctex-11.89.tar.gz deleted file mode 100644 index 214f666..0000000 --- a/auctex-11.89.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98af296907b371083289a8b35bd6ff24cfd8fafb013033b724aacb5fe774c9b1 -size 1332904 diff --git a/auctex-11.90.tar.gz b/auctex-11.90.tar.gz new file mode 100644 index 0000000..1f19ac2 --- /dev/null +++ b/auctex-11.90.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c232fd8e57780edea28cd3035afcc2b6ed965b5954e96b34a258cacfcaaf18f +size 1437331 diff --git a/dvips.patch b/dvips.patch index 8b9f5a7..e342246 100644 --- a/dvips.patch +++ b/dvips.patch @@ -1,6 +1,6 @@ ---- tex.el.orig 2015-11-14 12:07:48.063461445 +0200 +--- tex.el +++ tex.el 2015-11-14 12:10:30.386677534 +0200 -@@ -339,7 +339,7 @@ +@@ -341,7 +341,7 @@ ;; TeX-print-command. (defcustom TeX-print-command diff --git a/emacs-auctex.changes b/emacs-auctex.changes index 91397ee..4cdda41 100644 --- a/emacs-auctex.changes +++ b/emacs-auctex.changes @@ -1,3 +1,78 @@ +------------------------------------------------------------------- +Thu Jun 29 09:00:16 UTC 2017 - werner@suse.de + +- Update to 11.90 + * In addition to the completion performed by 'TeX-complete-symbol', + AUCTeX now also supports the new Emacs standard completion-at-point + facility (see the Emacs command 'completion-at-point'). This also + means that modern completion UIs like company-mode work out of the + box in TeX and LaTeX buffers. + * Completion is now aware of being inside a math environment and then + completes math macros. + * AUCTeX is able to display several levels of super- and subscripts, + each one raised above and a bit smaller than its basis. For this + feature, have a look at the customize options + 'font-latex-fontify-script' (especially the new values + 'multi-level' and 'invisible') and + 'font-latex-fontify-script-max-level'. Also, the script characters + '^' and '_' are also fontified with a special face named + 'font-latex-script-char-face'. + * Parsing of format specification in various tabular environments has + been improved. The function 'LaTeX-insert-item' ('C-c ') + inserts suitable number of ampersands for '*{num}{cols}' + constructs. Style files for LaTeX packages 'tabularx', 'tabulary', + 'longtable', 'dcolumn' and 'siunitx' are adapted to take advantage + of this improvement. + * AUCTeX has a new Ispell dictionary 'tex-ispell.el' for macros and + environments which will be skipped during spell checking. The + activiation of this feature is controlled by a new customize option + 'TeX-ispell-extend-skip-list', which is set to 't' and activated by + default. + * AUCTeX has a new customize option 'TeX-raise-frame-function' that + is currently only used by Evince and Atril inverse search to raise + the Emacs frame. + * When inserting a new float, AUCTeX will now prompt for a + short-caption if the length of the caption provided is greater than + a certain size. This size is controlled via a new user option + 'LaTeX-short-caption-prompt-length'. + * Parsing of the compilation log has been reworked. You should + encounter fewer mistaken files while navigating through errors and + warnings. + * Two new user options, 'TeX-ignore-warnings' and + 'TeX-suppress-ignored-warnings', allow ignoring certain warnings + after compilation of the document. + * A new option, 'TeX-PDF-from-DVI', controls if and how to produce a + PDF file by converting a DVI file. This supersedes + 'TeX-PDF-via-dvips-ps2pdf' which is still recognized but marked as + obsolete and may be removed in future releases. + * Support for a number of external viewers has been added + * A new function, 'TeX-documentation-texdoc', for reading + documentation with 'texdoc' has been added. 'TeX-doc' is still + available but now 'C-c ?' runs 'TeX-documentation-texdoc'. + * AUCTeX has a new custom option + 'LaTeX-reftex-cite-format-auto-activate' which controls the + automatic activation of citation formats provided by RefTeX when a + style file is loaded and RefTeX is enabled. Currently, + 'biblatex.el', 'harvard.el', 'jurabib.el' and 'natbib.el' use this + feature. If you have customized 'reftex-cite-format' and want to + use your settings, you should set this variable to 'nil'. + * AUCTeX now has limited support for the TikZ package. For the + moment, this includes some basic support for prompting the user of + arguments to the '\draw' macro. + * The style 'graphicx.el' went through a bigger overhaul. The + optional argument of command '\includegraphics' now supports + key-val query; keys can independently be chosen anytime by pressing + the <,> key. As a side effect, the variable + 'LaTeX-includegraphics-options-alist' is now no-op and is removed + from 'tex-style.el'. You can safely remove any customization of it + from your init file. The mandatory argument of '\includegraphics' + knows about image file extensions supported by the used engine and + offers them for inclusion. + * Support for other LaTeX packages was improved, and style files for + several new packages were added. + * Many bugs were crushed along the way. +- Remove patch 0001-Fix_bug_in_subfigure_style_filee.patch as now upstream + ------------------------------------------------------------------- Tue Sep 20 14:20:47 UTC 2016 - werner@suse.de diff --git a/emacs-auctex.spec b/emacs-auctex.spec index 60575e4..7b335fe 100644 --- a/emacs-auctex.spec +++ b/emacs-auctex.spec @@ -1,7 +1,7 @@ # # spec file for package emacs-auctex # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,7 +35,7 @@ BuildRequires: texlive-collection-latexextra BuildRequires: texlive-tex BuildRequires: texlive-texinfo %endif -Version: 11.89 +Version: 11.90 Release: 0 Summary: AUC TeX: An Emacs Extension License: GPL-2.0+ @@ -45,8 +45,6 @@ Url: http://www.gnu.org/software/auctex # Allows to select printer instance # PATCH-FEATURE-UPSTREAM dvips.patch Patch0: dvips.patch -# PATCH-FIX-UPSTREAM -Patch1: 0001-Fix_bug_in_subfigure_style_filee.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -70,7 +68,6 @@ you cannot use this package for XEmacs. %prep %setup -n auctex-%{version} %patch0 -%patch1 -p1 %build unset ${!LC_*} @@ -147,7 +144,7 @@ done %files %defattr(-, root, root) -%doc README COPYING doc/*.pdf CHANGES ChangeLog +%doc README COPYING doc/*.pdf CHANGES %dir %{_sitedir}/ %dir %{_aucdir}/ %dir %{_aucdir}/auto/