Accepting request 1225125 from editors

- Update to AUCTeX ELPA version 14.0.7 (2024-10-05)
  ** Added
  - Respect the value of ~TeX-output-dir~ when processing files with
    latexmk.  This means that the default value of ~TeX-command-list~ is
    changed.
  - Add new support files =style/authblk.el=, =style/langscibook.cls=,
    =style/lstautogobble.el=, =style/lstlinebgrd.el=,
    =style/ninecolors.el=, =style/supertabular.el=, =style/tabularray.el=
    and =style/xtab.el=.
  ** Fixed
  - Fold argument of verbatim macros more accurately.
  ** Removed
  - Remove the possibility to disable the side-wide installation with:
    #+begin_src emacs-lisp
      (unload-feature 'tex-site)
    #+end_src
    Using this form when installed from [[ELPA:auctex.html][ELPA]] will
    throw an error.

- Update to AUCTeX ELPA version 14.0.6
  * This work only with GNU Emacs 27.1 and above
- Remove patches upstream now
  * dinbrief.patch
  * initial-reset.patch
  * auctex-13.1-expand.patch
- Port patch dvips.patch
- Port spec file to ELPA installation with the
  help of triggerin scriptlets
- REcommend texlive-preview as this also from AUCTeX

OBS-URL: https://build.opensuse.org/request/show/1225125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs-auctex?expand=0&rev=49
This commit is contained in:
Ana Guerrero 2024-11-19 21:24:10 +00:00 committed by Git OBS Bridge
commit a8d7274d3b
15 changed files with 203 additions and 284 deletions

2
.gitattributes vendored
View File

@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
auctex-14.0.7.tar filter=lfs diff=lfs merge=lfs -text

View File

@ -1,19 +0,0 @@
Make it work again with latest texinfo and TeXLive
---
doc/Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- doc/Makefile.in
+++ doc/Makefile.in 2023-04-13 09:20:23.005315974 +0000
@@ -49,8 +49,8 @@ else
TEXI2HTML_TOC=auctex_toc.html
endif
endif
-TEXI2DVI=@TEXI2DVI@
-TEXI2PDF=@TEXI2PDF@
+TEXI2DVI=@TEXI2DVI@ -E
+TEXI2PDF=@TEXI2PDF@ -E
MKINSTALLDIRS = ../mkinstalldirs
DVIPS=@DVIPS@
PERL=@PERL@

View File

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

View File

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

Binary file not shown.

View File

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

3
auctex-14.0.7.tar Normal file
View File

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

BIN
auctex-14.0.7.tar.sig Normal file

Binary file not shown.

View File

@ -48,3 +48,19 @@ ysPpcpoYf2wmKgxyhy5ap62fGTsY/jVBdZiQIE3ZCwuJW3pF8rJNNWlr+SJ4FrZQ
v/QQhWK2PSxxqDJfwtQEVS5d2IieEhNrDfdxLhdNmCJBaDMl06RCU845XOE=
=Eqv/
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEY6utGBYJKwYBBAHaRw8BAQdAxP4xIrWvQZyBULEc8jk1cczkxkN9uGQYWKTt
UWFUJoC0NUdOVSBFTFBBIFNpZ25pbmcgQWdlbnQgKDIwMjMpIDxlbHBhc2lnbkBl
bHBhLmdudS5vcmc+iJYEExYIAD4WIQSsSbil/e1pMfQO54v5k8A3ht5+ygUCY6ut
GAIbAQUJEswDAAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRD5k8A3ht5+ynQq
AQClwEcDFC9yo90EB822USLhSokaZcrarA0bV7M1Hzb4AgD/eWzVWzF+eyq9L9cL
7HeAPpeGr1bvrc0qpKuoOrpqKQS4MwRjq61qFgkrBgEEAdpHDwEBB0ABNlit3Mf9
C6x7Q3b03ZROMfaJNbHIe2Xc0AVJbvWhI4j1BBgWCAAmFiEErEm4pf3taTH0DueL
+ZPAN4befsoFAmOrrWoCGwIFCQlmAYAAgQkQ+ZPAN4befsp2IAQZFggAHRYhBAMn
vmjWTZoaZoWfFWRTV9KIOglmBQJjq61qAAoJEGRTV9KIOglmhysA+wYoVM81Tus9
dw9nusBvLSWNagkqPqVqgkfliz+rIkWzAP0U+Blp4c5pcniqxliZNmHshkMJUvTj
tDEjfXW90NFaApNyAQDJ3HDHS5smFZGWQB3eeZV+YYPSSdxLs1gwlsW/DfkgDQD/
XW8uNCCGvVeskKu3snnX4P74kyXxF1gOndnK4EZMrg4=
=pXHO
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,145 +0,0 @@
Nowadays UTF-8 is standard, also port the features of the letter class
to dinbrief class.
Signed-off-by: Werner Fink <werner@suse.de>
---
style/dinbrief.el | 67 +++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 49 insertions(+), 18 deletions(-)
--- style/dinbrief.el
+++ style/dinbrief.el
@@ -32,14 +32,26 @@
(require 'tex)
(require 'latex)
+;; Silence the compiler:
+(declare-function font-latex-add-keywords
+ "font-latex"
+ (keywords class))
+
+(defvar LaTeX-dinbrief-class-options
+ '("10pt" "11pt" "12pt" "norm" "a4paper" "a5paper" "b5paper"
+ "letterpaper" "legalpaper" "executivepaper" "twoside"
+ "addresshigh" "addressstd" "onecolumn" "twocolumn")
+ "Class options for the dinbrief class.")
+
(TeX-add-style-hook
"dinbrief"
(lambda ()
- (add-hook 'LaTeX-document-style-hook
- #'LaTeX-dinbrief-style)
(LaTeX-add-environments
'("letter" LaTeX-dinbrief-env-recipient)
"dinquote")
+ (add-hook 'LaTeX-document-style-hook
+ #'LaTeX-dinbrief-style)
+ (setq LaTeX-default-document-environment "letter")
(TeX-add-symbols
'("address" "Absender")
'("postremark" "Postvermerk")
@@ -61,12 +73,28 @@
'("backaddress" "Retouradresse")
'("signature" "Unterschrift")
'("opening" "Anrede")
- '("closing" "Schluss")))
+ '("closing" "Schluss"))
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("subject" "{")
+ ("address" "{")
+ ("signature" "{")
+ ("opening" "{")
+ ("closing" "{")
+ ("location" "{")
+ ("handling" "{")
+ ("cc" "{")
+ ("encl" "{")
+ ("ps" "{"))
+ 'function)))
TeX-dialect)
(defmacro LaTeX-dinbrief-insert (&rest args)
"Insert text ignoring active markers."
- `(progn (if mark-active (deactivate-mark))
+ `(progn
+ (if (TeX-active-mark) (deactivate-mark))
(insert ,@args)))
(defun LaTeX-dinbrief-style ()
@@ -77,17 +105,14 @@
(beginning-of-line 1))
(open-line 2)
(indent-relative-first-indent-point)
- (LaTeX-dinbrief-insert TeX-esc "usepackage"
- LaTeX-optop "latin1,utf8" LaTeX-optcl
- TeX-grop "inputenc" TeX-grcl)
- (newline-and-indent)
(LaTeX-dinbrief-insert TeX-esc "usepackage"
LaTeX-optop "T1" LaTeX-optcl
TeX-grop "fontenc" TeX-grcl)
- (indent-relative-first-indent-point)
+ (newline-and-indent)
(LaTeX-dinbrief-insert TeX-esc "usepackage"
- TeX-grop "ngerman" TeX-grcl))
- (TeX-run-style-hooks "inputenc" "fontenc" "ngerman"))
+ LaTeX-optop "ngerman" LaTeX-optcl
+ TeX-grop "babel" TeX-grcl))
+ (TeX-run-style-hooks "fontenc" "babel"))
(defun LaTeX-dinbrief-env-recipient (environment)
"Insert ENVIRONMENT and prompt for recipient and address."
@@ -118,8 +143,10 @@
(newline-and-indent)
(if (not (zerop (length retouradr)))
(progn
- (if mark-active (deactivate-mark))
- (LaTeX-dinbrief-insert TeX-esc "backaddress" TeX-grop retouradr TeX-grcl)
+ (if (TeX-active-mark) (deactivate-mark))
+ (LaTeX-dinbrief-insert TeX-esc
+ "backaddress"
+ TeX-grop retouradr TeX-grcl)
(newline-and-indent)))))
(LaTeX-dinbrief-insert TeX-esc "enabledraftstandard")
(newline-and-indent)
@@ -205,8 +232,8 @@
"Read and write the senders address."
(interactive)
(let ((name (TeX-read-string "Absender: " (user-full-name)))
- (str (TeX-read-string "Meine Strasse: "))
- (ort (TeX-read-string "Mein Wohnort: ")))
+ (str (TeX-read-string "Meine Strasse: "))
+ (ort (TeX-read-string "Mein Wohnort: ")))
(if (not (zerop (length name)))
(progn
(goto-char (point-min)) ; insert before \end{document}
@@ -231,8 +258,8 @@
(defun LaTeX-dinbrief-recipient ()
"Read and return the recipient address."
(interactive)
- (let ((str (TeX-read-string "Wohnhaft in Strasse: "))
- (ort (TeX-read-string "Aus der Ortschaft: ")))
+ (let ((str (TeX-read-string "Wohnhaft in Strasse: "))
+ (ort (TeX-read-string "Aus der Ortschaft: ")))
(if (not (zerop (length str)))
(if (not (zerop (length ort)))
(concat str " " TeX-esc TeX-esc " " ort)
@@ -246,7 +273,7 @@
(let ((ctime-string (current-time-string))
(month-alist '(("Jan" . "Januar")
("Feb" . "Februar")
- ("Mar" . "M\\\"arz")
+ ("Mar" . "März")
("Apr" . "April")
("May" . "Mai")
("Jun" . "Juni")
@@ -270,4 +297,8 @@
(setq day (concat "0" day)))))
(format "%s, den %s. %s %s" place day month year))))
+;; Local Variables:
+;; coding: utf-8-unix
+;; End:
+
;;; dinbrief.el ends here

View File

@ -4,7 +4,7 @@
--- tex.el
+++ tex.el 2022-09-10 15:13:15.964170324 +0000
@@ -429,7 +429,7 @@ string."
@@ -450,7 +450,7 @@ string."
;; TeX-print-command.
(defcustom TeX-print-command

4
emacs-auctex-rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
addFilter(".*hidden-file-or-dir.*/.nosearch.*")
addFilter(".*files-duplicate.*/.nosearch.*")
addFilter(".*no-%check-section.*")
addFilter(".*source-not-compressed.*")

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Tue Nov 19 14:49:44 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Update to AUCTeX ELPA version 14.0.7 (2024-10-05)
** Added
- Respect the value of ~TeX-output-dir~ when processing files with
latexmk. This means that the default value of ~TeX-command-list~ is
changed.
- Add new support files =style/authblk.el=, =style/langscibook.cls=,
=style/lstautogobble.el=, =style/lstlinebgrd.el=,
=style/ninecolors.el=, =style/supertabular.el=, =style/tabularray.el=
and =style/xtab.el=.
** Fixed
- Fold argument of verbatim macros more accurately.
** Removed
- Remove the possibility to disable the side-wide installation with:
#+begin_src emacs-lisp
(unload-feature 'tex-site)
#+end_src
Using this form when installed from [[ELPA:auctex.html][ELPA]] will
throw an error.
-------------------------------------------------------------------
Wed Jul 10 12:54:27 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Update to AUCTeX ELPA version 14.0.6
* This work only with GNU Emacs 27.1 and above
- Remove patches upstream now
* dinbrief.patch
* initial-reset.patch
* auctex-13.1-expand.patch
- Port patch dvips.patch
- Port spec file to ELPA installation with the
help of triggerin scriptlets
- REcommend texlive-preview as this also from AUCTeX
-------------------------------------------------------------------
Thu May 16 13:27:12 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -30,6 +30,8 @@ Provides: ge_auc
Requires: emacs
Requires: texlive-latex
Requires: texlive-tools
Requires: emacs(ELPA)
Recommends: texlive-preview
Supplements: (texlive and emacs)
BuildRequires: emacs-x11
BuildRequires: makeinfo
@ -42,22 +44,20 @@ BuildRequires: texlive-latex >= %tlversion
BuildRequires: texlive-tex >= %tlversion
BuildRequires: texlive-texinfo >= %tlversion
%endif
Version: 13.3
Version: 14.0.7
Release: 0
Summary: AUC TeX: An Emacs Extension
License: GPL-3.0-or-later
Group: Productivity/Editors/Emacs
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
Source0: https://elpa.gnu.org/packages/auctex-%{version}.tar
Source1: https://elpa.gnu.org/packages/auctex-%{version}.tar.sig
Source2: auctex.keyring
Source3: auctex-%{version}-auto-TL-%{tlversion}.tar.xz
Source4: emacs-auctex-rpmlintrc
URL: https://www.gnu.org/software/auctex
# Allows to select printer instance
# PATCH-FEATURE-UPSTREAM dvips.patch
Patch0: dvips.patch
Patch1: auctex-13.1-expand.patch
Patch3: initial-reset.patch
Patch4: dinbrief.patch
BuildArch: noarch
%description
@ -69,100 +69,141 @@ Emacs. Documentation can be found under:
and in the dvi files math-ref.dvi and tex-ref.dvi (reference cards) and
in the info file auctex in emacs info-mode.
AuC TeX is integrated in XEmacs 19.15 and higher, so these packages may
not be installed concurrently. Note that the binary formats of the
byte-compiled lisp files of the two emacs editors are incompatible, so
you cannot use this package for XEmacs.
%define _sitedir %{_datadir}/emacs/site-lisp
%define _aucdir %{_sitedir}/auctex
%define _sitedir %{_datadir}/emacs/site-lisp/elpa
%define _aucdir %{_sitedir}/auctex-%{version}
%define _smp_mflags -j1
%prep
%setup -n auctex-%{version}
%patch -P0
%patch -P1
%patch -P3
%patch -P4
%build
unset ${!LC_*}
LANG=en_US.UTF-8
export LANG
rm -rf /tmp/auctex
mkdir /tmp/auctex
mkdir -p /tmp/auctex/doc/preview
mkdir -p /tmp/auctex/latex/preview
%configure \
--docdir=%{_defaultdocdir}/%name \
--with-emacs \
--with-lispdir=%{_sitedir} \
--with-auto-dir=%{_aucdir}/auto \
--with-texmf-dir=%{_datadir}/texmf \
--with-doc-dir=/tmp/auctex/doc/preview \
--with-tex-dir=/tmp/auctex/latex/preview
find . -name '*.elc' | xargs -r rm -f
%make_build
%{__make} %{_make_output_sync} -C doc clean
%{__make} %{_make_output_sync} -C doc %{?_smp_mflags}
%{__make} %{_make_output_sync} -C doc extradist
rm -rf /tmp/auctex
EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=t
export EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION
emacs -batch -Q -l package -L ${PWD} \
--eval "(setq package-user-dir \"/nonexistent\")" \
--eval "(add-to-list 'package-directory-list \"${PWD}\")" \
-f package-initialize -f batch-byte-compile *.el style/*.el
mkdir ${PWD}/auto
%if %{with tex4auto}
ignore="$(sed -rn '/^\(defcustom TeX-ignore-file/,+1{ s@^\s+@@;s@(\\\\)(\)\$)@\1|lwarp\\.sty\\\\\2@p }' < tex.el)"
emacs -batch -Q -L ${PWD} \
--eval "(setq TeX-lisp-directory \"${PWD}\")" \
--eval "(setq TeX-install-font-lock #'ignore)" \
--eval "(setq TeX-ignore-file ${ignore})" \
--eval "(setq TeX-auto-global \"${PWD}/auto\")" \
-l tex-site -l tex -l latex -l plain-tex -f TeX-auto-generate-global
%else
TLVERSION=$(rpm -q --qf '%%{VERSION}' -f /etc/texmf)
if test %{tlversion} -eq ${TLVERSION%%%%.*}
then
tar --use-compress-program=xz -xf %{S:3} -C ${PWD}/auto/
else
echo Rerun with %%bcond_without tex4auto to generate new
echo auctex-%{version}-auto-TL-${TLVERSION%%%%.*}.tar.xz
exit 1
fi
%endif
# Otherwise, e.g. the auto/url.el masks out the url/url.el from emacs lisp collections
for dir in style auto
do
test -e ${dir}/.nosearch && continue
echo ';; AUCTeX style/ and auto/ directories should not appear in load path.' > ${dir}/.nosearch
done
# This is part of the (recommended) texlive-preview
rm -rvf latex/
unset HOME
emacs -batch -Q -l package \
--eval '(setq package-user-dir "/nonexistent")' \
--eval "(package-generate-autoloads \"auctex\" \"$(cwd)\")"
pushd doc
%global info_files auctex.info preview-latex.info
rm -vf *.info *.pdf
texi2pdf -E auctex.texi
pdftex tex-ref.tex
makeinfo -I . auctex.texi
makeinfo -I . preview-latex.texi
popd
%install
export LC_CTYPE=ISO-8859-1
mkdir -p %{buildroot}%{_sitedir}/site-start.d
%make_install DESTDIR=%{buildroot}
pushd %{buildroot}%{_aucdir}/auto/
%if %{with tex4auto}
pwd
echo "Run the command TeX-auto-generate-global in mini buffer"
ignore="$(sed -rn '/^\(defcustom TeX-ignore-file/,+1{ s@^\s+@@;s@(\\\\)(\)\$)@\1|lwarp\\.sty\\\\\2@p }' < ../tex.el)"
emacs-gtk -batch -Q -L %{buildroot}%{_sitedir}/auctex \
--eval '(setq TeX-lisp-directory "%{buildroot}%{_aucdir}")' \
--eval "(setq TeX-install-font-lock #'ignore)" \
--eval "(setq TeX-ignore-file ${ignore})" \
--eval '(setq TeX-auto-global "%{buildroot}%{_aucdir}/auto")' \
-l %{buildroot}%{_sitedir}/tex-site.el -f TeX-auto-generate-global
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
unset ${!LC_*}
LANG=en_US.UTF-8
export LANG
EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=t
export EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION
unelc ()
{
local elc=$1
local elz=${elc%%.elc}.el.gz
rm -vf $elc
if test -n "$elz" -a -e "$elz" ; then
gunzip "$elz"
fi
}
mkdir -p %{buildroot}%{_sitedir}/auctex-%{version}
tar cpf - *.el *.elc auto/ style/ images/ | \
tar xpf - -C %{buildroot}%{_sitedir}/auctex-%{version}/
pushd doc
install -m 644 -D -t %{buildroot}%{_infodir} preview-latex.info
install -m 644 -D -t %{buildroot}%{_infodir} auctex.info*
popd
cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-auctex.el
;;; suse-start-auctex.el
;;
;; This is used for starting up AUCTeX
;; See (info "(auctex)Introduction") on how to disable AUCTeX.
;;
(load "auctex.el" nil t t)
EOF
cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-preview-latex.el
;;; suse-start-preview-latex.el
;;
;; This is used for starting up preview-latex of AUCTeX
;; See (info "(auctex)Introduction") on how to disable AUCTeX.
;;
(load "preview-latex.el" nil t t)
EOF
for el in auctex.el preview-latex.el
do
test -e %{buildroot}%{_sitedir}/$el || continue
mv %{buildroot}%{_sitedir}/$el %{buildroot}%{_sitedir}/site-start.d/
done
#
# Preview is part of te_latex
#
rm -rf %{buildroot}/tmp/auctex
%define info_files auctex.info preview-latex.info
pushd %{buildroot}%{_sitedir}/auctex-%{version}
find -name '*.el' -exec gzip -f9 '{}' \+
unelc auctex-autoloads.elc
unelc auctex-pkg.elc
unelc auctex.elc
unelc tex-site.elc
unelc font-latex.elc
# Workaround for old stuff in ~/.gnu-emacs which is about loading "auctex/font-latex"
# in after-init-hook for existing AUCTeX version
mkdir auctex
pushd auctex
ln -sf ../font-latex.el .
echo ';; AUCTeX style/ and auto/ directories should not appear in load path.' > .nosearch
popd
popd
%triggerin -- emacs-nox
EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=t
export EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION
if test -e %{_aucdir}/font-latex.el
then
owd=$(pwd)
cd %{_aucdir} || exit 0
emacs -batch -Q --eval '(setq load-path (cons "." load-path)
byte-compile-warnings nil
TeX-lisp-directory "%{_aucdir}"
TeX-auto-global "%{_aucdir}/auto")' -f batch-byte-compile font-latex.el > /dev/null 2>&1
cd auctex
ln -sf ../font-latex.elc .
cd $owd
fi
%triggerin -- emacs-x11
EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=t
export EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION
if test -e %{_aucdir}/font-latex.el
then
owd=$(pwd)
cd %{_aucdir} || exit 0
emacs -batch -Q --eval '(setq load-path (cons "." load-path)
byte-compile-warnings nil
TeX-lisp-directory "%{_aucdir}"
TeX-auto-global "%{_aucdir}/auto")' -f batch-byte-compile font-latex.el > /dev/null 2>&1
cd auctex
ln -sf ../font-latex.elc .
cd $owd
fi
%post
for f in %info_files; do
@ -176,26 +217,29 @@ done
%files
%defattr(-, root, root)
%doc README COPYING doc/*.pdf CHANGES
%license COPYING
%doc README doc/*.pdf ChangeLog
%dir %{_sitedir}/
%dir %{_aucdir}/
%dir %{_aucdir}/auctex/
%dir %{_aucdir}/auto/
%dir %{_aucdir}/images/
%dir %{_aucdir}/style/
%doc %{_infodir}/*.info*.gz
%{_aucdir}/*.el
%{_aucdir}/*.el%{ext_el}
%ghost %verify(not mode) %{_aucdir}/font-latex.elc
%{_aucdir}/*.elc
%{_aucdir}/auctex/font-latex.el
%ghost %verify(not mode) %{_aucdir}/auctex/font-latex.elc
%{_aucdir}/auctex/.nosearch
%{_aucdir}/auto/*.el%{ext_el}
%{_aucdir}/auto/*.elc
%{_aucdir}/auto/.nosearch
%{_aucdir}/images/*.xbm
%{_aucdir}/images/*.xpm
%{_aucdir}/style/*.el
%{_aucdir}/style/*.el%{ext_el}
%{_aucdir}/style/*.elc
%{_aucdir}/auto/.nosearch
%{_aucdir}/style/.nosearch
%config %{_sitedir}/suse-start*.el
%config %{_sitedir}/tex-site.el
%config %{_sitedir}/site-start.d/auctex.el
%config %{_sitedir}/site-start.d/preview-latex.el
%changelog

View File

@ -1,19 +0,0 @@
Enable initial reset for LaTeX classes to load the class mode
at creation of the document. The declared variable is called
LaTeX-global-class-files and not TeX-global-class-files.
---
latex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- latex.el
+++ latex.el 2024-05-07 06:47:32.754527641 +0000
@@ -2706,7 +2706,7 @@ Initialized once at the first time you p
May be reset with `\\[universal-argument] \\[TeX-normal-mode]'.")
;; Add the variable to `TeX-normal-mode-reset-list':
-(add-to-list 'TeX-normal-mode-reset-list 'TeX-global-class-files)
+(add-to-list 'TeX-normal-mode-reset-list 'LaTeX-global-class-files)
(defcustom TeX-arg-input-file-search t
"If `TeX-arg-input-file' should search for files.