forked from pool/emacs-auctex
Update to AucTeX 13.2
OBS-URL: https://build.opensuse.org/package/show/editors/emacs-auctex?expand=0&rev=54
This commit is contained in:
parent
50267e8464
commit
4878087828
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2b797e0eaf8e657aa7d4baa5a99badad683d1ffdc1b7c58ced9f2aa02eabcda8
|
|
||||||
size 1600209
|
|
Binary file not shown.
3
auctex-13.2-auto-TL-2023.tar.xz
Normal file
3
auctex-13.2-auto-TL-2023.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4ac7800d1668878aef02f9a6441e4690815171757ae65fd523e829c5de874aa3
|
||||||
|
size 3001160
|
3
auctex-13.2.tar.gz
Normal file
3
auctex-13.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1e7e402abcf846694eba7719925bf095c23ef33a5e6602201c74b6ca60944035
|
||||||
|
size 1667548
|
BIN
auctex-13.2.tar.gz.sig
Normal file
BIN
auctex-13.2.tar.gz.sig
Normal file
Binary file not shown.
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
--- tex.el
|
--- tex.el
|
||||||
+++ tex.el 2022-09-10 15:13:15.964170324 +0000
|
+++ tex.el 2022-09-10 15:13:15.964170324 +0000
|
||||||
@@ -423,7 +423,7 @@ string."
|
@@ -429,7 +429,7 @@ string."
|
||||||
;; TeX-print-command.
|
;; TeX-print-command.
|
||||||
|
|
||||||
(defcustom TeX-print-command
|
(defcustom TeX-print-command
|
||||||
|
@ -1,3 +1,73 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 3 11:31:29 UTC 2023 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Run TeX-auto-generate-global in emacs only once if auctex or
|
||||||
|
TeXLive becomes updated to generate all auto lisp files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 2 11:11:34 UTC 2023 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Update to 13.2
|
||||||
|
• AUCTeX no longer refuses to insert dollar sign when you type ‘$’ at
|
||||||
|
point where AUCTeX thinks the current math mode didn’t start with
|
||||||
|
dollar(s). AUCTeX assumes the user knows that it isn’t in math
|
||||||
|
mode actually.
|
||||||
|
You can keep the former behavior by enabling the new customize
|
||||||
|
option ‘TeX-refuse-unmatched-dollar’.
|
||||||
|
* AUCTeX supports completion-at-point of macro and environment
|
||||||
|
arguments in LaTeX buffers. The responsible function recognizes
|
||||||
|
the argument position and extracts the corresponding candidates
|
||||||
|
from the variables ‘TeX-symbol-list’ and ‘LaTeX-environment-list’.
|
||||||
|
* AUCTeX underlines the argument of macros which produce underlined
|
||||||
|
text in the final product with ‘font-latex-underline-face’. The
|
||||||
|
corresponding keyword class is called ‘underline-command’. See the
|
||||||
|
section for fontification of macros if you dislike this feature and
|
||||||
|
wish to deactivate it.
|
||||||
|
* Support for the Sioyek document viewer is added.
|
||||||
|
* AUCTeX now requires GNU Emacs 25.1 or higher.
|
||||||
|
* AUCTeX tracks the change in Emacs where initial inputs in the
|
||||||
|
minibuffer during queries are getting phased out. Queries for the
|
||||||
|
mandatory arguments of macros and environments are adjusted where
|
||||||
|
applicable. The value which will be used after hitting ‘RET’
|
||||||
|
without other input is shown in the prompt in parentheses prefixed
|
||||||
|
with ‘default’. For this change the signature of the function
|
||||||
|
‘TeX-arg-length’ is altered. The old argument list was:
|
||||||
|
(defun TeX-arg-length (optional &optional prompt
|
||||||
|
initial-input definition default)
|
||||||
|
whereas the new one is:
|
||||||
|
(defun TeX-arg-length (optional &optional prompt
|
||||||
|
default initial-input definition)
|
||||||
|
Note the position change of ‘DEFAULT’.
|
||||||
|
* Indenting of conditionals is improved. Code inside constructs like
|
||||||
|
‘\ifx . \else . \fi’ is correctly indented. An interface for style
|
||||||
|
files is also introduced which can add their macros to the
|
||||||
|
indentation engine. Check the file ‘algpseudocode.el’ for an
|
||||||
|
example.
|
||||||
|
* You can optionally enable indent inside square brackets ‘[]’ by new
|
||||||
|
user options ‘TeX-indent-open-delimiters’ and
|
||||||
|
‘TeX-indent-close-delimiters’.
|
||||||
|
* Now ‘tex-buf.el’ is merged into ‘tex.el’ and no longer exists. If
|
||||||
|
your personal code has ‘(require 'tex-buf)’, one of the following
|
||||||
|
prescriptions would serve.
|
||||||
|
1. Remove ‘(require 'tex-buf)’.
|
||||||
|
2. Replace it with ‘(require 'tex)’.
|
||||||
|
3. Replace it with ‘(require 'latex)’.
|
||||||
|
* When you edit a document divided into multiple files, auto parsed
|
||||||
|
information for all sub files are saved under ‘auto’ subdirectory
|
||||||
|
at master directory when ‘TeX-parse-self’ and ‘TeX-auto-save’
|
||||||
|
options are enabled. Now you can have support ‘.el’ file saved
|
||||||
|
under ‘auto’ subdirectory of each directory of the sub file when
|
||||||
|
the sub files aren’t located at the master directory.
|
||||||
|
To achieve that, set new user option ‘TeX-auto-save-aggregate’ to
|
||||||
|
‘nil’.
|
||||||
|
* There was another hook where former dynamic free variables could be
|
||||||
|
used. The usage was invalidated at version 13.1, by introduction
|
||||||
|
of lexical binding over AUCTeX.
|
||||||
|
The functions in ‘TeX-region-hook’ could access the free variables
|
||||||
|
‘master-buffer’ and ‘orig-buffer’. Those are now named
|
||||||
|
‘TeX-region-master-buffer’ and ‘TeX-region-orig-buffer’,
|
||||||
|
respectively.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 13 09:23:22 UTC 2023 - Dr. Werner Fink <werner@suse.de>
|
Thu Apr 13 09:23:22 UTC 2023 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -16,11 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_with tex4auto
|
||||||
|
%define tlversion 2023
|
||||||
|
%if %{undefined ext_el}
|
||||||
|
%define ext_el .gz
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: emacs-auctex
|
Name: emacs-auctex
|
||||||
BuildRequires: emacs-x11
|
|
||||||
BuildRequires: ghostscript_any
|
|
||||||
BuildRequires: texlive
|
|
||||||
BuildRequires: texlive-latex
|
|
||||||
Obsoletes: ge_auc
|
Obsoletes: ge_auc
|
||||||
Provides: auc-tex
|
Provides: auc-tex
|
||||||
Provides: auctex
|
Provides: auctex
|
||||||
@ -29,12 +31,18 @@ Requires: emacs
|
|||||||
Requires: texlive-latex
|
Requires: texlive-latex
|
||||||
Requires: texlive-tools
|
Requires: texlive-tools
|
||||||
Supplements: (texlive and emacs)
|
Supplements: (texlive and emacs)
|
||||||
|
BuildRequires: emacs-x11
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
|
%if %{with tex4auto}
|
||||||
|
BuildRequires: ghostscript_any
|
||||||
|
BuildRequires: texlive
|
||||||
BuildRequires: texlive-collection-latexextra
|
BuildRequires: texlive-collection-latexextra
|
||||||
|
BuildRequires: texlive-latex
|
||||||
BuildRequires: texlive-tex
|
BuildRequires: texlive-tex
|
||||||
BuildRequires: texlive-texinfo
|
BuildRequires: texlive-texinfo
|
||||||
Version: 13.1
|
%endif
|
||||||
|
Version: 13.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: AUC TeX: An Emacs Extension
|
Summary: AUC TeX: An Emacs Extension
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@ -42,6 +50,7 @@ Group: Productivity/Editors/Emacs
|
|||||||
Source0: https://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
|
Source0: https://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
|
||||||
Source1: https://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz.sig
|
Source1: https://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz.sig
|
||||||
Source2: auctex.keyring
|
Source2: auctex.keyring
|
||||||
|
Source3: auctex-%{version}-auto-TL-%{tlversion}.tar.xz
|
||||||
URL: https://www.gnu.org/software/auctex
|
URL: https://www.gnu.org/software/auctex
|
||||||
# Allows to select printer instance
|
# Allows to select printer instance
|
||||||
# PATCH-FEATURE-UPSTREAM dvips.patch
|
# PATCH-FEATURE-UPSTREAM dvips.patch
|
||||||
@ -65,6 +74,7 @@ you cannot use this package for XEmacs.
|
|||||||
|
|
||||||
%define _sitedir %{_datadir}/emacs/site-lisp
|
%define _sitedir %{_datadir}/emacs/site-lisp
|
||||||
%define _aucdir %{_sitedir}/auctex
|
%define _aucdir %{_sitedir}/auctex
|
||||||
|
%define _smp_mflags -j1
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n auctex-%{version}
|
%setup -n auctex-%{version}
|
||||||
@ -87,7 +97,7 @@ you cannot use this package for XEmacs.
|
|||||||
--with-texmf-dir=%{_datadir}/texmf \
|
--with-texmf-dir=%{_datadir}/texmf \
|
||||||
--with-doc-dir=/tmp/auctex/doc/preview \
|
--with-doc-dir=/tmp/auctex/doc/preview \
|
||||||
--with-tex-dir=/tmp/auctex/latex/preview
|
--with-tex-dir=/tmp/auctex/latex/preview
|
||||||
find , -name '*.elc' | xargs -r rm -f
|
find . -name '*.elc' | xargs -r rm -f
|
||||||
%make_build
|
%make_build
|
||||||
%{__make} %{_make_output_sync} -C doc clean
|
%{__make} %{_make_output_sync} -C doc clean
|
||||||
%{__make} %{_make_output_sync} -C doc %{?_smp_mflags}
|
%{__make} %{_make_output_sync} -C doc %{?_smp_mflags}
|
||||||
@ -98,15 +108,28 @@ you cannot use this package for XEmacs.
|
|||||||
export LC_CTYPE=ISO-8859-1
|
export LC_CTYPE=ISO-8859-1
|
||||||
mkdir -p %{buildroot}%{_sitedir}/site-start.d
|
mkdir -p %{buildroot}%{_sitedir}/site-start.d
|
||||||
%make_install DESTDIR=%{buildroot}
|
%make_install DESTDIR=%{buildroot}
|
||||||
rm -rf %{buildroot}%{_aucdir}/auto
|
pushd %{buildroot}%{_aucdir}/auto/
|
||||||
pushd %{buildroot}%{_aucdir}/
|
%if %{with tex4auto}
|
||||||
emacs --no-site -batch -L %{buildroot}%{_sitedir}/auctex \
|
cwd
|
||||||
|
echo "Run the command TeX-auto-generate-global in mini buffer"
|
||||||
|
emacs-gtk --no-site -L %{buildroot}%{_sitedir}/auctex \
|
||||||
--eval '(setq TeX-lisp-directory "%{buildroot}%{_aucdir}")' \
|
--eval '(setq TeX-lisp-directory "%{buildroot}%{_aucdir}")' \
|
||||||
--eval '(setq TeX-auto-global "%{buildroot}%{_aucdir}/auto")' \
|
--eval '(setq TeX-auto-global "%{buildroot}%{_aucdir}/auto")' \
|
||||||
-l %{buildroot}%{_sitedir}/tex-site.el -f TeX-auto-generate-global
|
-l %{buildroot}%{_sitedir}/tex-site.el
|
||||||
|
exit 1
|
||||||
|
%else
|
||||||
|
TLVERSION=$(rpm -q --qf '%%{VERSION}' -f /etc/texmf)
|
||||||
|
if test %{tlversion} -eq ${TLVERSION%%%%.*}
|
||||||
|
then
|
||||||
|
tar --use-compress-program=xz -xf %{S:3}
|
||||||
|
touch %{buildroot}%{_aucdir}/auto/.nosearch
|
||||||
|
else
|
||||||
|
echo Rerun with %%bcond_without tex4auto to generate new
|
||||||
|
echo auctex-%{version}-auto-TL-${TLVERSION%%%%.*}.tar.xz
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
%endif
|
||||||
popd
|
popd
|
||||||
touch %{buildroot}%{_aucdir}/auto/.nosearch
|
|
||||||
find %{buildroot}%{_aucdir}/auto/ -name '*.elc' | xargs -r rm -f
|
|
||||||
cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-auctex.el
|
cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-auctex.el
|
||||||
;;; suse-start-auctex.el
|
;;; suse-start-auctex.el
|
||||||
;;
|
;;
|
||||||
@ -155,7 +178,9 @@ done
|
|||||||
%doc %{_infodir}/*.info*.gz
|
%doc %{_infodir}/*.info*.gz
|
||||||
%{_aucdir}/*.el
|
%{_aucdir}/*.el
|
||||||
%{_aucdir}/*.elc
|
%{_aucdir}/*.elc
|
||||||
%{_aucdir}/auto/*.el
|
%{_aucdir}/auto/*.el%{ext_el}
|
||||||
|
%{_aucdir}/auto/*.elc
|
||||||
|
%{_aucdir}/auto/.nosearch
|
||||||
%{_aucdir}/images/*.xpm
|
%{_aucdir}/images/*.xpm
|
||||||
%{_aucdir}/style/*.el
|
%{_aucdir}/style/*.el
|
||||||
%{_aucdir}/style/*.elc
|
%{_aucdir}/style/*.elc
|
||||||
|
Loading…
Reference in New Issue
Block a user