Re: distribution of AUCTeX and built-in TeX/LaTeX modes
Jeremy Bryant writes: > Arash, is the below wording on copyright assignment(from your link) > still accurate? Not Arash here but anyway: yes, the state of AUCTeX is that all past contributors with significant changes have signed the copyright assignment. If that weren't the case, AUCTeX could not be distributed on GNU ELPA (but only on NonGNU ELPA). So from that perspective, there's no reason to include AUCTeX in emacs releases. Bye, Tassilo
Re: Feature comparison Re: distribution of AUCTeX and built-in TeX/LaTeX modes
Jeremy Bryant writes: Hi Jeremy, > Tassilo, do you know what is the reason given by users to like the > less powerful built-in modes? Presumably they don't need > preview-LaTeX, but what else? I guess when you only write short documents like letters, there's probably no need for all those features that come with AUCTeX. But that's just a guess. No actual user told me their reasons. But it's likely. It's similar writing some simple python script every so often with just python-(ts-)mode and without elpy. Bye, Tassilo
Re: distribution of AUCTeX and built-in TeX/LaTeX modes
Jeremy Bryant writes: > Indeed, I agree it is very convenient to upgrade auctex through ELPA. > > There are however at least 2 scenarios where there are benefits to > having auctex, a functional albeit perhaps not the most recent > version, in a distribution of Emacs. > > 1. New LaTeX users can discover and try auctex straightaway. If they > want to upgrade, they also can. (e.g. case of org-mode) > > 2. Some sites don't allow downloading of packages (for policy or > security reasons), so all users have access to is whatever is included > in their Emacs distribution (and indeed their system distro). > (e.g. some corporate environments.) That's certainly true. But there are also people who like the simple (La)TeX modes which ship with Emacs better than AUCTeX. So there would have to be some feature which would allow users to try out both and then decide which one to stick to. (Of course, you can already do that but I mean something that interactively guides you when finding a tex file for the first time...) Bye, Tassilo
Re: distribution of AUCTeX and built-in TeX/LaTeX modes
Uwe Brauer writes: > Yeah but gnus is the odd out here, impossible to upgrade gnus with > elpa, sigh Gnus has stopped having its own development repository several years ago. Bye, Tassilo
bug#70503: [PATCH] Add function "TeX-master-output-file"
Arash Esbati writes: >> So I confirmed my deletion with "git rm Makefile.in" in order to >> resolve the conflict and commit and push the merge. > > Ah, this was not clear to me. So on the main branch, I do "git rm > Makefile.in" and that resolves the conflict, right?. I will try that > next time I add something to Makefile.in on master, thanks. I think it won't bother you with this edit-delete conflict anymore but we'll see. >> So now a new ELPA-devel release should be triggered. Feel free to >> change the Version yourself in order to trigger a new ELPA release. > > My plan was to do that during this weekend once everything on ELPA-devel > works. Alright then. Bye, Tassilo ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#70503: [PATCH] Add function "TeX-master-output-file"
Arash Esbati writes: > Thanks, I updated NEWS.org and pushed. Then I did: > > • $ git switch main > • $ git merge origin/master and get the following: > > CONFLICT (modify/delete): Makefile.in deleted in HEAD and modified in > origin/master. Version origin/master of Makefile.in left in tree. > Automatic merge failed; fix conflicts and then commit the result. > > @Tassilo: Please help ;-) Well, you added style/amsrefs.el to Makefile.in in 61f8825c on master but I've deleted Makefile.in on main since there we use GNUmakefile. And in that, we simply use wildcards instead of enumerating all style files. So I confirmed my deletion with "git rm Makefile.in" in order to resolve the conflict and commit and push the merge. So now a new ELPA-devel release should be triggered. Feel free to change the Version yourself in order to trigger a new ELPA release. Bye, Tassilo ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
main updated (5a64a805 -> 543d92aa)
tsdh pushed a change to branch main. from 5a64a805 Merge remote-tracking branch 'origin/master' adds 1d66dd1f Enable lexical-binding in auto-generated styles adds 5f039df9 ; * NEWS.org: Update the file. adds cba5820c Allow compilation messages to be suppressed adds 59ddea9f Correct variable name adds 61f8825c Add new style/amsrefs.el adds bf7ceef1 ; * NEWS.org: Update the file. adds 77497418 Fix compilation on Emacs 27 adds 7b9efc2e ; * style/amsrefs.el ("amsrefs"): Add the "biblist*" environment. adds 600b9244 ; * NEWS.org: Fix last change. adds a7f80ab8 Replace `TeX-arg-eval' in style/moodle.el adds 970787f9 Improve paragraph commands management for ConTeXt mode (bug#70811) adds e30189d9 ; * NEWS.org: Update for 14.0.5 ELPA release. new 543d92aa Merge remote-tracking branch 'origin/master' Summary of changes: NEWS.org | 153 +++- context.el | 63 + latex.el | 2 +- style/amsrefs.el | 234 + style/moodle.el | 263 --- tex.el | 14 ++- 6 files changed, 576 insertions(+), 153 deletions(-) create mode 100644 style/amsrefs.el
main 543d92aa: Merge remote-tracking branch 'origin/master'
branch: main commit 543d92aa89ff17c3c56bbd677042a78006b67ac4 Merge: 5a64a805 e30189d9 Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' --- NEWS.org | 153 +++- context.el | 63 + latex.el | 2 +- style/amsrefs.el | 234 + style/moodle.el | 263 --- tex.el | 14 ++- 6 files changed, 576 insertions(+), 153 deletions(-) diff --git a/NEWS.org b/NEWS.org index 10e890e0..451056a7 100644 --- a/NEWS.org +++ b/NEWS.org @@ -6,7 +6,7 @@ # License: GNU General Public License 3 # The format is based on [[https://keepachangelog.com/en/1.1.0/][Keep a Changelog]] -* [Unreleased] +* [14.0.5] - 2024-05-19 ** Added @@ -22,19 +22,27 @@ hides all configured macros in the section containing point when ~TeX-fold-mode~ is active. The unfold counterpart ~TeX-fold-clearout-section~ is bound to =C-c C-o s=. -- Add new custom option ~TeX-fold-auto-reveal~ which contols how the - original source text is revealed when user clicks the folded portion - by mouse. - Add new custom option ~TeX-fold-region-functions~ which is a list of additional functions to call when folding a region. +- Add new custom option ~TeX-fold-auto-reveal~ which controls how the + original source text is revealed when user clicks the folded portion + by mouse. +- Add new custom options ~TeX-fold-auto-reveal-commands~ and + ~preview-auto-reveal-commands~ which are lists of commands revealing + folded or previewed buffer text. - Add new custom option ~preview-protect-point~ which determines whether previews generated on top of the current point should be temporarily opened (~nil~ by default). - Add new custom option ~preview-leave-open-previews-visible~ which determines if the preview code stays visible once opened. +- Change the default value of ~TeX-one-master~ in order to recognize the + suffix =.ltx= as regular TeX files. +- Add new custom option ~ConTeXt-paragraph-commands~ containing a list + of macros which should begin their own line. - Support query and insert of ~mcite~ compatibility macro (=style/biblatex.el=). - Support the =\verbatiminput*= macro (=style/verbatim.el=). +- Add new support file =style/amsrefs.el=. ** Fixed @@ -62,3 +70,140 @@ - Revert usage of ~:local~ tag inside ~defcustom~. This tag isn't handled correctly in Emacs 27.1 and breaks AUCTeX. + +* [14.0.3] - 2024-02-20 + +** Fixed + +- Cater for former mode name in customized ~TeX-command-list~. +- Fix and enhance pseudo-parent mode facility. + +* [14.0.2] - 2024-02-09 + +** Fixed + +- Fix ELPA releases. + +* [14.0.1] - 2024-02-08 + +** Added + +- AUCTeX changes major mode names. Its primary purpose is to avoid + conflicts with Emacs built-in TeX major modes. It also improves + consistency of the source code. + - The overview of the former names and new names are: +| Former name | New name | +|---+---| +| ~plain-tex-mode~ | ~plain-TeX-mode~ | +| ~latex-mode~ | ~LaTeX-mode~ | +| ~doctex-mode~ | ~docTeX-mode~ | +| ~texinfo-mode~| ~Texinfo-mode~| +| ~ams-tex-mode~| ~AmSTeX-mode~ | +| ~japanese-plain-tex-mode~ | ~japanese-plain-TeX-mode~ | +| ~japanese-latex-mode~ | ~japanese-LaTeX-mode~ | + +The undocumented modes ~context-en-mode~ and ~context-nl-mode~ were +deleted. + - We paid much attention to the compatibility and expect that almost +no particular treatment on the user side is needed. For example, +the names of the keymaps and mode hooks remain unchanged, and the +=mode:= tag in the file local variables in the existing files works +with old mode names. See below for more details + - If your Emacs is 29 or newer and you use =desktop.el= to save and +restore Emacs sessions, be careful before you update AUCTeX; You +should attempt to update only after +1. you kill all buffer under former AUCTeX modes which have + overlapped name with Emacs built-in TeX modes, and +2. you terminate the current Emacs session. +The modes with such overlapped name are ~plain-tex-mode~, +~latex-mode~, ~doctex-mode~ and ~texinfo-mode~. (The above +prescription ensures no buffer of such modes is recorded in the +desktop file. Otherwise those buffers would be restored in the +built-in modes, not AUCTeX modes, after the update of AUCTeX.) + - New mode names are chosen to match the existing variables, so most +user customizations as well as the third party libraries would +continue to work without modification. For example, names of +keymaps and hooks don't change as stated above. +(~AmS-TeX-mode-hook
main updated (56b5dab1 -> 5a64a805)
tsdh pushed a change to branch main. from 56b5dab1 Recover compatibility with non-GNU sed adds 63968cc5 * tex.el (TeX-one-master): Consider .ltx as ordinary TeX files. adds 8db1e90b Make auto-reveal customizations easier to extend adds 2d0c7011 Allow multiple preview preprocessors adds 8b6a6bbc Allow programmatic preview abortion adds 06c0df55 Expand default auto-reveal options adds 5fdc2350 Generalize some error description regexp adds 0caa1706 Fix previews in indirect buffers new 5a64a805 Merge remote-tracking branch 'origin/master' Summary of changes: doc/auctex.texi| 12 +--- doc/preview-latex.texi | 4 +++- latex.el | 2 +- preview.el | 46 ++ tex-fold.el| 17 ++--- tex.el | 2 +- 6 files changed, 62 insertions(+), 21 deletions(-)
main 5a64a805: Merge remote-tracking branch 'origin/master'
branch: main commit 5a64a805e5b3030712b78f537a13bfdca00a84ea Merge: 56b5dab1 0caa1706 Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' --- doc/auctex.texi| 12 +--- doc/preview-latex.texi | 4 +++- latex.el | 2 +- preview.el | 46 ++ tex-fold.el| 17 ++--- tex.el | 2 +- 6 files changed, 62 insertions(+), 21 deletions(-) diff --git a/doc/auctex.texi b/doc/auctex.texi index 4d338c39..05695f0f 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -2864,9 +2864,15 @@ Cons cell @code{(@var{FUNCTION} . @var{ARGUMENTS})}: @AUCTeX{} calls the is regarded as a boolean flag. @end itemize -It has a reasonable default value to reveal when the point enters the -folded portion with @kbd{@key{left}}, @kbd{@key{right}}, @kbd{C-b}, -@kbd{C-f} or mouse click under standard key binding. +The default behavior is to reveal when the point enters the folded portion +via one of the commands specified in @code{TeX-fold-auto-reveal-commands}. +@end defopt + +@defopt TeX-fold-auto-reveal-commands +This is a list of commands, consulted under the default behavior of +@code{TeX-fold-auto-reveal}. By default, it consists of the commands +@kbd{@key{left}}, @kbd{@key{right}}, @kbd{C-b}, @kbd{C-f} or mouse click +under standard key binding. @end defopt diff --git a/doc/preview-latex.texi b/doc/preview-latex.texi index 0bce9747..84d80be1 100644 --- a/doc/preview-latex.texi +++ b/doc/preview-latex.texi @@ -393,7 +393,9 @@ again once the cursor leaves them again (this is also done when doing incremental search, or query-replace operations), unless you changed anything in it. In that case, you will have to regenerate the preview (via e.g., @kbd{C-c C-p C-p}). Other options for -@code{preview-auto-reveal} are available via @code{customize}. +@code{preview-auto-reveal} are available via @code{customize}. Note that +the default behavior of @code{preview-auto-reveal} derives from the list +@code{preview-auto-reveal-commands} which can be customized as well. @item Automatically cache preambles diff --git a/latex.el b/latex.el index e2d2d88e..5c6a8510 100644 --- a/latex.el +++ b/latex.el @@ -7160,7 +7160,7 @@ error message occurs when the is used in a centering or flushing environment or else in the scope of a centering or flushing declaration.") -("begin{[^ ]*} ended by end{[^ ]*}." . +("begin{[^ ]*} \\(?:on input line [0-9]+ \\)?ended by end{[^ ]*}." . "LaTeX has found an \\end command that doesn't match the corresponding \\begin command. You probably misspelled the environment name in the \\end command, have an extra \\begin, or else forgot an \\end.") diff --git a/preview.el b/preview.el index 31df43f0..7f849827 100644 --- a/preview.el +++ b/preview.el @@ -1641,9 +1641,20 @@ numbers (can be float if available)." Fallback to :inherit and \\='default implemented." :group 'preview-appearance) +(defcustom preview-auto-reveal-commands + '((key-binding [left]) +(key-binding [right]) +backward-char +forward-char +pop-to-mark-command +undo) + "List of commands that may cause a preview to be revealed. +This list is consulted by the default value of `preview-auto-reveal'." + :type '(repeat (choice (function :tag "Function") + (sexp :tag "Key binding" + (defcustom preview-auto-reveal - '(eval (preview-arrived-via (key-binding [left]) (key-binding [right]) - #'backward-char #'forward-char)) + '(eval (apply #'preview-arrived-via preview-auto-reveal-commands)) "Cause previews to open automatically when entered. Possibilities are: t autoopens, @@ -3893,6 +3904,12 @@ If FAST is set, do a fast conversion." TeX-shell-command-option command +(defvar-local preview-abort-flag nil + "Cause ongoing preview generation to abort. +If non-nil, then `preview-TeX-inline-sentinel' aborts and resets this +variable to nil. This is intended to give a way for external packages +to abort preview generation, more reliably than via process signals.") + (defun preview-TeX-inline-sentinel (process _name) "Sentinel function for preview. See `TeX-sentinel-function' and `set-process-sentinel' @@ -3901,7 +3918,12 @@ for definition of PROCESS and NAME." (let ((status (process-status process))) (if (memq status '(signal exit)) (delete-process process)) -(when (eq status 'exit) +(cond + ((with-current-buffer TeX-command-buffer +(prog1 +preview-abort-flag + (setq preview-abort-flag nil + ((eq status 'exit) (save-excursion (goto-char (point-max)) (forward-line -1) @@ -3912,7 +3934,7 @@ for definition of PROCES
Re: string variables in LaTeX-indent-level-count: "" or nil?
Mandar Mitra writes: >> But note that the update to AUCTeX 14 from 13 or older can be a bit >> tricky because of heavy changes. If something seems fishy, do M-x >> package-delete auctex RET, restart emacs, and then install auctex >> again. > > That did the trick, many thanks! You are welcome. :-) Bye, Tassilo
Re: string variables in LaTeX-indent-level-count: "" or nil?
Mandar Mitra writes: Hi Mandar, > I just upgraded from MELPA last night. You mean ELPA, right? > I'm looking at (no pun intended) the function LaTeX-indent-level-count > in elpa/auctex-14.0.4/latex.el. It contains tests of the form > > (looking-at LaTeX-indent-begin-regexp-exceptions-local) > > (looking-at LaTeX-indent-begin-regexp-local) > > (looking-at LaTeX-indent-end-regexp-local) > > These variables seem to be nil by default, and looking-at is not > happy, because it expects a string. > > Is this oversight, or am I doing something wrong? The function LaTeX-mode has :after-hook (LaTeX-mode-cleanup) which calls LaTeX-indent-commands-regexp-make again and will set those variables to actual regex strings. But note that the update to AUCTeX 14 from 13 or older can be a bit tricky because of heavy changes. If something seems fishy, do M-x package-delete auctex RET, restart emacs, and then install auctex again. Bye, Tassilo
bug#70503: [PATCH] Add function "TeX-master-output-file"
Ikumi Keita writes: >> Thanks for looking at this. The new workflow (for the time being) is >> actually the old one: Push all changes to the master branch, and we can >> merge that onto main when needed. The only minor change is probably to >> add noteworthy changes to NEWS.org and not to changes.texi. > > Thanks, I committed to the master branch and pushed. I'll close this > bug. Merged into main, so a new ELPA-devel package should appear within 6 hours including Paul's (and Vangelis') recent changes. Thanks a lot! Tassilo ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
main da4a140b: Merge remote-tracking branch 'origin/master'
branch: main commit da4a140bd8e031a98665eb9601efdda6f3df4bcb Merge: 235f420c 255da611 Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' --- NEWS.org | 4 + bib-cite.el | 2 +- doc/changes.texi | 12 ++ doc/preview-latex.texi| 7 +- latex.el | 16 +-- plain-tex.el | 3 + preview.el| 24 +++- style/catchfilebetweentags.el | 2 +- style/pdfsync.el | 2 +- style/pstricks.el | 9 +- tex-info.el | 2 +- tex.el| 247 +++--- toolbar-x.el | 6 +- 13 files changed, 199 insertions(+), 137 deletions(-) diff --git a/NEWS.org b/NEWS.org index 21b98e30..10e890e0 100644 --- a/NEWS.org +++ b/NEWS.org @@ -10,6 +10,10 @@ ** Added +- Add support for indirect buffers cloned from buffers visiting a file. + In indirect buffer, preview-latex works correctly when the command + ~preview-region~ is invoked. The command ~preview-document~ puts + preview images in the base buffer, not in the indirect buffer itself. - Add preliminary support for processing files with latexmk. Support for =dvipdfmx= and the choice for viewer after compilation are not optimal, yet. Overall, the support comes close to what the diff --git a/bib-cite.el b/bib-cite.el index 5a7de98f..7b425cac 100644 --- a/bib-cite.el +++ b/bib-cite.el @@ -1903,7 +1903,7 @@ If no master file, then return current default." ;; rather than\input file (re-search-forward "^[ \t]*\\(include\\|input\\){" nil t - (buffer-file-name)) + (TeX-buffer-file-name)) (t nil (cond diff --git a/doc/changes.texi b/doc/changes.texi index cae91aa2..0d57a654 100644 --- a/doc/changes.texi +++ b/doc/changes.texi @@ -11,6 +11,18 @@ @heading News in 14.1 @itemize @bullet +@item +@AUCTeX{} can be used with indirect buffers cloned from buffers visiting a +file. This feature allows having different perspectives of the same +buffer (narrowing, folding, previewing, etc). The indirect buffer has the +same master file as its base buffer. + +In indirect buffer, @previewlatex{} works naturally for region preview +such as @code{preview-region} (@kbd{C-c C-p C-r}), but document preview +@code{preview-document} (@kbd{C-c C-p C-d}) puts preview images in the +base buffer, not in the indirect buffer itself. We expect this behavior +doesn't matter because of the users' intent. + @item @AUCTeX{} changes major mode names. Its primary purpose is to avoid conflicts with Emacs built-in @TeX{} major modes. It also improves diff --git a/doc/preview-latex.texi b/doc/preview-latex.texi index 0c1fb730..0bce9747 100644 --- a/doc/preview-latex.texi +++ b/doc/preview-latex.texi @@ -674,7 +674,12 @@ current point should be temporarily opened. Default value is @code{nil}. @item preview-leave-open-previews-visible This boolean variable determines whether to leave preview images visible -(above their generating TeX code) when they are opened. +when they are opened. + +There is a side effect in enabling this option. The preview image doesn't +turn into construction sign temporarily when you edit the underlying +@LaTeX{} code and regenerate the preview; it is just replaced by updated +image when ready. This behavior suppresses flicker in the appearance. @end vtable diff --git a/latex.el b/latex.el index c5965b05..e2d2d88e 100644 --- a/latex.el +++ b/latex.el @@ -39,12 +39,12 @@ (require 'subr-x))) ;; Silence the compiler for functions: -(declare-function outline-level "ext:outline" - nil) -(declare-function outline-mark-subtree "ext:outline" - nil) -(declare-function turn-off-filladapt-mode "ext:filladapt" - nil) +(declare-function multi-prompt "multi-prompt") +(declare-function multi-prompt-key-value "multi-prompt") +(declare-function LaTeX-install-toolbar "tex-bar" nil) +(declare-function outline-level "ext:outline" nil) +(declare-function outline-mark-subtree "ext:outline" nil) +(declare-function turn-off-filladapt-mode "ext:filladapt" nil) ;; Silence the compiler for variables: (defvar outline-heading-alist) @@ -2569,7 +2569,7 @@ string." Initial input is the name of the file being visited in the current buffer, with extension. If OPTIONAL is non-nil, insert it as an optional argument. Use PROMPT as the prompt string." - (let ((name (file-name-nondirectory buffer-file-name))) + (let ((name (file-name-nondirectory (TeX-buffer-file-name (TeX-argument-insert (TeX-read-string (TeX-argument-prompt optional @@ -2590,7 +2590,7 @@ current
main updated (235f420c -> da4a140b)
tsdh pushed a change to branch main. from 235f420c Delete Makefile.in and auctex.el.in adds 195bceed Supplement documentation adds 36590b04 Fix preview bug involving long common suffixes adds 0e315c7f Support indirect buffer adds a401c3fc Silence the compiler for the "main" branch adds f5546d1d ; * NEWS.org: Update the file. adds 255da611 Add function TeX-master-output-file new da4a140b Merge remote-tracking branch 'origin/master' Summary of changes: NEWS.org | 4 + bib-cite.el | 2 +- doc/changes.texi | 12 ++ doc/preview-latex.texi| 7 +- latex.el | 16 +-- plain-tex.el | 3 + preview.el| 24 +++- style/catchfilebetweentags.el | 2 +- style/pdfsync.el | 2 +- style/pstricks.el | 9 +- tex-info.el | 2 +- tex.el| 247 +++--- toolbar-x.el | 6 +- 13 files changed, 199 insertions(+), 137 deletions(-)
Re: [can't compile the main branch]
Stefan Monnier writes: > While I'm here, I think with the new setup we can get rid of > `Makefile.in` and `auctex.el.in`. True, I've deleted them on main. Bye, Tassilo
main 235f420c: Delete Makefile.in and auctex.el.in
branch: main commit 235f420c1dc4c8a8109f6edd04a035fb36236e3e Author: Tassilo Horn Commit: Tassilo Horn Delete Makefile.in and auctex.el.in They are not used on the main branch. --- Makefile.in | 632 --- auctex.el.in | 47 - 2 files changed, 679 deletions(-) diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index bc2ea951.. --- a/Makefile.in +++ /dev/null @@ -1,632 +0,0 @@ -# Makefile for AUCTeX - -# Maintainer: auctex-devel@gnu.org - -# Copyright (C) 2003-2008, 2010, 2013-2015, 2018-2024 Free Software -# Foundation, Inc. - -# This file is part of AUCTeX. - -# AUCTeX is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. - -# AUCTeX is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with AUCTeX; see the file COPYING. If not, write to the Free -# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -# MA 02110-1301, USA. - -@SET_MAKE@ - -prefix = @prefix@$(null) -exec_prefix = @exec_prefix@$(null) -libdir = @libdir@$(null) -packagedatadir = @packagedatadir@$(null) -datarootdir = @datarootdir@$(null) -datadir = @datadir@$(null) -localstatedir = @localstatedir@$(null) -infodir = @infodir@$(null) -lispdir = @lispdir@$(null) -auctexstartfile=@auctexstartfile@ -previewstartfile = @previewstartfile@ -packagelispdir = @packagelispdir@$(null) -packagedatadir = @packagedatadir@$(null) -autodir = @autodir@$(null) -preview_enabled=@preview_enabled@ -styledir = $(packagedatadir)/style -AUCTEXDATE = @AUCTEXDATE@ -AUCTEXVERSION = @AUCTEXVERSION@ - -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -MKINSTALLDIRS = ./mkinstalldirs -DESTDIR= - -PACKAGE=auctex -PACKAGE_INFO=auctex preview-latex -EMACS=@EMACS@ -ELCC=$(EMACS) -batch -q -no-site-file -no-init-file -l lpath.el -AUTOLOAD=--eval '\ -(let* ((autoload-file (expand-file-name "$@")) \ - (autoload-file-dir (file-name-directory autoload-file))) \ - (if (fboundp (quote loaddefs-generate)) \ - (loaddefs-generate autoload-file-dir autoload-file \ -(list "preview.el" "tex-wizard.el")) \ -(mapcar (lambda (file) \ - (update-file-autoloads file nil autoload-file)) \ - command-line-args-left)) \ - (save-buffers-kill-emacs t))' - -PREVIEW_AUTOLOAD=--eval '\ -(let* ((autoload-file (expand-file-name "$@")) \ - (autoload-file-dir (file-name-directory autoload-file))) \ - (if (fboundp (quote loaddefs-generate)) \ - (loaddefs-generate autoload-file-dir autoload-file \ -(mapcar (function symbol-name) \ -(quote ($(AUCSRC) tex-wizard.el \ -(update-file-autoloads "preview.el" nil autoload-file)) \ - (save-buffers-kill-emacs t))' - -# Files and directories excluded from distributed tar ball. -EXCLUDEDFILES=autogen.sh .gitignore doc/.gitignore doc/tex-ref.log \ - latex/.gitignore README.GIT tests build-aux - -.SUFFIXES: .el .elc .texi - -SHELL = /bin/sh -CP = cp -p -CP_A = $(CP) -R - -DIST_PREFIX=$(PWD)/auctex-dist -FTPDIR = $(DIST_PREFIX)/ftp -WWWDIR = $(DIST_PREFIX)/www -CTANDIR = $(DIST_PREFIX)/ctan -PREVIEW_BUILD_DIR = preview-build -COMMITTER="`git config --get user.name`\ \ \<`git config --get user.email`\>" - -AUCSRC = tex.el tex-style.el plain-tex.el latex.el tex-info.el \ - texmathp.el multi-prompt.el tex-mik.el font-latex.el tex-font.el \ - context.el context-en.el context-nl.el tex-fold.el tex-jp.el \ - toolbar-x.el tex-bar.el bib-cite.el tex-ispell.el latex-flymake.el -AUCELC = $(AUCSRC:.el=.elc) - -STYLESRC = style/prosper.el \ - style/slides.elstyle/foils.el style/amstex.el \ - style/article.el style/book.el style/letter.el \ - style/report.elstyle/amsart.elstyle/amsbook.el \ - style/epsf.el style/psfig.el \ - style/dutch.el style/german.elstyle/dk.el \ - style/j-article.el style/j-book.elstyle/j-report.el \ - style/jarticle.el style/jbook.el style/jreport.el \ - style/tarticle.el style/tbook.el style/treport.el \ - style/jsarticle.el style/jsbook.elstyle/jsreport.el \ - style/dinbrief.el style/virtex.elstyle/plfonts.el \ - style/plhb.el style/harvard.el style/swedish.el \ - style/danish.elstyle/slovak.elstyle/czech.el \ - style/amsmath.el style/amstext.el style/amsbsy.el \ - style/amsopn.el
Re: [can't compile the main branch]: SOLVED
Arash Esbati writes: >> It depends on how clean the clean target should make. I went for >> very clean but wouldn't mind if the ChangeLog was kept. For what >> purpose? > > I maintain a ChangeLog: I use 'C-x 4 a' to make a ChangeLog entry and > depending on how I make a commit, I plonk that entry into the commit > message (vc or copy); I don't use Magit. So I rely on that > file. Ah, ok, and you do that probably over multiple emacs sessions so that the buffer isn't there anymore. You might as well customize change-log-default-name to "MyTmpChangeLog" or something so that the name doesn't clash with a generated, untracked file which might be deleted or re-generated at will. Bye, Tassilo
Re: [can't compile the main branch]: SOLVED
Arash Esbati writes: >> I totally don't mind when you fix my errors and oversights. That's >> exactly why I've hired you. ;-) > > And I rely on Keita looknig after me ;-) We are lucky. Good that we have him. > I have another question about this rule: > > clean: > rm -f $(ALL_GENERATED_FILES) \ > $(wildcard *.elc style/*.elc) \ > auctex-autoloads.el \ > ChangeLog \ > $(DYNVARSFILES) > > Is it necessary to delete ChangeLog here? This rule just killed my > local ChangeLog :-( It depends on how clean the clean target should make. I went for very clean but wouldn't mind if the ChangeLog was kept. For what purpose? >> I don't get them with regular make either. Maybe because I run emacs >> master which is a bit more clever? > > My Emacs is from master and 9c01da56a5 smart. And you get Uwe's additional warnings with that, too? Bye, Tassilo
Re: [can't compile the main branch]: SOLVED
Arash Esbati writes: > Thanks. Do you mind if I add this change to it: I totally don't mind when you fix my errors and oversights. That's exactly why I've hired you. ;-) >> Strange enough, it doesn't catch the cl-member warning above and also >> not the ones Uwe mentioned > > I see what Uwe reported when I run the regular make, with > dynvars-check I get the same results as you. I don't get them with regular make either. Maybe because I run emacs master which is a bit more clever? Thanks, Tassilo
Re: [can't compile the main branch]
Tassilo Horn writes: >>> The original problem was that elpa.gnu.org did not have TeX >>> installed. After fixing it there was another problem of access >>> rights when running TeX. I believe it is now fixed and it should get >>> built within the next 6 hours. Knocking on wood. >> >> Sadly, the last build failed with the same error as the previous one: > > Oh, now some new version (from 2024-04-23 built today) has appeared! So > I guess within the next 6 hours there will be a new release. And there it is! So it seems to work now; you can stop knocking. ;-) Thanks, Tassilo
Re: [can't compile the main branch]: SOLVED
Arash Esbati writes: >> If you have more than those, yes: >> >> In bib-find-next: >> bib-cite.el:944:8: Warning: ‘find-tag’ is an obsolete function (as of >> 25.1); use ‘xref-find-definitions’ instead. >> >> In end of data: >> tex-info.el: Warning: the function ‘cl-member’ might not be defined at >> runtime. >> >> In toolbarx-process-dropdown-group: >> toolbar-x.el:886:10: Warning: in defcustom: missing :type keyword parameter >> toolbar-x.el:886:10: Warning: in defcustom: fails to specify containing >> group > > Would it make sense to add the dynvars-check rule to the GNUmakefile? > I never really understood how that works. Can you have a look at it, > please? Done. Strange enough, it doesn't catch the cl-member warning above and also not the ones Uwe mentioned, i.e.; --8<---cut here---start->8--- plain-tex.el:46:6: Warning: the function ‘TeX-install-toolbar’ is not known to be defined. tex.el:5155:38: Warning: the function ‘TeX-fold-mode’ is not known to be defined. tex.el:3690:36: Warning: the function ‘font-latex-setup’ is not known to be defined. latex.el:7137:6: Warning: the function ‘LaTeX-install-toolbar’ is not known to be defined. latex.el:3494:4: Warning: the function ‘multi-prompt-key-value’ is not known to be defined. latex.el:2491:17: Warning: the function ‘multi-prompt’ is not known to be defined. style/pstricks.el:655:15: Warning: the function ‘multi-prompt-key-value’ is not known to be defined. --8<---cut here---end--->8--- That's what I get: ❯ make dynvars-check ... --8<---cut here---start->8--- In bib-find-next: bib-cite.el:944:8: Warning: ‘find-tag’ is an obsolete function (as of 25.1); use ‘xref-find-definitions’ instead. In TeX-Omega-mode: tex.el:1660:20: Warning: ‘TeX-Omega-mode’ is an obsolete variable (as of 11.86); use ‘TeX-engine’ instead. tex.el:1660:20: Warning: ‘TeX-Omega-mode’ is an obsolete variable (as of 11.86); use ‘TeX-engine’ instead. tex.el:1660:20: Warning: ‘TeX-Omega-mode’ is an obsolete variable (as of 11.86); use ‘TeX-engine’ instead. tex.el:1664:23: Warning: ‘TeX-Omega-mode’ is an obsolete variable (as of 11.86); use ‘TeX-engine’ instead. tex.el:1660:20: Warning: ‘TeX-Omega-mode’ is an obsolete variable (as of 11.86); use ‘TeX-engine’ instead. tex.el:1660:20: Warning: ‘TeX-Omega-mode’ is an obsolete variable (as of 11.86); use ‘TeX-engine’ instead. tex.el:1660:20: Warning: ‘TeX-Omega-mode’ is an obsolete variable (as of 11.86); use ‘TeX-engine’ instead. tex.el:1665:29: Warning: ‘TeX-Omega-mode’ is an obsolete function (as of 11.86); use ‘TeX-engine-set’ instead. tex.el:6077:45: Warning: ‘TeX-dollar-sign’ is an obsolete variable (as of AUCTeX 9.9d++). tex.el:6079:29: Warning: ‘TeX-dollar-string’ is an obsolete variable (as of AUCTeX 9.9d++). tex.el:6080:25: Warning: ‘TeX-dollar-string’ is an obsolete variable (as of AUCTeX 9.9d++). In toolbarx-process-dropdown-group: toolbar-x.el:886:10: Warning: in defcustom: missing :type keyword parameter toolbar-x.el:886:10: Warning: in defcustom: fails to specify containing group --8<---cut here---end--->8--- Bye, Tassilo
main b1da63be: Add dynvars-check make target
branch: main commit b1da63be543aae20530fbaa90c04fbc7222040c3 Author: Tassilo Horn Commit: Tassilo Horn Add dynvars-check make target --- GNUmakefile | 12 1 file changed, 12 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 1b4499a3..892d1c3c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -135,3 +135,15 @@ dir: $(INFO_FILES) $(LATEX_FILES): latex/preview.dtx latex/bootstrap.ins cd latex; $(TEX) '\nonstopmode \input bootstrap.ins' cd latex; $(TEX) '\nonstopmode \input preview-mk.ins' + +DYNVARSFILES = *.dynvars style/*.dynvars auctex-dynvars +dynvars-check: + rm -f $(wildcard *.elc) $(wildcard style/*elc) $(DYNVARSFILES) + EMACS_GENERATE_DYNVARS=1 $(EMACS) -f batch-byte-compile \ + $(wildcard *.el) $(wildcard style/*el) \ + > /dev/null 2>&1 + cat *.dynvars style/*.dynvars > auctex-dynvars + rm -f $(wildcard *.elc) $(wildcard style/*elc) + EMACS_DYNVARS_FILE=auctex-dynvars $(EMACS) \ + -f batch-byte-compile \ + $(wildcard *.el) $(wildcard style/*el)
Re: [can't compile the main branch]
Tassilo Horn writes: >> The original problem was that elpa.gnu.org did not have TeX >> installed. After fixing it there was another problem of access >> rights when running TeX. I believe it is now fixed and it should get >> built within the next 6 hours. Knocking on wood. > > Sadly, the last build failed with the same error as the previous one: Oh, now some new version (from 2024-04-23 built today) has appeared! So I guess within the next 6 hours there will be a new release. Tassilo
Re: [can't compile the main branch]: SOLVED
Uwe Brauer writes: >> No, certainly not. Getting rid of all that complicated stuff no one >> of the current auctex maintainers understands and which is basically >> not needed anymore, is exactly the purpose of the exercise. > > > > So I have to use the developer version in place, and testing it at the > same time, uuuh Where's the problem? I run every elisp project (including emacs itself) where I have a checkout from the clone itself. Why would someone want to copy/duplicate the files to somewhere below /usr/local/? Tassilo
Re: main branch: why not have make elpa or ./confiure --with-elpa
Uwe Brauer writes: > Given the current difficulties of compiling the main branch, for users > that don't use Emacs > 29.1 or don't use git, but would like to test > and contribute say style files: The issues have been resolved. > 1. Could we leave things as if were, that is > >1. .configure stays, > >2. make > >3. make install > > 2. But make elpa is added? > > 3. Or add and option to configure ./configure --with-elpa > > Unfortunately I don't know how to achieve that myself Me neither. And that's exactly the point why we want to let the autotools build and standalone tarball releases behind. Bye, Tassilo
Re: [can't compile the main branch]: SOLVED
Uwe Brauer writes: >> That has the benefit of showing warnings for missing >> requires (undefined variables/functions). > > As I said, there was a bunch of warnings about undefined functions, for > my emacs version. Do you want me to send them? If you have more than those, yes: In bib-find-next: bib-cite.el:944:8: Warning: ‘find-tag’ is an obsolete function (as of 25.1); use ‘xref-find-definitions’ instead. In end of data: tex-info.el: Warning: the function ‘cl-member’ might not be defined at runtime. In toolbarx-process-dropdown-group: toolbar-x.el:886:10: Warning: in defcustom: missing :type keyword parameter toolbar-x.el:886:10: Warning: in defcustom: fails to specify containing group >> Which two make processes do you mean? > > I mean > > 1. Call new process: make elpa > > 2. And include the old one from the master branch so that: >.configure+make+make install works as before. No, certainly not. Getting rid of all that complicated stuff no one of the current auctex maintainers understands and which is basically not needed anymore, is exactly the purpose of the exercise. Tassilo
Re: [can't compile the main branch]: SOLVED
Uwe Brauer writes: > 2. It was in my opinion *considerably* slower then the compilation >of the master branch: result time make -j8: >69.088u 25.540s 1:20.66 365.2% 0+0k 1040+8448io 0pf+0w That's true because I chose to compile each lisp file one by one instead all in one call. That has the benefit of showing warnings for missing requires (undefined variables/functions). > * Finally: > > I know I already asked this but can't we have both make processes. Which two make processes do you mean? Bye, Tassilo
Re: compilation using git needs 10 minutes and fails
Uwe Brauer writes: Hi Uwe, I think that everything should be resolved now: - building without git or not from a git clone - build depends on ChangeLog which cannot be generated - generate auctex-autoloads.el (formerly loaddefs.el) in a way compatible with emacs 27.1 Please test! >> Side note: I recommend you try to resolve this situation somehow. >> Emacs current release is 29.3. Sitting on an old dev-version is not >> really satisfactory, IMHO. > > I know, once the semester is finished I have also to upgrade my Ubuntu > version, which will also be a medium sized nightmare. FWIW, I have only good experiences with rolling release distros and daily updates. If something breaks (which happens almost never), it's very easy to find the culprit and fix it. Tassilo
Re: [can't compile the main branch]
Stefan Monnier writes: >> But before investing time on Uwe's scenario: Stefan, do you know why >> no new devel release has been built so far? > > You've presumably received copies (via auctex-devel) of the build > error notification. Oh, indeed. :-) > The original problem was that elpa.gnu.org did not have TeX installed. > After fixing it there was another problem of access rights when > running TeX. I believe it is now fixed and it should get built within > the next 6 hours. Knocking on wood. Sadly, the last build failed with the same error as the previous one: Building tarball auctex.tar... Build error for auctex.tar: (error "Error-indicating exit code in elpaa--call-sandboxed: make[1]: Entering directory '/home/elpa/elpa/packages/auctex' (cd doc; makeinfo -D rawfile --no-headers intro.texi --output -) >README (cd doc; makeinfo -D rawfile --no-headers preview-readme.texi --output -) >> README sed -e 's|@lisppackagelispdir@|(file-name-directory load-file-name)|'\\ -e 's|@lisppackagedatadir@|(file-name-directory load-file-name)|'\\ -e 's|@lispautodir@|(if (file-writable-p \"/usr/local/var/auctex\") \"/usr/local/var/auctex\" \"~/.emacs.d/auctex\")|'\\ -e 's|@AUCTEXVERSION@|14.0.4.2024-04-23_17:52:06|'\\ -e 's|@AUCTEXDATE@|2024-04-23_17:52:06|'\\ tex-site.el.in >tex-site.el echo @set VERSION 14.0.4.2024-04-23_17:52:06 >doc/version.texi echo @set UPDATED 2024-04-23_17:52:06 >>doc/version.texi perl doc/preview-dtxdoc.pl latex/preview.dtx doc/preview-dtxdoc.texi cd latex; tex '\\nonstopmode \\input bootstrap.ins' This is TeX, Version 3.141592653 (TeX Live 2022/Debian) (preloaded format=tex) kpathsea: Running mktexfmt tex.fmt mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order): mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes: mktexfmt: /home/elpa/.texlive2022/texmf-config/web2c/fmtutil.cnf mktexfmt [INFO]: writing formats under /home/elpa/.texlive2022/texmf-var/web2c mktexfmt [INFO]: Did not find entry for byfmt=tex skipped mktexfmt [INFO]: total formats: 0 mktexfmt [INFO]: exiting with status 0 I can't find the format file `tex.fmt'! make[1]: *** [GNUmakefile:116: latex/preview.sty] Error 1 make[1]: Leaving directory '/home/elpa/elpa/packages/auctex' ") Build of package auctex.tar FAILED!! Bye, Tassilo
Re: [can't compile the main branch]
Stefan Monnier writes: > Which points out that maybe instead of changing `gitlog-to-auctexlog` > it'd be easier to change the `make` rule so it doesn't build > `ChangeLog` (and have another rule that does build `ChangeLog` for > those cases where it's important). That's what I've done now. There's a new ChangeLog target which is only required by the elpa target. Thanks! Tassilo
main 2912617a: Generate ChangeLog only in elpa make target
branch: main commit 2912617a42a781e9c876ec4c9db8f76a71496354 Author: Tassilo Horn Commit: Tassilo Horn Generate ChangeLog only in elpa make target --- GNUmakefile | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 8dacf628..c10a6cd8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -62,7 +62,7 @@ AUTOLOAD=--eval '\ (save-buffers-kill-emacs t))' auctex-autoloads.el: - -rm -f $@ + rm -f $@ $(EMACS) $(AUTOLOAD) $(wildcard *.el) # auctex-autoloads.el: @@ -80,17 +80,18 @@ auctex-autoloads.el: # will be built on elpa due to :doc ("doc/auctex.texi" # "doc/preview-latex.texi") in the auctex recipe in elpa-packges and # compiling is done locally. -elpa: $(MAIN_GENERATED_FILES) +elpa: $(MAIN_GENERATED_FILES) ChangeLog # We want the tex-site.el target to be always run so that the version -# (especially the release version grabbed from the top of the git -# log/ChangeLog) is correct. +# (especially the release version grabbed from the top of the git log) +# is correct. .PHONY: tex-site.el clean: rm -f $(ALL_GENERATED_FILES) \ $(wildcard *.elc style/*.elc) \ - auctex-autoloads.el + auctex-autoloads.el \ + ChangeLog # Copied from doc/Makefile.in. MAKEINFO_PLAIN=$(MAKEINFO) -D rawfile --no-headers @@ -98,8 +99,6 @@ README: doc/intro.texi doc/preview-readme.texi doc/macros.texi (cd doc; $(MAKEINFO_PLAIN) intro.texi --output -) >$@ (cd doc; $(MAKEINFO_PLAIN) preview-readme.texi --output -) >> $@ -# Commands copied from autogen.sh and doc/Makefile.in. -IGNORED:=$(shell rm -f ChangeLog && ./build-aux/gitlog-to-auctexlog && cat ChangeLog.1 >> ChangeLog) # Committer date of HEAD. AUCTEXDATE:=$(shell (git log -n1 --pretty=tformat:"%ci" 2>/dev/null \ || date +"%Y-%m-%d %T") \ @@ -121,10 +120,14 @@ tex-site.el: tex-site.el.in -e 's|@AUCTEXDATE@|$(AUCTEXDATE)|'\ $< >$@ -doc/version.texi: ChangeLog +doc/version.texi: echo @set VERSION $(AUCTEXVERSION) >$@ echo @set UPDATED $(AUCTEXDATE) >>$@ +ChangeLog: + rm -f $@ + ./build-aux/gitlog-to-auctexlog && cat ChangeLog.1 >> $@ + # Copied from doc/Makefile.in. doc/preview-dtxdoc.texi: latex/preview.dtx doc/preview-dtxdoc.pl $(PERL) doc/preview-dtxdoc.pl latex/preview.dtx $@
Re: [can't compile the main branch]
Arash Esbati writes: > I think `make-directory-autoloads' would be even easier, but it was > introduced with 28.1, and we currently support 27.1, sigh! I think I > can solve it with the patch below. Thanks, applied with the minor change that I use $(wildcard *.el) instead of listing all lisp files and binding them to AUCSRC. Tassilo
main e835b95b: Generate auctex-autoloads.el in a way compatible with emacs 27.1
branch: main commit e835b95bc8108cc82b2fe3660ae0574d0f57206c Author: Arash Esbati Commit: Tassilo Horn Generate auctex-autoloads.el in a way compatible with emacs 27.1 --- GNUmakefile | 34 ++ 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 4fb88291..8dacf628 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -40,12 +40,38 @@ ALL_GENERATED_FILES=$(MAIN_GENERATED_FILES) \ $(INFO_FILES) # Generate & compile everything including the manuals below doc/. -all: $(ALL_GENERATED_FILES) compile autoloads +all: $(ALL_GENERATED_FILES) compile auctex-autoloads.el compile: $(patsubst %.el,%.elc,$(wildcard *.el style/*.el)) -autoloads: - $(EMACS) -f loaddefs-generate-batch loaddefs.el . +# If we were depending on emacs 29.1, we could simply use +# loaddefs-generate. If we were depending on 28.1, we could still use +# update-directory-autoloads... +AUTOLOAD=--eval '\ +(let* ((autoload-file (expand-file-name "$@")) \ + (autoload-file-dir (file-name-directory autoload-file))) \ + (if (fboundp `loaddefs-generate) \ + (loaddefs-generate autoload-file-dir autoload-file \ + (list "tex-wizard.el") \ + "(add-to-list `load-path\n\ + (directory-file-name\n\ + (file-name-directory load-file-name)))")\ +(mapc (lambda (file) \ +(update-file-autoloads file nil autoload-file)) \ + command-line-args-left)) \ + (save-buffers-kill-emacs t))' + +auctex-autoloads.el: + -rm -f $@ + $(EMACS) $(AUTOLOAD) $(wildcard *.el) + +# auctex-autoloads.el: +# $(EMACS) --eval \ +# "(loaddefs-generate \".\" \"auctex-autoloads.el\" nil \"\ +# (add-to-list 'load-path\n\ +# (directory-file-name\n\ +# (file-name-directory load-file-name)))\ +# \")" %.elc: %.el $(EMACS) -f batch-byte-compile $< @@ -64,7 +90,7 @@ elpa: $(MAIN_GENERATED_FILES) clean: rm -f $(ALL_GENERATED_FILES) \ $(wildcard *.elc style/*.elc) \ - loaddefs.el + auctex-autoloads.el # Copied from doc/Makefile.in. MAKEINFO_PLAIN=$(MAKEINFO) -D rawfile --no-headers
main a830eb1c: Fallbacks for "no git" or "not a git clone"
branch: main commit a830eb1c9411a791c5228391813f7d6d114dc079 Author: Stefan Monnier Commit: Tassilo Horn Fallbacks for "no git" or "not a git clone" --- GNUmakefile | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index b5cec482..4fb88291 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -17,7 +17,8 @@ # latex: prtightpage.def # latex: prtracingall.def -EMACS=emacs --batch -q -no-site-file -no-init-file -l lpath.el +EMACSBIN=emacs +EMACS=$(EMACSBIN) --batch -q -no-site-file -no-init-file -l lpath.el MAKEINFO=makeinfo INSTALL_INFO=install-info PERL=perl @@ -74,18 +75,16 @@ README: doc/intro.texi doc/preview-readme.texi doc/macros.texi # Commands copied from autogen.sh and doc/Makefile.in. IGNORED:=$(shell rm -f ChangeLog && ./build-aux/gitlog-to-auctexlog && cat ChangeLog.1 >> ChangeLog) # Committer date of HEAD. -AUCTEXDATE:=$(shell git log -n1 --pretty=tformat:"%ci" \ - | sed -nre 's/ /_/p' | sed -nre 's/ .*//p') +AUCTEXDATE:=$(shell (git log -n1 --pretty=tformat:"%ci" 2>/dev/null \ + || date +"%Y-%m-%d %T") \ +| sed -re 's/ /_/' -e 's/ .*//') # Extract the version number from the diff line "+;; Version: 14.0.4" of # the commit HEAD which is only filled when we did a release in the last # commit. -THISVERSION:=$(shell git show HEAD -- auctex.el \ +THISVERSION:=$(shell git show HEAD -- auctex.el 2>/dev/null \ | sed -nre 's/[+];; Version: ([0-9]+.[0-9]+.[0-9]+)/\1/p') -# Extract the last version number from the previous change to auctex.el, -# i.e., only look at commits starting at HEAD~1. -LASTVERSION:=$(shell git log HEAD~1 -p --first-parent -- auctex.el \ - | grep "+;; Version: " \ - | sed -nre 's/[+];; Version: ([0-9]+.[0-9]+.[0-9]+)/\1/p;q') +# Extract the last released version number from `auctex.el`. +LASTVERSION:=$(shell sed -nre '/Version:/{s/;; Version: ([0-9]+.[0-9]+.[0-9]+)/\1/p;q}' auctex.el) AUCTEXVERSION:=$(if $(THISVERSION),$(THISVERSION),$(LASTVERSION).$(AUCTEXDATE)) tex-site.el: tex-site.el.in
Re: [can't compile the main branch]
Stefan Monnier writes: > The GNUmakefile tries to find the date of the commit you're building, > and that's only available from the VCS metadata. The patch below > should make it fallback to using the current date. Thanks a lot! Applied. Tassilo
Re: [can't compile the main branch]
Hi all, I just wanted to say that I'll have a look about making the build succeed in the absence of git or when running it not in a normal git clone when I find some spare time. It also occurred to me that the ChangeLog is and has always be "wrong" for ELPA releases. Basically, we generate it by prepending ChangeLog entries for all newer commits to ChangeLog.1. But on the externals/auctex branch there have been more commits than on master because master was merged into there. So basically, the generated ChangeLog contains entries for the "first-parent" commits of merges breaking the chronological order from new to old... But before investing time on Uwe's scenario: Stefan, do you know why no new devel release has been built so far? https://elpa.gnu.org/devel/auctex.html I would imagine that there has to be a new one yesterday. Did that fail somehow, too? Bye, Tassilo
Re: Making AUCTeX ELPA releases from the master branch
Yes, it's only "make" now. Am Di, 23. Apr 2024, um 20:56, schrieb Arash Esbati: > Tassilo Horn writes: > >> I think we need to adapt our instructions. To run straight from the >> clone, this seems to work fine: >> >> (add-to-list 'load-path "~/Repos/el/auctex") >> (load "~/Repos/el/auctex/loaddefs.el" nil t t) > > Thanks, this does the job. Yes, we will have to adapt our instructions: > the way I see it the whole machinery around ./configure, make, and make > install will be gone, right? > > Best, Arash
Re: Making AUCTeX ELPA releases from the master branch
Arash Esbati writes: Hi Arash, > Thanks. I see an issue. I did: > > • $ git clone https://git.savannah.gnu.org/git/auctex.git auctex-elpa > • $ cd auctex-elpa > • $ git switch main > • $ make -j8 > • $ emacs -Q > • eval'ed in scratch: > (load "~/path/to/auctex-elpa/auctex.el" nil t t) > (load "~/path/to/auctex-elpa/preview.el" nil t t) I think we need to adapt our instructions. To run straight from the clone, this seems to work fine: (add-to-list 'load-path "~/Repos/el/auctex") (load "~/Repos/el/auctex/loaddefs.el" nil t t) loaddefs.el is the new autoloads file containing all autoloads of the whole project. Formerly, there was preview-latex.el with the preview.el autoloads and auto-loads.el with the autoloads of the remainder of AUCTeX. Bye, Tassilo
Re: Making AUCTeX ELPA releases from the master branch
Arash Esbati writes: >> So, those few users installing from GNU-devel ELPA are probably ready >> and willing (if not eager) to try buggy software (that's what >> GNU-devel is for). Especially since fixes are also made available >> more promptly. > > Thanks. With this original intent of GNU-devel ELPA, let's go that > route and skip AUCTeX master. Ok, I've adjusted the elpa recipe and merged from master to main. So hopefully there will be some new devel package anytime soon at https://elpa.gnu.org/devel/auctex.html If that works fine, we can bump the Version in auctex.el and do a regular ELPA release. Crossing fingers, Tassilo
Re: Making AUCTeX ELPA releases from the master branch
Stefan Monnier writes: >> Stefan, how would I make the switch on elpa? The package recipe I've >> tested is this >> >> (auctex :url "https://git.savannah.gnu.org/git/auctex.git; >> :branch "main" >> :news "NEWS.org" >> :make "elpa" >> :doc ("doc/auctex.texi" "doc/preview-latex.texi")) >> >> Does pushing the new recipe in elpa-packages suffice? > > Yes (tho we use a different indentation (for which there's no > auto-indent rules )). Ok, pushed with corrected indentation. Thanks, Tassilo
main ff9b4e38: Merge remote-tracking branch 'origin/master'
branch: main commit ff9b4e3810c8b22ecaad41a8d97bab854cbfe704 Merge: ab15f684 4731168e Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' --- NEWS.org | 35 +++-- context.el | 9 -- doc/auctex.texi| 10 +++--- doc/changes.texi | 14 + doc/preview-latex.texi | 8 + preview.el | 84 -- tex-fold.el| 1 + tex.el | 43 -- 8 files changed, 169 insertions(+), 35 deletions(-) diff --git a/NEWS.org b/NEWS.org index 1c741b10..21b98e30 100644 --- a/NEWS.org +++ b/NEWS.org @@ -14,12 +14,29 @@ for =dvipdfmx= and the choice for viewer after compilation are not optimal, yet. Overall, the support comes close to what the =auctex-latexmk= library provides. -- Support query and insert of ~mcite~ compatibility macros - (=style/biblatex.el=). -- Support the =\verbatiminput*= macro (=style/verbatim.el=). -- Add new custom variable ~TeX-fold-auto-reveal~ which contols how the +- Add new command ~TeX-fold-section~ (bound to =C-c C-o C-s=) which + hides all configured macros in the section containing point when + ~TeX-fold-mode~ is active. The unfold counterpart + ~TeX-fold-clearout-section~ is bound to =C-c C-o s=. +- Add new custom option ~TeX-fold-auto-reveal~ which contols how the original source text is revealed when user clicks the folded portion by mouse. +- Add new custom option ~TeX-fold-region-functions~ which is a list of + additional functions to call when folding a region. +- Add new custom option ~preview-protect-point~ which determines whether + previews generated on top of the current point should be temporarily + opened (~nil~ by default). +- Add new custom option ~preview-leave-open-previews-visible~ which + determines if the preview code stays visible once opened. +- Support query and insert of ~mcite~ compatibility macro + (=style/biblatex.el=). +- Support the =\verbatiminput*= macro (=style/verbatim.el=). + +** Fixed + +- Adjust options when processing files with ConTeXt: Remove obsolete + =--texutil=, use =--synctex=repeat= and omit =--nonstop= when + ~TeX-source-correlate-mode~ is enabled. * [14.0.4] - 2024-03-31 @@ -27,11 +44,11 @@ - Support completion for many commands described in =clsguide.tex=, =fntguide.tex= and =usrguide.tex=. -- Provide new custom variable ~LaTeX-flymake-chktex-options~ to enable - or disable specific warnings of =chktex= backend used by Flymake. -- Provide new custom variable ~TeX-kill-process-without-query~ which - controls if user is asked before aborting a running process for a - TeX document. +- Provide new custom option ~LaTeX-flymake-chktex-options~ to enable or + disable specific warnings of =chktex= backend used by Flymake. +- Provide new custom option ~TeX-kill-process-without-query~ which + controls if user is asked before aborting a running process for a TeX + document. ** Fixed diff --git a/context.el b/context.el index 29bbccd6..0d5b9adb 100644 --- a/context.el +++ b/context.el @@ -1747,8 +1747,13 @@ Use `ConTeXt-Mark-version' to choose the command." ((string= ConTeXt-Mark-version "IV") (concat (if TeX-source-correlate-mode - "--synctex=1 ") - (unless TeX-interactive-mode + "--synctex=repeat ") + ;; Omit nonstop option when we set synctex option. According to + ;; Jim in bug#70399 report, + ;; "if context is called with "--nonstopmode" (or "--nonstop") + ;; the "--synctex=..." request to create a synctex file is + ;; over-ridden." + (unless (or TeX-interactive-mode TeX-source-correlate-mode) ConTeXt-texexec-option-nonstop))) ;; In any other case fall back on Mark II. (t diff --git a/doc/auctex.texi b/doc/auctex.texi index 066dfbb0..4d338c39 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -2667,9 +2667,9 @@ containing point. @end deffn @deffn Command TeX-fold-section -@kindex C-c C-o C-p -(@kbd{C-c C-o C-p}) Hide all configured macros in the section -containing point. +@kindex C-c C-o C-s +(@kbd{C-c C-o C-s}) Hide all configured macros in the section containing +point. @end deffn @deffn Command TeX-fold-macro @@ -2725,8 +2725,8 @@ paragraph containing point. @end deffn @deffn Command TeX-fold-clearout-section -@kindex C-c C-o p -(@kbd{C-c C-o p}) Permanently unfold all macros and environments in the +@kindex C-c C-o s +(@kbd{C-c C-o s}) Permanently unfold all macros and environments in the section containing point. @end deffn diff --git a/doc/changes.texi b/doc/changes.texi index 098195ac..cae91aa2 100644 --- a/doc/changes.texi +++ b/doc/changes.texi @@ -187,6 +187,20 @@ In Fold mode, the original source text is revealed when you click the folded portion by mouse. You can customize the detailed behavior by new customi
main updated (ab15f684 -> ff9b4e38)
tsdh pushed a change to branch main. from ab15f684 Adjust .elpaignore, .gitignore, and README.git adds 7ea85682 Add new custom option `preview-protect-point' adds ab221151 Keep track of when previews are being generated adds 4a345e22 Add preliminary support for LaTeXMk adds 128e8a04 ; Silence the compiler after commit f61de0abe6 adds d427c245 ; * doc/auctex.texi (Folding): Fix keybindings. adds 0e8c03d9 ; * NEWS.org: Update the file. adds 44879847 Adjust ConTeXt options (bug#70399) adds 03f1145c ; * NEWS.org: Update the file. adds 23b7267e ; * NEWS.org: Update the file. adds 4731168e Allow opened previews to remain visible new ff9b4e38 Merge remote-tracking branch 'origin/master' Summary of changes: NEWS.org | 35 +++-- context.el | 9 -- doc/auctex.texi| 10 +++--- doc/changes.texi | 14 + doc/preview-latex.texi | 8 + preview.el | 84 -- tex-fold.el| 1 + tex.el | 43 -- 8 files changed, 169 insertions(+), 35 deletions(-)
main ab15f684: Adjust .elpaignore, .gitignore, and README.git
branch: main commit ab15f6845b4e07537f5a8453273bf1f26a0e5024 Author: Tassilo Horn Commit: Tassilo Horn Adjust .elpaignore, .gitignore, and README.git --- .elpaignore | 12 ++-- .gitignore | 2 ++ README.GIT | 17 ++--- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.elpaignore b/.elpaignore index 7ab32022..f941630e 100644 --- a/.elpaignore +++ b/.elpaignore @@ -1,14 +1,14 @@ -*.m4 -*.in *.ac +*.in +*.m4 *.spec +ChangeLog.1 +README.GIT +admin autogen.sh +build-aux install-sh lpath.el mkinstalldirs prv-install.el -README.GIT tests -build-aux -admin -.dir-locals.el diff --git a/.gitignore b/.gitignore index f68e38a5..d33b61ad 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,5 @@ auctex-dynvars # ELPA-generated files /auctex-autoloads.el /auctex-pkg.el +README +loaddefs.el diff --git a/README.GIT b/README.GIT index ad0bc85a..b33747cf 100644 --- a/README.GIT +++ b/README.GIT @@ -3,7 +3,10 @@ Organization of the repository This repository has currently three branches: - * 'master': the main branch of development of AUCTeX; + * 'main': the main branch of development of AUCTeX; + + * 'master': the old main branch of development of AUCTeX; not used + anymore; * 'simplify-TeX-parse-error': a feature branch for improving parsing of TeX logs; @@ -22,16 +25,8 @@ files before you can continue reasonably with the instructions detailed in the README and INSTALL files (which will not be present otherwise). -Run the shell script - -./autogen.sh - -in order to do that. This will also generate the respective files for -the preview subsystem. +Run "make" in order to do that. This will also generate the respective +files for the preview subsystem. You will need to have a working and rather current copy of `makeinfo', `autoconf' and of `perl'. - -Running ./autogen.sh on a fresh clone of the Git repository will give -you the state of the distribution tarball, except that Git-specific -files are not removed.
Re: Making AUCTeX ELPA releases from the master branch
Tassilo Horn writes: > - There's also a completely different alternative: make the > externals/elpa the new "main" branch and drop master and tarball > releases altogether. Is there still a justification for having > them? I mean, we dropped XEmacs support anyway and it should be > easy enough for distros to just use the ELPA tarballs as basis for > their distro packages. I've created a "main" branch (split off externals/auctex) and adjusted it such that it should be buildable on elpa and the mere act of changing the Version number in auctex.el in a commit would trigger a new ELPA release. And every other commit would at least trigger a new release on ELPA-devel. So basically, we should decide now if we switch to going ELPA-only in which case we'd not use master anymore but develop directly in main. (I'd be in favour of it, obviously.) We could also keep master as our development branch and still use the new "main" branch (which I would probably rename to "elpa" in that case) for elpa and turn on auto-sync. It would be a bit less automatic: we'd need to keep merging from master to the "main" / "elpa" regularly and increment the Version manually for releases. But it's still better than the status quo (less committed generated files; better Version determination). Stefan, how would I make the switch on elpa? The package recipe I've tested is this (auctex :url "https://git.savannah.gnu.org/git/auctex.git; :branch "main" :news "NEWS.org" :make "elpa" :doc ("doc/auctex.texi" "doc/preview-latex.texi")) Does pushing the new recipe in elpa-packages suffice? Bye, Tassilo
main 9f84cd4c 2/2: Also generate loaddefs.el
branch: main commit 9f84cd4c0575ee7a41d6e89f1e48af75d270cb62 Author: Tassilo Horn Commit: Tassilo Horn Also generate loaddefs.el --- GNUmakefile | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index c9acd898..b5cec482 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,12 +1,8 @@ # Rules to generate the files that need to go into the ELPA package. -# Files we need to auto-generate: -# dir -# auctex.info -# preview-latex.info +# Files we need to auto-generate for elpa: # README # ChangeLog -# auctex.el (or auctex-pkg.el)? # tex-site.el # doc: preview-dtxdoc.texi # doc: version.texi @@ -43,10 +39,13 @@ ALL_GENERATED_FILES=$(MAIN_GENERATED_FILES) \ $(INFO_FILES) # Generate & compile everything including the manuals below doc/. -all: $(ALL_GENERATED_FILES) compile +all: $(ALL_GENERATED_FILES) compile autoloads compile: $(patsubst %.el,%.elc,$(wildcard *.el style/*.el)) +autoloads: + $(EMACS) -f loaddefs-generate-batch loaddefs.el . + %.elc: %.el $(EMACS) -f batch-byte-compile $< @@ -62,7 +61,9 @@ elpa: $(MAIN_GENERATED_FILES) .PHONY: tex-site.el clean: - rm -f $(ALL_GENERATED_FILES) $(wildcard *.elc style/*.elc) + rm -f $(ALL_GENERATED_FILES) \ + $(wildcard *.elc style/*.elc) \ + loaddefs.el # Copied from doc/Makefile.in. MAKEINFO_PLAIN=$(MAKEINFO) -D rawfile --no-headers
main updated (b582fc13 -> 9f84cd4c)
tsdh pushed a change to branch main. from b582fc13 Add tex-site.el and doc/dir to .gitignore new b0bbd1aa Add separate "elpa" make target; make all now also compiles new 9f84cd4c Also generate loaddefs.el Summary of changes: GNUmakefile| 37 +++-- README | 241 - latex/prauctex.cfg | 48 -- latex/prauctex.def | 61 latex/prcounters.def | 38 - latex/preview.sty | 401 - latex/prfootnotes.def | 28 latex/prlyx.def| 32 latex/prshowbox.def| 32 latex/prshowlabels.def | 67 - latex/prtightpage.def | 146 -- latex/prtracingall.def | 30 12 files changed, 26 insertions(+), 1135 deletions(-) delete mode 100644 README delete mode 100644 latex/prauctex.cfg delete mode 100644 latex/prauctex.def delete mode 100644 latex/prcounters.def delete mode 100644 latex/preview.sty delete mode 100644 latex/prfootnotes.def delete mode 100644 latex/prlyx.def delete mode 100644 latex/prshowbox.def delete mode 100644 latex/prshowlabels.def delete mode 100644 latex/prtightpage.def delete mode 100644 latex/prtracingall.def
main b0bbd1aa 1/2: Add separate "elpa" make target; make all now also compiles
branch: main commit b0bbd1aa7f05b738ce8b274279465a4fa378b8e7 Author: Tassilo Horn Commit: Tassilo Horn Add separate "elpa" make target; make all now also compiles Also delete generated files. --- GNUmakefile| 26 +++- README | 241 - latex/prauctex.cfg | 48 -- latex/prauctex.def | 61 latex/prcounters.def | 38 - latex/preview.sty | 401 - latex/prfootnotes.def | 28 latex/prlyx.def| 32 latex/prshowbox.def| 32 latex/prshowlabels.def | 67 - latex/prtightpage.def | 146 -- latex/prtracingall.def | 30 12 files changed, 20 insertions(+), 1130 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 50254fb7..c9acd898 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -21,7 +21,7 @@ # latex: prtightpage.def # latex: prtracingall.def - +EMACS=emacs --batch -q -no-site-file -no-init-file -l lpath.el MAKEINFO=makeinfo INSTALL_INFO=install-info PERL=perl @@ -32,15 +32,29 @@ INFO_FILES=$(MANUALS:=.info) TEXMFGEN:=$(shell sed -n 's/^%.*file[{]\([^}.]*\.[sdc][tef][yfg]\)[}].*/\1/p' latex/preview.dtx) LATEX_FILES:=$(patsubst %, latex/%, $(shell echo $$(echo "$(TEXMFGEN)"))) -GENERATED_FILES=dir\ - $(INFO_FILES) \ - README \ +MAIN_GENERATED_FILES=README\ tex-site.el \ doc/version.texi\ doc/preview-dtxdoc.texi \ $(LATEX_FILES) -all: $(GENERATED_FILES) +ALL_GENERATED_FILES=$(MAIN_GENERATED_FILES)\ + dir \ + $(INFO_FILES) + +# Generate & compile everything including the manuals below doc/. +all: $(ALL_GENERATED_FILES) compile + +compile: $(patsubst %.el,%.elc,$(wildcard *.el style/*.el)) + +%.elc: %.el + $(EMACS) -f batch-byte-compile $< + +# Generate everything but don't compile or build the docs. The docs +# will be built on elpa due to :doc ("doc/auctex.texi" +# "doc/preview-latex.texi") in the auctex recipe in elpa-packges and +# compiling is done locally. +elpa: $(MAIN_GENERATED_FILES) # We want the tex-site.el target to be always run so that the version # (especially the release version grabbed from the top of the git @@ -48,7 +62,7 @@ all: $(GENERATED_FILES) .PHONY: tex-site.el clean: - rm -f $(GENERATED_FILES) + rm -f $(ALL_GENERATED_FILES) $(wildcard *.elc style/*.elc) # Copied from doc/Makefile.in. MAKEINFO_PLAIN=$(MAKEINFO) -D rawfile --no-headers diff --git a/README b/README deleted file mode 100644 index 5e9b90c9.. --- a/README +++ /dev/null @@ -1,241 +0,0 @@ -This is the README file for the AUCTeX distribution. - - Copyright (C) 2008, 2017, 2018 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without - modification, are permitted in any medium without royalty provided - the copyright notice and this notice are preserved. - -Introduction to AUCTeX -** - -This file gives a brief overview of what AUCTeX is. It is *not* an -attempt to document AUCTeX. Real documentation for AUCTeX is available -in the manual, which should be available as an info file after -installation. - -AUCTeX is a comprehensive customizable integrated environment for -writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using -Emacs. - -It supports you in the insertion of macros, environments, and sectioning -commands by providing completion alternatives and prompting for -parameters. It automatically indents your text as you type it and lets -you format a whole file at once. The outlining and folding facilities -provide you with a focused and clean view of your text. - -AUCTeX lets you process your source files by running TeX and related -tools (such as output filters, post processors for generating indices -and bibliographies, and viewers) from inside Emacs. AUCTeX lets you -browse through the errors TeX reported, while it moves the cursor -directly to the reported error, and displays some documentation for that -particular error. This will even work when the document is spread over -several files. - -One component of AUCTeX that LaTeX users will find attractive is -preview-latex, a combination of folding and in-source previewing that -provides true "What You See Is What You Get" experience in your -sourcebuffer, while letting you retain full control. For more -information, see further below. - -More detailed information about the features and usage of AUCTeX can be -found in the AUCTeX manual. You can access it from within Emacs by -typing ‘C-h i d m auctex ’. If you prefer the standalone info -reader, issue the command ‘info auctex’ in a terminal. - -AUCTeX is written entirely in Emacs Lisp
Re: Making AUCTeX ELPA releases from the master branch
Stefan Monnier writes: >>> [ This assumes that the `:manual ...` thingy does >>> successfully build the docs. ] >> >> This is where I'm not sure. At least it doesn't seem to have an effect >> when running "make auctex.tar" locally (as said in my other mail). The >> tar file only contains the *.info files and the dir file in doc/ which >> are build by running "make all". > > Duh: it's `:doc`, not `:manual`! > Sorry! Haha, and then it works just fine. ;-) Thanks! Tassilo
Re: Making AUCTeX ELPA releases from the master branch
Stefan Monnier writes: >>> Why do you need to look at diffs? >> In order to extract the version number. > > I don't understand: it's right there in the file, you don't need the > diffs to extract it, no? Yes, it is. But I need the distinction if the current version got there just now (in HEAD) or previously. >> Does :manual ("doc/auctex.texi" "doc/preview-latex.texi") tell elpa >> to build the docs again although the recipe's :make "all" did already >> build them (but at the "wrong" location)? > > Yup (the two know nothing of each other). Ok. >> That would be ok for me; I would also be willing to add a special >> elpa make target moving the files or generating another top-level dir >> file. > > You could also replace the "make all" with another target that doesn't > build the docs. Yes, I can do that, too. > [ This assumes that the `:manual ...` thingy does > successfully build the docs. ] This is where I'm not sure. At least it doesn't seem to have an effect when running "make auctex.tar" locally (as said in my other mail). The tar file only contains the *.info files and the dir file in doc/ which are build by running "make all". >> But I certainly want the additional benefit of having the docs >> linked. > > That happens only if you use `:manual ...`. Alright. Bye, Tassilo
bug#70455: [PATCH] Add new user option `preview-leave-open-previews-visible'
Ikumi Keita writes: >> Your patch uses `cl-find-if' which is a function. Until now, we used >> only macros from the cl-lib inside AUCTeX in order to have no other >> runtime dependencies. In general, I have no problem if we lift this >> limitation and use cl-lib functions as well -- the library is part of >> Emacs and why not use it. But before we do this, I'd like to hear >> from Keita and Tassilo what they think about this. > > I don't mind. It doesn't matter to use emacs built-in library to write > code simply. FWIW, if we go ELPA-releases only and drop standalone tarball releases, I would suggest we just use ;; Package-Requires: ... in our auctex.el in order to specify the required emacs version, "cl-lib", and even "compat" and remove all legacy code for emacs versions older than the last release. Bye, Tassilo ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
Re: Making AUCTeX ELPA releases from the master branch
Tassilo Horn writes: >> Our tarball build scripts can take care of building the Info files >> and the `dir` (and moving them as needed), so maybe you can just add >> >> :manual ("doc/auctex.texi" "doc/preview-latex.texi") >> >> to the spec and that'll do the trick (with the advantage that the >> manual will then also be made available at >> `elpa.gnu.org/packages/doc/auctex.html`). > > Does :manual ("doc/auctex.texi" "doc/preview-latex.texi") tell elpa to > build the docs again although the recipe's :make "all" did already > build them (but at the "wrong" location)? At least in my local tests, with (auctex :url "https://git.savannah.gnu.org/git/auctex.git; :news "NEWS.org" :make "all" :manual ("doc/auctex.texi" "doc/preview-latex.texi") and then "make auctex.tar", the manuals & dir file are there only inside doc/ where running :make "all" has generated them. > That would be ok for me; I would also be willing to add a special elpa > make target moving the files or generating another top-level dir file. > But I certainly want the additional benefit of having the docs linked. > Whatever is best for elpa. Bye, Tassilo
Re: Making AUCTeX ELPA releases from the master branch
Stefan Monnier writes: >> Why would I need the date of the last release? > > Don't know. I guess I misundersood what you meant by: > > Instead of looking at specially formatted lines in ChangeLog, it > just looks at the git diffs to check when there was a "+;; > Version: ..." change in auctex.el. ... > > Why do you need to look at diffs? In order to extract the version number. Previously that was extracted from ChangeLog which relied on the exact wording of release commits. >> Oh, no, one thing doesn't: the fine manuals. I've changed it so that >> they stay in doc/ and there's also the dir file referencing the >> auctex and preview-latex manual. Do they need to be top-level for >> elpa (in which case I'd just add an elpa make target doing the move) >> or can I somehow make that work? > > Indeed, they need to be moved: `package.el` won't see your manual if > the `dir` is not in the top-level directory (and the Info viewer won't > search in subdirs, so either you need the Info files to be at > top-level or you need to change the `dir` file so it refers to > `doc/auctex`). Ok. > Our tarball build scripts can take care of building the Info files and > the `dir` (and moving them as needed), so maybe you can just add > > :manual ("doc/auctex.texi" "doc/preview-latex.texi") > > to the spec and that'll do the trick (with the advantage that the > manual will then also be made available at > `elpa.gnu.org/packages/doc/auctex.html`). Does :manual ("doc/auctex.texi" "doc/preview-latex.texi") tell elpa to build the docs again although the recipe's :make "all" did already build them (but at the "wrong" location)? That would be ok for me; I would also be willing to add a special elpa make target moving the files or generating another top-level dir file. But I certainly want the additional benefit of having the docs linked. Whatever is best for elpa. Bye, Tassilo
Re: Making AUCTeX ELPA releases from the master branch
Stefan Monnier writes: Hi Stefan, > FWIW, the `elpa-admin.el` code needs to do something similar and it > asks Git a bit more directly (i.e. with the generating the diff): > >(elpaa--call > (current-buffer) > "git" "log" "-n1" "--oneline" "--no-patch" > "--pretty=format:%H" > (when (elpaa--spec-get pkg-spec :merge) > ;; Finding "the" revision when there's a merge involved is > ;; fundamentally unreliable. > ;; Ideally we should probably signal an error when the > commit > ;; we found is not on all paths from FROM to avoid making an > ;; arbitrary choice. > ;; For `:merge'd packages, the commit that flipped > `Version:' > ;; is usually not what we want, since that one was on the > ;; upstream branch, without our own changes. > ;; We use `--first-parent' for this reason, so it prefers > ;; the corresponding merge commit (which is not ideal either > ;; but is arguably the best we can do in that case). > "--first-parent") > "-L" (concat "/^;;* *\\(Package-\\)\\?Version:/,+1:" > (file-name-nondirectory > (elpaa--main-file pkg-spec))) > > The "%H" above makes it output the commit hash where `Version:` was > changed, so you can replace that with an appropriate % thingy to get > the date instead. Why would I need the date of the last release? I set AUCTEXDATE to the committer date of HEAD, not to the date of the last release. When the Version is changed, then that's the correct release date, too. Otherwise, the current HEAD's date and time are appended to the last released version to indicate that this is a development version. > But another option is to disregard the problem: Perfect, exactly my style. YOLO! :-) > presumably you trust AUCTeX's code, Don't know. It's mostly Keite and Arash recently... :-P > so you don't need to run that make recipe within a sandbox to confine > its misdeeds, and the above error will not appear on `elpa.gnu.org`. > So, instead of (or in addition to, if you prefer) the above (debug t) > thingy, put: > > (sandbox nil) > > so the commands are run without Bubblewrap. Great, works. The build and also the package after package-install-file with the built auctex.tar. Oh, no, one thing doesn't: the fine manuals. I've changed it so that they stay in doc/ and there's also the dir file referencing the auctex and preview-latex manual. Do they need to be top-level for elpa (in which case I'd just add an elpa make target doing the move) or can I somehow make that work? Thanks, Tassilo
main b582fc13: Add tex-site.el and doc/dir to .gitignore
branch: main commit b582fc13c6831193eab9b6838b7ceee2d2bb227e Author: Tassilo Horn Commit: Tassilo Horn Add tex-site.el and doc/dir to .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ac530538..f68e38a5 100644 --- a/.gitignore +++ b/.gitignore @@ -17,13 +17,14 @@ auto-loads.el autom4te.* config.* configure -#tex-site.el +tex-site.el tex-site.el.out # Files generated while building the auto-generated files included in elpa. doc/preview-dtxdoc.texi doc/version.texi auto.el +doc/dir etc/auctex-logo.pdf etc/auto latex/prauctex.cfg
main 68bf1153: Delete top-level dir file
branch: main commit 68bf115399403f41556f375e0a5c1c15ae78a787 Author: Tassilo Horn Commit: Tassilo Horn Delete top-level dir file --- dir | 25 - 1 file changed, 25 deletions(-) diff --git a/dir b/dir deleted file mode 100644 index 0b85f603.. --- a/dir +++ /dev/null @@ -1,25 +0,0 @@ -This is the file .../info/dir, which contains the -topmost node of the Info hierarchy, called (dir)Top. -The first time you invoke Info you start off looking at this node. - -File: dir, Node: Top This is the top of the INFO tree - - This (the Directory node) gives a menu of major topics. - Typing "q" exits, "?" lists all Info commands, "d" returns here, - "h" gives a primer for first-timers, - "mEmacs" visits the Emacs manual, etc. - - In Emacs, you can click mouse button 2 on a menu item or cross reference - to select it. - -* Menu: - -Emacs -* AUCTeX: (auctex). A sophisticated TeX environment for Emacs. -* preview-latex: (preview-latex). -Preview LaTeX fragments in Emacs - -TeX -* AUCTeX: (auctex). A sophisticated TeX environment for Emacs. -* preview-latex: (preview-latex). -Preview LaTeX fragments in Emacs
Re: After Tassilos merge: main or master
Uwe Brauer writes: > I most likely did not get the point. I just saw the mail concerning > Tassilos «mega» commit, which created a new branch called main. It's just 2 small changes to GNUMakefile. However, it's based on the externals/auctex branch of elpa which we didn't have in our repository before. So quite some bit history has been imported. > So where will the main development take place either on > > 1. The new main branch? > > 2. Or the old master branch? Right now, it's still on master. It might change to main at some point. But then you can expect some announcement mail. Bye, Tassilo
Re: Making AUCTeX ELPA releases from the master branch
Stefan Monnier writes: Hi Stefan, > Well, not for `make auctex.tar` where it's built from whatever is HEAD > in `packages/auctex`. But in `elpa.gnu.git` HEAD is indeed pointing > to `externals/`. Alright, I've had some time to do some fiddling. In the auctex repository, there's some new main branch (based on externals/auctex) where I've changed how AUCTEXVERSION and AUCTEXDATE are determined. Instead of looking at specially formatted lines in ChangeLog, it just looks at the git diffs to check when there was a "+;; Version: ..." change in auctex.el. It seems to work fine when I run "make -f GNUMakefile". Now I'd like to test building auctex.tar using your recipe. I've checked out that new main branch into ../elpa/packages/auctex/ (or actually auctex is a symlink to my auctex clone). With the current elpa-packages recipe (auctex :url "https://git.savannah.gnu.org/git/auctex.git; :news "NEWS.org") an auctex.tar is built successfully but apparently that didn't run the GNUMakefile, for example, tex-site.el isn't included because it's not generated from tex-site.el.in. So I've tried to add :make "all" or even :shell-command "make -g GNUMakefile" to the auctex recipe but then I get this error: --8<---cut here---start->8--- ❯ make auctex.tar emacs --batch -Q -l admin/elpa-admin.el \ -f elpaa-batch-pkg-spec-make-dependencies .pkg-descs.mk emacs --batch -l /home/horn/tmp/elpa/admin/elpa-admin.el\ -f elpaa-batch-make-one-tarball auctex.tar Building tarball auctex.tar... Build error for auctex.tar: (error "Error-indicating exit code in elpaa--call-sandboxed: bwrap: Can't bind mount /oldroot/home/horn/Repos/el/auctex on /newroot/home/horn/tmp/elpa/packages/auctex/: Unable to mount source on destination: No such file or directory ") Build of package auctex.tar FAILED!! --8<---cut here---end--->8--- What does that error try to tell me? Thanks, Tassilo
main 7afe2019 025/257: * latex-test.el: Add proper copyright header.
branch: main commit 7afe2019bee9278bad33ecd3e99a6f5bfa997459 Author: Stefan Monnier Commit: Stefan Monnier * latex-test.el: Add proper copyright header. --- tests/latex/latex-test.el | 28 1 file changed, 28 insertions(+) diff --git a/tests/latex/latex-test.el b/tests/latex/latex-test.el index a2d71e45..6e042308 100644 --- a/tests/latex/latex-test.el +++ b/tests/latex/latex-test.el @@ -1,3 +1,29 @@ +;;; latex-test.el --- tests for LaTeX mode? + +;; Copyright (C) 2014 Free Software Foundation, Inc. + +;; This file is part of AUCTeX. + +;; AUCTeX is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. + +;; AUCTeX is distributed in the hope that it will be useful, but +;; WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with AUCTeX; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +;; 02110-1301, USA. + +;;; Code: + +(require 'ert) + + (defvar LaTeX-indent-tabular-test/in (expand-file-name "tabular-in.tex")) (defvar LaTeX-indent-tabular-test/out (expand-file-name "tabular-out.tex")) @@ -11,3 +37,5 @@ (with-temp-buffer (insert-file-contents LaTeX-indent-tabular-test/out) (buffer-string) + +;;; latex-test.el ends here
main 1c917791 076/257: Merge branch 'master' into elpa
branch: main commit 1c9177918642cc84162148117a06ff4c6a00a854 Merge: 89ef95af 7ce3c117 Author: Tassilo Horn Commit: Tassilo Horn Merge branch 'master' into elpa --- tex-jp.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tex-jp.el b/tex-jp.el index 717e1ab5..3771f449 100644 --- a/tex-jp.el +++ b/tex-jp.el @@ -1,7 +1,6 @@ ;;; tex-jp.el --- Support for Japanese TeX. -*- coding: iso-2022-jp-unix; -*- -;; Copyright (C) 2002-2007, 2012, 2016 Free Software Foundation, Inc. -;; Copyright (C) 1999, 2001 Hidenobu Nabetani +;; Copyright (C) 1999, 2001-2007, 2012, 2016 Free Software Foundation, Inc. ;; Author: KOBAYASHI Shinji , ;; Hidenobu Nabetani
main 5f45de1f 046/257: Release auctex 11.88.6
branch: main commit 5f45de1f7124db09535bbed8d06aa4e84e22fcd3 Author: Tassilo Horn Commit: Tassilo Horn Release auctex 11.88.6 * Version 11.88.6 released. --- ChangeLog | 2 ++ auctex.el | 2 +- auctex.info| 4 ++-- preview-latex.info | 4 ++-- tex-site.el| 4 ++-- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 91aea464..b426d6e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-05-08 Tassilo Horn + * Version 11.88.6 released. + 2015-05-08 Tassilo Horn * tex.el (TeX-mode-syntax-table): Use paired delimiter syntax for diff --git a/auctex.el b/auctex.el index cb1cff31..6d29dbeb 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014, 2015 Free Software Foundation, Inc. -;; Version: 11.88.5 +;; Version: 11.88.6 ;; URL: http://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org diff --git a/auctex.info b/auctex.info index 5534e8e6..50a5539d 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 5.2 from auctex.texi. -This manual is for AUCTeX (version 11.88.5 from 2015-05-01), a +This manual is for AUCTeX (version 11.88.6 from 2015-05-08), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2014 Free Software @@ -5375,7 +5375,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 11.88.5 from 2015-05-01), a + This manual is for AUCTeX (version 11.88.6 from 2015-05-08), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2014 Free Software diff --git a/preview-latex.info b/preview-latex.info index 0facef77..06c211d8 100644 --- a/preview-latex.info +++ b/preview-latex.info @@ -2,7 +2,7 @@ This is preview-latex.info, produced by makeinfo version 5.2 from preview-latex.texi. This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 11.88.5 from 2015-05-01). +(version 11.88.6 from 2015-05-08). Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. @@ -1900,7 +1900,7 @@ Appendix C Copying this Manual The copyright notice for this manual is: This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 11.88.5 from 2015-05-01). +(version 11.88.6 from 2015-05-08). Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. diff --git a/tex-site.el b/tex-site.el index cea01a0c..b27b9ba4 100644 --- a/tex-site.el +++ b/tex-site.el @@ -148,11 +148,11 @@ set it with `TeX-modes-set'." `(TeX-modes-set ',var ,var t)) (setq list (cdr list)) ) -(defconst AUCTeX-version "11.88.5" +(defconst AUCTeX-version "11.88.6" "AUCTeX version. If not a regular release, the date of the last change.") -(defconst AUCTeX-date "2015-05-01" +(defconst AUCTeX-date "2015-05-08" "AUCTeX release date using the ISO 8601 format, -mm-dd.") ;; Store bibitems when saving a BibTeX buffer
main 306b7a4c 237/257: Provide auctex in auctex.el
branch: main commit 306b7a4c401115f5102a84ddbb803c4f4e640b93 Author: Tassilo Horn Commit: Tassilo Horn Provide auctex in auctex.el Commit e2f18de580 didn't make it into the ELPA branch because the changes were to auctex.el.in which doesn't exist there. --- auctex.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auctex.el b/auctex.el index 604f650b..7fcb9946 100644 --- a/auctex.el +++ b/auctex.el @@ -42,4 +42,6 @@ (file-name-directory load-file-name))) (TeX-load-hack) +(provide 'auctex) + ;;; auctex.el ends here
main b6366efa 150/257: * tex-site.el (AUCTeX-version): Add comment
branch: main commit b6366efa09b7c9234b2f531e22154c15a3bea3a0 Author: Stefan Monnier Commit: Stefan Monnier * tex-site.el (AUCTeX-version): Add comment --- tex-site.el | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tex-site.el b/tex-site.el index 81d4ebaf..c68ce7b5 100644 --- a/tex-site.el +++ b/tex-site.el @@ -158,14 +158,16 @@ set it with `TeX-modes-set'." (setq list (cdr list)) ) (defconst AUCTeX-version "12.2.4" -"AUCTeX version. + ;; FIXME: Rather than duplicate this here, we could ask package.el to + ;; tell us our version (e.g. with s.th.like `package-get-version'). + "AUCTeX version. If not a regular release, the date of the last change.") (defconst AUCTeX-date "2020-06-29" "AUCTeX release date using the ISO 8601 format, -mm-dd.") ;; Store bibitems when saving a BibTeX buffer -(add-hook 'bibtex-mode-hook 'BibTeX-auto-store) +(add-hook 'bibtex-mode-hook #'BibTeX-auto-store) ;;; Code specific to ELPA packaging:
main a2a6ab9f 224/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit a2a6ab9f2211c77c991a649d04a7591627696ebb Merge: ebd714ef 38d8561a Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- doc/auctex.texi | 9 latex/preview.dtx | 23 -- multi-prompt.el | 8 ++-- preview.el| 26 style/inputenc.el | 23 +- style/multibib.el | 11 +++-- style/multido.el | 10 ++--- style/nameref.el | 4 +- tex.el| 123 +- 9 files changed, 101 insertions(+), 136 deletions(-) diff --git a/doc/auctex.texi b/doc/auctex.texi index a74489c2..1e06650f 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -4160,6 +4160,15 @@ list of manuals of the given package among to choose. The command can be invoked by the key binding mentioned above as well as the @samp{Find Documentation...} entry in the mode menu. + +Note that this command assumes @url{https://tug.org/texlive/, +@w{@TeX{} Live}}, not @url{https://miktex.org/,MiK@TeX{}}; according to +@url{https://tug.org/texdoc/, @samp{Texdoc} site}, +@quotation +A command named @command{texdoc} is also available in MiK@TeX{}, but it is +merely a shortcut for an independent program, @command{mthelp}. +@end quotation +Thus it isn't sure whether this command works for MiK@TeX{} or not. @end deffn @node Customization diff --git a/latex/preview.dtx b/latex/preview.dtx index de4675e9..f95de98a 100644 --- a/latex/preview.dtx +++ b/latex/preview.dtx @@ -20,7 +20,7 @@ % Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, % Boston, MA 02110-1301 USA % \fi -% \CheckSum{1794} +% \CheckSum{1758} % \GetFileInfo{preview.sty} % \date{\filedate} % \author{David Kastrup\thanks{\texttt{bug-auc...@gnu.org}}} @@ -429,27 +429,20 @@ % % \StopEventually{} % \section{The Implementation} -% Here we go: the start is somewhat obtuse since we figure out version -% number and date from RCS strings. This should really be done at +% We provide version and date manually. This should really be done at % docstrip time instead. Takers? % \begin{macro}{\pr@version} +% \begin{macro}{\pr@date} %\begin{macrocode} %<*style> %<*!active> -\NeedsTeXFormat{LaTeX2e} \def\reserved@a #1#2$#3: -#4${\xdef#1{\reserved@c #2#4 $}} \def\reserved@c #1 #2${#1} -\begingroup \catcode`\_=12 -\reserved@a\pr@version $Name: release_13_1 $ \ifx\pr@version\@empty -\reserved@a\pr@version CVS-$Revision: 1.126 $ \endgroup \else - \def\next release_{} \lccode`\_=`. - \edef\next{\lowercase{\endgroup -\def\noexpand\pr@version{\expandafter\next\pr@version}}} \next \fi -\reserved@a\next $Date: 2017/04/24 13:20:00 $ -\edef\next{\noexpand\ProvidesPackage{preview}% - [\next\space \pr@version\space (AUCTeX/preview-latex)]} -\next +\NeedsTeXFormat{LaTeX2e} +\def\pr@version{13.2} +\def\pr@date{2023/01/17} +\ProvidesPackage{preview}[\pr@date\space \pr@version\space (AUCTeX/preview-latex)] %\end{macrocode} % \end{macro} +% \end{macro} % Since many parts here will not be needed as long as the package is % inactive, we will include them enclosed with |<*active>| and % || guards. That way, we can append all of this stuff at a diff --git a/multi-prompt.el b/multi-prompt.el index 5ce11d51..d4ef5180 100644 --- a/multi-prompt.el +++ b/multi-prompt.el @@ -1,6 +1,6 @@ ;;; multi-prompt.el --- Completing read of multiple strings -*- lexical-binding: t; -*- -;; Copyright (C) 1996-2021 Free Software Foundation, Inc. +;; Copyright (C) 1996-2023 Free Software Foundation, Inc. ;; Author: Per Abrahamsen ;; Maintainer: auctex-devel@gnu.org @@ -147,9 +147,9 @@ The value of FLAG is used to specify the type of completion operation. A value of nil specifies `try-completion'. A value of t specifies `all-completions'. A value of lambda specifes a test for an exact match. -For more information on STRING, PREDICATE, and FLAG, see the Elisp -Reference sections on 'Programmed Completion' and 'Basic Completion -Functions'." +For more information on STRING, PREDICATE, and FLAG, see the +Elisp Reference Info node `(elisp)Programmed Completion' and Info node +`(elisp)Basic Completion'." (let ((beg 0) (last 0) matched) (while (string-match multi-prompt-key-value-sep string beg) (setq matched t diff --git a/preview.el b/preview.el index 7796fcb4..758c7cfa 100644 --- a/preview.el +++ b/preview.el @@ -3628,23 +3628,15 @@ name(\\([^)]+\\))\\)\\|\ (preview-call-hook 'close (car open-data) close-data)) (defun preview-get-dpi () - ;; TODO: Remove false-case when required emacs version is bumped to - ;; 24.4 or newer as this is the version where - ;; `frame-monitor-attributes' has been introduced. - (if (fboundp 'frame-monitor-attributes) - (let* ((monitor-attrs (frame-monitor-attributes)) - (mm-dims (cdr (assoc 'mm-size monitor-attrs))) - (mm-width (nth 0 mm-dims)) -
main 62befc21 239/257: Release GNU AUCTeX 13.2.4
branch: main commit 62befc2176987f202770b974cbda89314abc254e Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.2.4 * GNU AUCTeX Version 13.2.4 released. --- auctex.el | 4 +- auctex.info| 409 +++-- preview-latex.info | 4 +- tex-site.el| 4 +- 4 files changed, 216 insertions(+), 205 deletions(-) diff --git a/auctex.el b/auctex.el index 7fcb9946..5ce1a561 100644 --- a/auctex.el +++ b/auctex.el @@ -1,8 +1,8 @@ ;;; auctex.el --- Integrated environment for *TeX* -*- lexical-binding: t; -*- -;; Copyright (C) 2014-2023 Free Software Foundation, Inc. +;; Copyright (C) 2014-2024 Free Software Foundation, Inc. -;; Version: 13.2.3 +;; Version: 13.2.4 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index ba399609..c7121548 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 7.1 from auctex.texi. -This manual is for AUCTeX (version 13.2.3 from 2023-12-07), a +This manual is for AUCTeX (version 13.2.4 from 2024-01-08), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2023 Free Software @@ -1444,8 +1444,8 @@ single quotes. To get a literal double quote, press ‘"’ twice. European::, for language-specific quotation mark insertion.) -- User Option: TeX-quote-after-quote - Determines the behavior of ‘"’. If it is non-nil, typing ‘"’ will - insert a literal double quote. The respective values of + Determines the behavior of ‘"’. If it is non-‘nil’, typing ‘"’ + will insert a literal double quote. The respective values of ‘TeX-open-quote’ and ‘TeX-close-quote’ will be inserted after typing ‘"’ once again. @@ -1487,18 +1487,18 @@ like ‘$...$’ or ‘\(...\)’ simply typing ‘$’. AUCTeX helps them thro the customizable variable ‘TeX-electric-math’. -- User Option: TeX-electric-math - If the variable is non-nil and you type ‘$’ outside math mode, + If the variable is non-‘nil’ and you type ‘$’ outside math mode, AUCTeX will automatically insert the opening and closing symbols for an inline equation and put the point between them. The opening - symbol will blink when ‘blink-matching-paren’ is non-nil. If - ‘TeX-electric-math’ is nil, typing ‘$’ simply inserts ‘$’ at point, - this is the default. + symbol will blink when ‘blink-matching-paren’ is non-‘nil’. If + ‘TeX-electric-math’ is ‘nil’, typing ‘$’ simply inserts ‘$’ at + point, this is the default. Besides ‘nil’, possible values for this variable are ‘("$" . "$")’ for TeX inline equations ‘$...$’, and ‘("\(" . "\)")’ for LaTeX inline equations ‘\(...\)’. - If the variable is non-nil and point is inside math mode right + If the variable is non-‘nil’ and point is inside math mode right between a couple of single dollars, pressing ‘$’ will insert another pair of dollar signs and leave the point between them. Thus, if ‘TeX-electric-math’ is set to ‘("$" . "$")’ you can easily @@ -1507,7 +1507,7 @@ the customizable variable ‘TeX-electric-math’. because this practice can lead to wrong spacing in typeset documents.) - In addition, when the variable is non-nil and there is an active + In addition, when the variable is non-‘nil’ and there is an active region outside math mode, typing ‘$’ will put around the active region symbols for opening and closing inline equation and keep the region active, leaving point after the closing symbol. By pressing @@ -1685,7 +1685,7 @@ inserted. -- Command: TeX-font REPLACE WHAT (‘C-c C-f’) Insert template for font change command. - If REPLACE is not nil, replace current font. WHAT determines the + If REPLACE is non-‘nil’, replace current font. WHAT determines the font to use, as specified by ‘TeX-font-list’. -- User Option: TeX-font-list @@ -1695,7 +1695,7 @@ inserted. key to activate the font. The second element is the string to insert before point, and the third element is the string to insert after point. An optional fourth element means always replace if - not nil. + non-‘nil’. -- User Option: LaTeX-font-list List of fonts used by ‘TeX-font’ in LaTeX mode. It has the same @@ -1727,7 +1727,7 @@ label will be prefixed by the value specified in ‘LaTeX-section-hook’. Determine the type of section to be inserted, by the argument ARG. -• If ARG is nil or missing, use the current level. +• If ARG is ‘nil’ or missing, use the current level. • If ARG is a list (selected by C-u), go downward one level. • If ARG is negative, go up that many leve
main 658832b8 227/257: Release GNU AUCTeX 13.1.10
branch: main commit 658832b8a228f072e6a5a760e7d9fba1ae9808a6 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.1.10 * GNU AUCTeX Version 13.1.10 released. --- auctex.el | 2 +- auctex.info| 202 ++--- preview-latex.info | 80 ++--- tex-site.el| 4 +- 4 files changed, 144 insertions(+), 144 deletions(-) diff --git a/auctex.el b/auctex.el index a3c983da..e6b5bdae 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2021 Free Software Foundation, Inc. -;; Version: 13.1.9 +;; Version: 13.1.10 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index d90b5016..b18ab697 100644 --- a/auctex.info +++ b/auctex.info @@ -1,7 +1,7 @@ This is auctex.info, produced by makeinfo version 7.0.2 from auctex.texi. -This manual is for AUCTeX (version 13.1.9 from 2023-01-31), a +This manual is for AUCTeX (version 13.1.10 from 2023-03-05), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2022 Free Software @@ -6188,7 +6188,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.1.9 from 2023-01-31), a + This manual is for AUCTeX (version 13.1.10 from 2023-03-05), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2022 Free Software @@ -9667,105 +9667,105 @@ Concept Index Tag Table: -Node: Top922 -Node: Copying7402 -Node: Introduction9351 -Node: Summary9621 -Node: Installation12370 -Node: Prerequisites14381 -Node: Configure16608 -Node: Build/install and uninstall21350 -Node: Loading the package22107 -Node: Advice for package providers23846 -Node: Advice for non-privileged users26717 -Node: Installation under MS Windows32235 -Node: Customizing46175 -Node: Quick Start47784 -Ref: Quick Start-Footnote-149917 -Node: Editing Facilities50019 -Node: Processing Facilities54909 -Node: Editing59800 -Node: Quotes61138 -Node: Font Specifiers70676 -Node: Sectioning72872 -Node: Environments77569 -Node: Equations83137 -Node: Floats83765 -Node: Itemize-like85809 -Node: Tabular-like86679 -Node: Customizing Environments88573 -Node: Mathematics88813 -Node: Completion92339 -Node: Marking100106 -Node: Marking (LaTeX)100742 -Node: Marking (Texinfo)101692 -Node: Commenting103335 -Node: Indenting104720 -Node: Filling112672 -Node: Display118694 -Node: Font Locking121207 -Node: Fontification of macros123312 -Node: Fontification of quotes133315 -Node: Fontification of math134855 -Node: Verbatim content138631 -Node: Faces139421 -Node: Known problems139926 -Node: Folding140935 -Node: Outline151922 -Node: Narrowing153245 -Node: Prettifying154322 -Node: Processing155609 -Node: Commands156969 -Node: Starting a Command157533 -Node: Selecting a Command162697 -Node: Processor Options172100 -Node: Viewing182773 -Node: Starting Viewers183147 -Node: I/O Correlation188945 -Ref: I/O Correlation-Footnote-1194703 -Node: Debugging194969 -Node: Ignoring warnings197649 -Node: Error overview199760 -Node: Checking201684 -Node: Control203374 -Node: Cleaning205523 -Node: Documentation206970 -Node: Customization208093 -Node: Modes and Hooks208586 -Node: Multifile210546 -Node: Parsing Files215392 -Node: Internationalization220431 -Node: European221785 -Node: Japanese229704 -Node: Automatic234964 -Node: Automatic Global237493 -Node: Automatic Private238631 -Node: Automatic Local239995 -Node: Style Files241269 -Node: Simple Style242083 -Node: Adding Macros245876 -Node: Adding Environments255677 -Node: Adding Other261139 -Node: Hacking the Parser265819 -Node: Appendices269832 -Node: Copying this Manual270128 -Node: GNU Free Documentation License271014 -Node: Changes296338 -Node: Development355730 -Node: Mid-term Goals356378 -Node: Wishlist359277 -Node: Bugs365480 -Node: FAQ366620 -Node: Texinfo mode372494 -Node: Exploiting373630 -Node: Superseding374452 -Node: Mapping378919 -Node: Unbinding380862 -Node: Indices381703 -Node: Key Index381866 -Node: Function Index389541 -Node: Variable Index401811 -Node: Concept Index427243 +Node: Top923 +Node: Copying7403 +Node: Introduction9352 +Node: Summary9622 +Node: Installation12371 +Node: Prerequisites14382 +Node: Configure16609 +Node: Build/install and uninstall21351 +Node: Loading the package22108 +Node: Advice for package providers23847 +Node: Advice for non-privileged users26718 +Node: Installation under MS Windows32236 +Node: Customizing46176 +Node: Quick Start47785 +Ref: Quick Start-Footnote-149918 +Node: Editing Facilities50020 +Node: Processing Facilities54910 +Node: Editing59801 +Node: Quotes61139 +Node: Font Specifiers70677 +Node: Sectioning72873 +Node: Environments77570 +Node: Equations83138 +Node
main 1c3360b1 231/257: Release GNU AUCTeX 13.2.1
branch: main commit 1c3360b1621a524e14fa0067dc7e138630c2267f Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.2.1 * GNU AUCTeX Version 13.2.1 released. --- auctex.el | 2 +- auctex.info| 153 +++-- preview-latex.info | 6 +-- tex-site.el| 23 4 files changed, 95 insertions(+), 89 deletions(-) diff --git a/auctex.el b/auctex.el index d953e845..86ce9f6c 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2021 Free Software Foundation, Inc. -;; Version: 13.2.0 +;; Version: 13.2.1 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index df76da7b..47a15325 100644 --- a/auctex.info +++ b/auctex.info @@ -1,10 +1,10 @@ This is auctex.info, produced by makeinfo version 7.0.3 from auctex.texi. -This manual is for AUCTeX (version 13.2.0 from 2023-04-24), a +This manual is for AUCTeX (version 13.2.1 from 2023-07-20), a sophisticated TeX environment for Emacs. - Copyright © 1992-1995, 2001, 2002, 2004-2022 Free Software + Copyright © 1992-1995, 2001, 2002, 2004-2023 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this @@ -365,7 +365,7 @@ File: auctex.info, Node: Prerequisites, Next: Configure, Up: Installation 1.2.1 Prerequisites --- - • GNU Emacs 25.1 or higher + • GNU Emacs 26.1 or higher Using preview-latex requires a version of Emacs compiled with image support. @@ -3058,11 +3058,11 @@ described above. You can disable these defaults per class by customizing the variable ‘font-latex-deactivated-keyword-classes’. This is a list of strings for keyword classes to be deactivated. Valid entries are "warning", "variable", "biblatexnoarg", "biblatex", -"reference", "function" , "sectioning-0", "sectioning-1", -"sectioning-2", "sectioning-3", "sectioning-4", "sectioning-5", -"slide-title", "textual", "bold-command", "italic-command", -"underline-command", "math-command", "type-command", "bold-declaration", -"italic-declaration", "type-declaration". +"reference", "function", "function-noarg", "sectioning-0", +"sectioning-1", "sectioning-2", "sectioning-3", "sectioning-4", +"sectioning-5", "slide-title", "textual", "bold-command", +"italic-command", "underline-command", "math-command", "type-command", +"bold-declaration", "italic-declaration" or "type-declaration". You can also get rid of certain keywords only. For example if you want to remove highlighting of footnotes as references you can put the @@ -6215,10 +6215,10 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.2.0 from 2023-04-24), a + This manual is for AUCTeX (version 13.2.1 from 2023-07-20), a sophisticated TeX environment for Emacs. - Copyright © 1992-1995, 2001, 2002, 2004-2022 Free Software + Copyright © 1992-1995, 2001, 2002, 2004-2023 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this @@ -6722,6 +6722,11 @@ File: auctex.info, Node: Changes, Next: Development, Prev: Copying this Manua A.2 Changes and New Features +News since last release +--- + + • AUCTeX now requires GNU Emacs 26.1 or higher. + News in 13.2 @@ -8367,7 +8372,7 @@ A.4 Frequently Asked Questions 2. What versions of Emacs are supported? - AUCTeX was tested with GNU Emacs 25.1. Older versions may work but + AUCTeX was tested with GNU Emacs 26.1. Older versions may work but are unsupported. 3. What should I do when ‘./configure’ does not find programs like @@ -9368,7 +9373,7 @@ Concept Index (line 6) * ASCII pTeX <1>:Japanese.(line 6) * auctex.el: Loading the package. (line 10) -* auctex.el <1>: Changes. (line 881) +* auctex.el <1>: Changes. (line 886) * auto directories.: Automatic. (line 6) * auto-fill-mode:Indenting. (line 29) * Auto-Reveal: Folding. (line 6) @@ -9673,7 +9678,7 @@ Concept Index (li
main 7d541cb6 247/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit 7d541cb66b650aa088cf2fdb823c695481e3ea28 Merge: a8d989d6 17564c27 Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- latex.el | 2 ++ plain-tex.el | 4 +++- tex-site.el.in | 4 tex.el | 2 ++ 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/latex.el b/latex.el index f86e6ebe..1b9a1656 100644 --- a/latex.el +++ b/latex.el @@ -8214,6 +8214,8 @@ This happens when \\left is inserted." (declare-function LaTeX-preview-setup "preview") +;;;###autoload (if (eq (symbol-function 'LaTeX-mode) 'latex-mode) +;;;###autoload (defalias 'LaTeX-mode nil)) ;;;###autoload (define-derived-mode LaTeX-mode TeX-mode "LaTeX" "Major mode in AUCTeX for editing LaTeX files. diff --git a/plain-tex.el b/plain-tex.el index 779c30a0..e3ffd53d 100644 --- a/plain-tex.el +++ b/plain-tex.el @@ -1,6 +1,6 @@ ;;; plain-tex.el --- Support for plain TeX documents. -*- lexical-binding: t; -*- -;; Copyright (C) 2010, 2013, 2016-2018, 2021-2022 Free Software Foundation, Inc. +;; Copyright (C) 2010, 2013, 2016-2018, 2021-2024 Free Software Foundation, Inc. ;; Maintainer: auctex-devel@gnu.org ;; Keywords: tex @@ -115,6 +115,8 @@ plain-TeX file, or any mode derived thereof. See variable (TeX-abbrev-mode-setup plain-TeX-mode plain-tex-mode-abbrev-table) +;;;###autoload (if (eq (symbol-function 'plain-TeX-mode) 'plain-tex-mode) +;;;###autoload (defalias 'plain-TeX-mode nil)) ;;;###autoload (define-derived-mode plain-TeX-mode TeX-mode ;; The mode name can be "plain-TeX", but in that case, we have to diff --git a/tex-site.el.in b/tex-site.el.in index 4bd14ce1..5abf351a 100644 --- a/tex-site.el.in +++ b/tex-site.el.in @@ -161,10 +161,6 @@ Otherwise, restore AUCTeX definition saved in the symbol property (defalias mode (if restore (get mode 'auctex-function-definition)) -;; Delete aliases predefined in tex-mode.el so that AUCTeX -;; autoloads provided below take precedence. -(TeX--alias-overlapped-modes) - ;; COMPATIBILITY for Emacs<29, which executes ;; (defalias 'LaTeX-mode #'latex-mode) etc. in tex-mode.el. (with-eval-after-load 'tex-mode diff --git a/tex.el b/tex.el index eeb7237c..49723108 100644 --- a/tex.el +++ b/tex.el @@ -3745,6 +3745,8 @@ other entries will enter `plain-TeX-mode'." (memq 'font-latex-verbatim-face face) (eq face 'font-latex-verbatim-face)) +;;;###autoload (if (eq (symbol-function 'TeX-mode) 'tex-mode) +;;;###autoload (defalias 'TeX-mode nil)) (define-derived-mode TeX-mode text-mode "TeX" "Base mode for AUCTeX major modes except Texinfo mode.
main 15b57435 240/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit 15b5743527e45f62099f1054b35fa0ea1fedae46 Merge: 62befc21 68efd23c Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- ChangeLog-preview| 4 + ChangeLog.1 | 831 ++- RELEASE | 103 ++- configure.ac | 4 +- doc/changes.texi | 2 +- doc/tex-ref.tex | 10 +- latex/preview.dtx| 6 +- style/simpleicons.el | 20 +- style/titleps.el | 12 +- style/titlesec.el| 24 +- style/titletoc.el| 13 +- 11 files changed, 905 insertions(+), 124 deletions(-) diff --git a/ChangeLog-preview b/ChangeLog-preview index 76c4d638..7c43a22e 100644 --- a/ChangeLog-preview +++ b/ChangeLog-preview @@ -1,3 +1,7 @@ +2024-01-17 Mosè Giordano + + * Version 13.3 released. + 2023-04-23 Mosè Giordano * Version 13.2 released. diff --git a/ChangeLog.1 b/ChangeLog.1 index 2baa6e2b..47720cf2 100644 --- a/ChangeLog.1 +++ b/ChangeLog.1 @@ -1,3 +1,832 @@ +2024-01-17 Mosè Giordano + + * Version 13.3 released. + +2024-01-14 Arash Esbati + + Update style/simpleicons.el to package v11.0.0 + + * style/simpleicons.el (LaTeX-simpleicons-icons): Update icon + names to package version 11.0.0. + +2024-01-04 Arash Esbati + + Add new style/changebar.el + + * tex.el (TeX-LaTeX-sentinel): Add entry for the changebar + package. + + * Makefile.in (STYLESRC): Add new style. + + * style/changebar.el: New file. + +2023-12-30 Arash Esbati + + Update style/simpleicons.el to package v10.4.0 + + * style/simpleicons.el (LaTeX-simpleicons-icons): Update icon + names to package version 10.4.0. + +2023-12-28 Arash Esbati + + Add new style/simpleicons.el + + * Makefile.in (STYLESRC): Add new style. + + * style/simpleicons.el: New file. + +2023-12-19 Arash Esbati + + * doc/auctex.texi: Wrap t inside @code. + +2023-12-19 Arash Esbati + + Wrap nil inside @code + + * doc/auctex.texi: + * doc/faq.texi: Use @code{nil} in the documents. + +2023-12-19 Arash Esbati + + * doc/changes.texi: Edit changes since last release. + +2023-12-15 Tony Zorman + + Throw out fold spec after a single failure + + So far, TeX-fold-expand-spec did not abort its expansion of the + current spec if *any* of the expansions succeeded. This can lead to + some unexpected behaviour. For example, given + + (setopt TeX-fold-math-spec-list + '(("[1] of {1}||{1}" ("cite" + + expanding `\cite{this}' would result in the overlay displaying + `… of this' instead of just `this', because one of the arguments + (the mandatory one) succeeded. This is probably not what the user + intended. Instead, in order for the spec to be chosen, *all + arguments should succeed. + + * tex-fold.el (TeX-fold-expand-spec): Return non-nil value only when + all expansions suceeded. + +2023-12-08 Arash Esbati + + Add "includegraphics" to `paragraph-start' + + * style/graphicx.el ("graphicx"): Let \includegraphics have its + own line. + +2023-12-08 Arash Esbati + + Update the caption bundle styles + + * style/bicaption.el (LaTeX-arg-bicaption-captionsetup): Delete + now unneeded function. + ("bicaption"): Support new macro \bicaptionsetup. + + * style/caption.el ("caption"): Remove support for bi-captions in + \captionsetup which isn't recommended anymore. + Keep fontification support for 2 optional arguments. + (LaTeX-caption-supported-float-types): Delete entries which now + can be set via \subcaptionsetup and \bicaptionsetup. + (LaTeX-caption-package-options-list): Delete dropped package + option "compatibility". + + * style/subcaption.el ("subcaption"): Support \subcaptionsetup + macro. + +2023-12-07 Arash Esbati + + Simplify implementation of style/ocg-p.el + + * style/ocg-p.el (LaTeX-env-ocgp-ocg): Delete function and move + code into the hook. + (LaTeX-arg-ocgp-layer-id, "ocg-p"): Adjust query prompt. + +2023-12-06 Arash Esbati + + Move support for xparse macros into core + + * style/xparse.el: Move content from here ... + + * latex.el: ... to here. + (LaTeX-auto-xparse-macro, LaTeX-auto-xparse-environment): New + variables needed for parsing. + (LaTeX-auto-regexp-list): Add regexp's for new macros. + (LaTeX-auto-prepare): Reset newly defined variables. + (LaTeX-arg-xparse-embellishment): Rename. + (LaTeX-xparse-macro-parse): Adjust to use the new variables. + (LaTeX-auto-cleanup): Use `LaTeX-xparse-macro-parse' to cleanup. + (LaTeX-common-initialization): Add macro entries. + +
main 6c18df7f 249/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit 6c18df7f10756d3dddf072340b75f9ced4dd8ef2 Merge: b3e1ab1b 49f46a2c Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- doc/faq.texi | 57 ++- doc/install.texi | 28 +++ latex.el | 12 +++--- plain-tex.el | 6 - style/cancel.el | 4 ++-- tests/latex/align-in.tex | 9 tests/latex/align-out.tex | 9 tests/latex/latex-test.el | 21 - tests/tex/utility.el | 19 +++- tex-info.el | 7 +- tex-jp.el | 11 + tex.el| 51 ++ 12 files changed, 202 insertions(+), 32 deletions(-) diff --git a/doc/faq.texi b/doc/faq.texi index 0fb58dd5..cd71ac95 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -1,5 +1,5 @@ @c This is part of the AUCTeX Manual. -@c Copyright (C) 2004-2023 Free Software Foundation, Inc. +@c Copyright (C) 2004-2024 Free Software Foundation, Inc. @c See the file auctex.texi for copying conditions. @ifset rawfile @include macros.texi @@ -13,6 +13,10 @@ @item Something is not working correctly. What should I do? +If you are having trouble with upgrading @acronym{ELPA} package, first +have a look at the dedicated entry below. If that doesn't resolve your +issue, then come back here and proceed. + Well, you might have guessed it, the first place to look is in the available documentation packaged with @AUCTeX{}. This could be the release notes (in the @file{RELEASE} file) or the news section of the @@ -68,6 +72,57 @@ error. If everything is working now, you know that you have to search either in the site configuration file or your personal init file for statements related to the problem. +@item +@acronym{ELPA} upgrade fails. What should I do? + +In general, @acronym{ELPA} upgrade can fail in a Emacs session you are +running, especially when @AUCTeX{} major version increases. This entry +covers the following cases in such casual upgrade. +@itemize +@item +Upgrade stops with error and doesn't complete. +@item +Upgrade falls in infinite loop and doesn't terminate. You have +to interrupt it with @kbd{C-g} and upgrade doesn't complete. +@item +It looks like upgrade finishes successfully but afterwards @AUCTeX{} +breaks with mysterious error like: +@example +TeX-command-expand: Wrong type argument: stringp, nil +@end example + +@end itemize + +These issues involve byte compilation failure. In the third case, the +generated @file{.elc} files are actually corrupted. Thus the point is to +have sane byte compilation. + +The first thing which is worth trying is: +@enumerate +@item +Terminate the current running Emacs session and restart Emacs. +@item +Type @kbd{M-x package-recompile @key{RET} auctex @key{RET}}. +@item +Restart your Emacs again. +@end enumerate + +If you are lucky enough, this will basically resolve the issue. There is +still old @samp{auctex-X.Y.Z} directory left behind under +@file{~/.emacs.d/elpa/}, so delete it manually to avoid future trouble. + +If the above prescription doesn't work, then try: +@enumerate +@item +Uninstall @AUCTeX{} once. +@item +Restart your Emacs and (before doing anything else) reinstall @AUCTeX{}. +@end enumerate + +In theory, this recipe will circumvent all caveats in @acronym{ELPA} +upgrade of @AUCTeX{}. Find and delete old @samp{auctex-X.Y.Z} directory +remaining under @file{~/.emacs.d/elpa/}. + @item What versions of Emacs are supported? diff --git a/doc/install.texi b/doc/install.texi index 52be62f9..c2499e63 100644 --- a/doc/install.texi +++ b/doc/install.texi @@ -1,6 +1,6 @@ @c This is part of the AUCTeX Manual. @c Copyright (C) 1994, 1996, 2003-2007, 2012-2013, -@c 2015-2023 Free Software Foundation, Inc. +@c 2015-2024 Free Software Foundation, Inc. @c See the file auctex.texi for copying conditions. @ifset rawfile @include macros.texi @@ -353,11 +353,31 @@ below. @end ifclear Once activated, the modes provided by @AUCTeX{} are used per default for -all supported file types. If you want to change the modes for which it -is operative instead of the default, use +all supported file types, namely @code{plain-tex-mode}, @code{latex-mode}, +@code{doctex-mode} and @code{texinfo-mode}. This might not match your +preference. You can have control over which @AUCTeX{} mode is activated +per file types by @code{TeX-modes} option. For example, you can use Emacs +built-in @code{plain-tex-mode} for plain @TeX{} files while you can use +@AUCTeX{} @code{LaTeX-mode} for @LaTeX{} files. + +@defopt TeX-modes +List of Emacs built-in @TeX{} modes redirected to @AUCTeX{} modes. If you +prefer a particular built-in mode over @AUCTeX{} mode, remove it from this +list. Type @example @kbd{M-x customize-option @key{RET} TeX-modes @key{RET}} @end
main 561a08e1 243/257: Require emacs 27.1
branch: main commit 561a08e1cfc6b9daef4456d5e93021062a1a8bfa Author: Tassilo Horn Commit: Tassilo Horn Require emacs 27.1 --- README | 25 +- auctex.el |2 +- auctex.info| 1191 ++-- preview-latex.info | 82 ++-- tex-site.el| 83 +++- 5 files changed, 805 insertions(+), 578 deletions(-) diff --git a/README b/README index efa58ff3..5e9b90c9 100644 --- a/README +++ b/README @@ -34,7 +34,7 @@ several files. One component of AUCTeX that LaTeX users will find attractive is preview-latex, a combination of folding and in-source previewing that -provides true “What You See Is What You Get” experience in your +provides true "What You See Is What You Get" experience in your sourcebuffer, while letting you retain full control. For more information, see further below. @@ -45,7 +45,7 @@ reader, issue the command ‘info auctex’ in a terminal. AUCTeX is written entirely in Emacs Lisp, and hence you can easily add new features for your own needs. It is a GNU project and distributed -under the ‘GNU General Public License Version 3’. +under the 'GNU General Public License Version 3'. The most recent version is always available at <https://ftp.gnu.org/pub/gnu/auctex/>. @@ -62,7 +62,7 @@ described in the ‘CHANGES’ file. If you want to discuss AUCTeX with other users or its developers, there are several mailing lists you can use. -Send a mail with the subject “subscribe” to in +Send a mail with the subject "subscribe" to in order to join the general discussion list for AUCTeX. Articles should be sent to . In a similar way, you can subscribe to the list for just getting important announcements @@ -88,12 +88,12 @@ between source and image representation. WYSIWYG (what you see is what you get) sometimes is considered all the rage, sometimes frowned upon. Do we really want it? Wrong question. The right question is _what_ we want from it. Except when finetuning -the layout, we don’t want to use printer fonts for on-screen text +the layout, we don't want to use printer fonts for on-screen text editing. The low resolution and contrast of a computer screen render all but the coarsest printer fonts (those for low-quality newsprint) unappealing, and the margins and pagination of the print are not wanted on the screen, either. On the other hand, more complex visual -compositions like math formulas and tables can’t easily be taken in when +compositions like math formulas and tables can't easily be taken in when seen only in the source. preview-latex strikes a balance: it only uses graphic renditions of the output for certain, configurable constructs, does this only when told, and then right in the source code. Switching @@ -116,8 +116,8 @@ The usual activation (if it is not done automatically) would be (load "preview-latex.el" nil t t) -If you still don’t get a “Preview” menu in LaTeX mode in spite of AUCTeX -showing its “Command”, your installation is broken. One possible cause +If you still don't get a "Preview" menu in LaTeX mode in spite of AUCTeX +showing its "Command", your installation is broken. One possible cause are duplicate Lisp files that might be detectable with ‘M-x list-load-path-shadows ’. @@ -131,7 +131,7 @@ included in the distribution, but most documents including math and/or figures should do), you can use its menu or ‘C-c C-p C-d’ (for ‘Preview/Document’). Previews will now be generated for various objects in your document. You can use the time to take a short look at the -other menu entries and key bindings in the ‘Preview’ menu. You’ll see +other menu entries and key bindings in the ‘Preview’ menu. You'll see the previewed objects change into a roadworks sign when preview-latex has determined just what it is going to preview. Note that you can freely navigate the buffer while this is going on. When the process is @@ -153,13 +153,13 @@ C-p’ (or by clicking with the middle mouse button on the icon before the edited text). If you are using the ‘desktop’ package, previews will remain from one -session to the next as long as you don’t kill your buffer. +session to the next as long as you don't kill your buffer. 4 Basic modes of operation ** preview-latex has a number of methods for generating its graphics. Its -default operation is equivalent to using the ‘LaTeX’ command from +default operation is equivalent to using the 'LaTeX' command from AUCTeX. If this happens to be a call of PDFLaTeX generating PDF output (you need at least AUCTeX 11.51 for this), then Ghostscript will be called directly on the resulting PDF file. If a DVI file gets produced, @@ -226,11 +226,11 @@ installation fails (but this should be a rare event), report bugs to There is a general discussion list for AUCTeX which also covers preview-latex, look at <https://li
main b4f08377 155/257: ; Recompile after merge from master
branch: main commit b4f0837704d7d7861f7caf77ad59542773b5e203 Author: Tassilo Horn Commit: Tassilo Horn ; Recompile after merge from master --- auctex.info| 208 +++-- latex/preview.sty | 2 +- preview-latex.info | 78 ++-- tex-site.el| 4 +- 4 files changed, 147 insertions(+), 145 deletions(-) diff --git a/auctex.info b/auctex.info index 191337fc..e931f112 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 12.2.5 from 2020-09-25), a +This manual is for AUCTeX (version 12.2.5.2020-10-22 from 2020-10-22), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -5896,8 +5896,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 12.2.5 from 2020-09-25), a -sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 12.2.5.2020-10-22 from +2020-10-22), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software Foundation, Inc. @@ -6452,6 +6452,8 @@ News in 12.3 in either spurious empty line or spurious comment prefix, or both, especially when the region is active. Those bugs are now fixed. + * More bugs fixed, other minor features implemented. + News in 12.2 @@ -8721,7 +8723,7 @@ Concept Index (line 6) * ASCII pTeX <1>:Japanese.(line 6) * auctex.el: Loading the package. (line 10) -* auctex.el <1>: Changes. (line 670) +* auctex.el <1>: Changes. (line 672) * auto directories.: Automatic. (line 6) * Auto-Reveal: Folding. (line 6) * Automatic: Automatic. (line 6) @@ -9025,7 +9027,7 @@ Concept Index (line 257) * tex-site.el: Loading the package. (line 10) * tex-site.el <1>: Customizing. (line 6) -* tex-site.el <2>: Changes. (line 670) +* tex-site.el <2>: Changes. (line 672) * tool bar, toolbar: Processing. (line 11) * Trailer: Commands.(line 6) * Underfull boxes: Debugging. (line 6) @@ -9046,104 +9048,104 @@ Concept Index Tag Table: -Node: Top917 -Node: Copying7331 -Node: Introduction9276 -Node: Summary9546 -Node: Installation12279 -Node: Prerequisites14045 -Node: Configure16285 -Node: Build/install and uninstall20911 -Node: Loading the package21664 -Node: Advice for package providers23340 -Node: Advice for non-privileged users26145 -Node: Installation under MS Windows30110 -Node: Customizing43848 -Node: Quick Start45431 -Ref: Quick Start-Footnote-147561 -Node: Editing Facilities47655 -Node: Processing Facilities52458 -Node: Editing57159 -Node: Quotes58489 -Node: Font Specifiers66742 -Node: Sectioning68809 -Node: Environments73129 -Node: Equations78283 -Node: Floats78874 -Node: Itemize-like80878 -Node: Tabular-like81599 -Node: Customizing Environments83372 -Node: Mathematics83612 -Node: Completion86898 -Node: Marking93920 -Node: Marking (LaTeX)94544 -Node: Marking (Texinfo)95486 -Node: Commenting97096 -Node: Indenting98421 -Node: Filling104457 -Node: Display110329 -Node: Font Locking112824 -Node: Fontification of macros114899 -Node: Fontification of quotes124418 -Node: Fontification of math125913 -Node: Verbatim content129581 -Node: Faces130355 -Node: Known problems130844 -Node: Folding131841 -Node: Outline142665 -Node: Narrowing143937 -Node: Prettifying145007 -Node: Processing146244 -Node: Commands147407 -Node: Starting a Command147963 -Node: Selecting a Command152866 -Node: Processor Options161950 -Node: Viewing172297 -Node: Starting Viewers172671 -Node: I/O Correlation179798 -Node: Debugging184996 -Node: Ignoring warnings187615 -Node: Error overview189675 -Node: Checking191586 -Node: Control193179 -Node: Cleaning193906 -Node: Documentation195199 -Node: Customization195914 -Node: Modes and Hooks196407 -Node: Multifile198227 -Node: Parsing Files203039 -Node: Internationalization207951 -Node: European209264 -Node: Japanese216074 -Node: Automatic221145 -Node: Automatic Global223636 -Node: Automatic Private224768 -Node: Automatic Local226081 -Node: Style Files227113 -Node: Simple Style227906 -Node: Adding Macros231565 -Node: Adding Environments240896 -Node
main c207068f 244/257: Release GNU AUCTeX 14.0.0
branch: main commit c207068f5daa6221b2486e598fc75506ff1a2e93 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 14.0.0 * GNU AUCTeX Version 14.0.0 released. --- auctex.el | 2 +- auctex.info| 204 ++--- preview-latex.info | 80 ++--- tex-site.el| 4 +- 4 files changed, 145 insertions(+), 145 deletions(-) diff --git a/auctex.el b/auctex.el index 4b984adf..be8b2c16 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2024 Free Software Foundation, Inc. -;; Version: 13.3.0 +;; Version: 14.0.0 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index e1b459e3..6b3fccea 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 7.1 from auctex.texi. -This manual is for AUCTeX (version 13.3.0.2024-02-07 from 2024-02-07), a +This manual is for AUCTeX (version 14.0.0 from 2024-02-08), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software @@ -6247,8 +6247,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.3.0.2024-02-07 from -2024-02-07), a sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 14.0.0 from 2024-02-08), a +sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software Foundation, Inc. @@ -9913,105 +9913,105 @@ Concept Index Tag Table: -Node: Top927 -Node: Copying7395 -Node: Introduction9344 -Node: Summary9614 -Node: Installation12351 -Node: Prerequisites14360 -Node: Configure16581 -Node: Build/install and uninstall21316 -Node: Loading the package22073 -Node: Advice for package providers23810 -Node: Advice for non-privileged users26679 -Node: Installation under MS Windows32177 -Node: Customizing46063 -Node: Quick Start47668 -Ref: Quick Start-Footnote-149801 -Node: Editing Facilities49903 -Node: Processing Facilities54784 -Node: Editing59665 -Node: Quotes61003 -Node: Font Specifiers70567 -Node: Sectioning72775 -Node: Environments77506 -Node: Equations83194 -Node: Floats83814 -Node: Itemize-like85850 -Node: Tabular-like86714 -Node: Customizing Environments88604 -Node: Mathematics88844 -Node: Completion92386 -Node: Marking100707 -Node: Marking (LaTeX)101343 -Node: Marking (Texinfo)102299 -Node: Commenting103948 -Node: Indenting105333 -Node: Filling114058 -Node: Display120076 -Node: Font Locking122587 -Node: Fontification of macros124686 -Node: Fontification of quotes134693 -Node: Fontification of math136237 -Node: Verbatim content140018 -Node: Faces140808 -Node: Known problems141313 -Node: Folding142322 -Node: Outline153471 -Node: Narrowing154794 -Node: Prettifying155871 -Node: Processing157158 -Node: Commands158518 -Node: Starting a Command159082 -Node: Selecting a Command164238 -Node: Processor Options173649 -Node: Viewing184925 -Node: Starting Viewers185299 -Node: I/O Correlation191109 -Ref: I/O Correlation-Footnote-1196865 -Node: Debugging197127 -Node: Ignoring warnings199829 -Node: Error overview201948 -Node: Checking203890 -Node: Control205578 -Node: Cleaning207729 -Node: Documentation209182 -Node: Customization210303 -Node: Modes and Hooks210796 -Node: Multifile212945 -Node: Parsing Files217789 -Node: Internationalization222826 -Node: European224179 -Node: Japanese232128 -Node: Automatic237401 -Node: Automatic Global239940 -Node: Automatic Private241082 -Node: Automatic Local242446 -Node: Style Files243720 -Node: Simple Style244534 -Node: Adding Macros248327 -Node: Adding Environments258144 -Node: Adding Other263606 -Node: Hacking the Parser268292 -Node: Appendices272304 -Node: Copying this Manual272600 -Node: GNU Free Documentation License273493 -Node: Changes298616 -Node: Development365703 -Node: Mid-term Goals366349 -Node: Wishlist369244 -Node: Bugs375433 -Node: FAQ376569 -Node: Texinfo mode382443 -Node: Exploiting383577 -Node: Superseding384399 -Node: Mapping389214 -Node: Unbinding391157 -Node: Indices391705 -Node: Key Index391868 -Node: Function Index399762 -Node: Variable Index412324 -Node: Concept Index438048 +Node: Top916 +Node: Copying7384 +Node: Introduction9333 +Node: Summary9603 +Node: Installation12340 +Node: Prerequisites14349 +Node: Configure16570 +Node: Build/install and uninstall21305 +Node: Loading the package22062 +Node: Advice for package providers23799 +Node: Advice for non-privileged users26668 +Node: Installation under MS Windows32166 +Node: Customizing46052 +Node: Quick Start47657 +Ref: Quick Start-Footnote-149790 +Node: Editing Facilities49892 +Node: Processing Facilities54773 +Node: Editing59654 +Node: Quotes60992 +Node: Font Specifiers70556 +Node
main b3e1ab1b 248/257: Release GNU AUCTeX 14.0.2
branch: main commit b3e1ab1b9f6e5bce95d6b03a60f507fd060def64 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 14.0.2 * GNU AUCTeX Version 14.0.2 released. --- auctex.el | 2 +- auctex.info| 4 ++-- preview-latex.info | 4 ++-- tex-site.el| 6 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/auctex.el b/auctex.el index 2c685d7c..cc3084fe 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2024 Free Software Foundation, Inc. -;; Version: 14.0.1 +;; Version: 14.0.2 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index b8ac23fa..ae94233f 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 7.1 from auctex.texi. -This manual is for AUCTeX (version 14.0.1 from 2024-02-09), a +This manual is for AUCTeX (version 14.0.2 from 2024-02-09), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software @@ -6247,7 +6247,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 14.0.1 from 2024-02-09), a + This manual is for AUCTeX (version 14.0.2 from 2024-02-09), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software diff --git a/preview-latex.info b/preview-latex.info index 7d8e5285..0cbe1cb5 100644 --- a/preview-latex.info +++ b/preview-latex.info @@ -2,7 +2,7 @@ This is preview-latex.info, produced by makeinfo version 7.1 from preview-latex.texi. This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 14.0.1 from 2024-02-09). +(version 14.0.2 from 2024-02-09). Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. @@ -1922,7 +1922,7 @@ Appendix C Copying this Manual The copyright notice for this manual is: This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 14.0.1 from 2024-02-09). +(version 14.0.2 from 2024-02-09). Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. diff --git a/tex-site.el b/tex-site.el index fc31ddf0..8aa272b5 100644 --- a/tex-site.el +++ b/tex-site.el @@ -161,10 +161,6 @@ Otherwise, restore AUCTeX definition saved in the symbol property (defalias mode (if restore (get mode 'auctex-function-definition)) -;; Delete aliases predefined in tex-mode.el so that AUCTeX -;; autoloads provided below take precedence. -(TeX--alias-overlapped-modes) - ;; COMPATIBILITY for Emacs<29, which executes ;; (defalias 'LaTeX-mode #'latex-mode) etc. in tex-mode.el. (with-eval-after-load 'tex-mode @@ -172,7 +168,7 @@ Otherwise, restore AUCTeX definition saved in the symbol property (if (featurep 'tex-site) (TeX--alias-overlapped-modes t))) -(defconst AUCTeX-version "14.0.1" +(defconst AUCTeX-version "14.0.2" "AUCTeX version. If not a regular release, the date of the last change.")
main d9e148b8 146/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit d9e148b89a48cbdbd1328cd5735a11da8d9ec131 Merge: 1006b896 3c1f8202 Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- Makefile.in | 2 +- doc/auctex.texi | 17 +- doc/changes.texi | 29 doc/todo.texi | 15 +- font-latex.el | 301 -- latex.el | 10 +- style/algorithm.el| 80 + style/algpseudocode.el| 73 + style/alltt.el| 11 +- style/amsmath.el | 33 +++- style/beamer.el | 9 +- style/breqn.el| 30 ++-- style/comment.el | 10 +- style/empheq.el | 41 ++--- style/expl3.el| 14 +- style/fancyhdr.el | 11 +- style/fancyvrb.el | 30 ++-- style/fvextra.el | 8 +- style/hyperref.el | 9 +- style/listings.el | 15 +- style/ltxguide.el | 8 +- style/mathtools.el| 10 +- style/minted.el | 18 +- style/pythontex.el| 84 +- style/revtex4-2.el| 8 +- style/tex-live.el | 8 +- style/url.el | 12 +- style/verbatim.el | 7 +- tests/latex/font-latex-test.el| 44 + tests/latex/fontification-general.tex | 20 +-- texmathp.el | 50 ++ 31 files changed, 637 insertions(+), 380 deletions(-) diff --git a/Makefile.in b/Makefile.in index 6e599c37..1037fe02 100644 --- a/Makefile.in +++ b/Makefile.in @@ -172,7 +172,7 @@ STYLESRC = style/prosper.el \ style/changelog.el style/ltugboat.el style/beamerswitch.el \ style/multitoc.el style/fbox.el style/xkcdcolors.el \ style/ltxguide.el style/revtex4-2.el style/overpic.el \ - style/tex-live.el + style/tex-live.el style/algorithm.el style/algpseudocode.el STYLEELC = $(STYLESRC:.el=.elc) diff --git a/doc/auctex.texi b/doc/auctex.texi index d91889c3..ab69dd08 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -12,7 +12,7 @@ This manual is for @AUCTeX{} (version @value{VERSION} from @value{UPDATED}), a sophisticated TeX environment for Emacs. -Copyright @copyright{} 1992-1995, 2001, 2002, 2004-2019 +Copyright @copyright{} 1992-1995, 2001, 2002, 2004-2020 Free Software Foundation, Inc. @quotation @@ -173,6 +173,7 @@ Font Locking * Fontification of math:: Fontification of math constructs * Verbatim content::Verbatim macros and environments * Faces:: Faces used by font-latex +* Known problems:: Known fontification problems Starting Processors, Viewers and Other Programs @@ -2259,6 +2260,8 @@ fontified. @vindex font-latex-match-math-command-keywords @vindex font-latex-math-environments +@vindex texmathp-tex-commands +@vindex texmathp-tex-commands-default In @LaTeX{} mathematics can be indicated by a variety of different methods: toggles (like dollar signs), macros and environments. Math constructs known by @fontlatex{} are displayed with the face @@ -2266,7 +2269,17 @@ constructs known by @fontlatex{} are displayed with the face like @samp{\(...\)} or @samp{\[...\]} is built-in and not customizable. Support for other math macros and environments can be adapted by customizing the variables @code{font-latex-match-math-command-keywords} -and @code{font-latex-math-environments} respectively. +and @code{texmathp-tex-commands} respectively. It is no longer +recommended to customize @code{font-latex-math-environments}, which +is initialized according to @code{texmathp-tex-commands} and +@code{texmathp-tex-commands-default} by default. + +To convert your customization in @code{font-latex-math-environments} +into @code{texmathp-tex-commands}, please register your own math +environments, together with starred variants if any, as entries of +@code{env-on} type in @code{texmathp-tex-commands}, then clear out +@code{font-latex-math-environments}. You have to restart Emacs for this +new customization to take effect for fontification. In order to make math constructs more readable, @fontlatex{} displays subscript and superscript parts in a smaller font and raised or lowered diff --git a/doc/changes.texi b/doc/changes.texi index 70de34d2..1c09683a 100644 --- a/doc/changes.texi +++ b/doc/changes.texi @@ -12,6 +12,35 @@ @itemize @bullet @item +Math expression highlighting was improved. Highlighting for documents +with a lot of inline math expressions @samp{$...$} won't get scrambled +now (@samp{bug#33139}). + +There is small
main 588c8678 030/257: * style/*psf*.el: Cleanup copyright notices.
branch: main commit 588c8678cf3de991ce755927ca145def7ba83d2b Author: Stefan Monnier Commit: Stefan Monnier * style/*psf*.el: Cleanup copyright notices. --- style/epsf.el | 4 +--- style/psfig.el | 5 + 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/style/epsf.el b/style/epsf.el index 52191c87..c8ac8bc3 100644 --- a/style/epsf.el +++ b/style/epsf.el @@ -1,10 +1,8 @@ ;;; epsf.el - Support for the epsf style option. -;; Copyright (C) 2013 Free Software Foundation, Inc. +;; Copyright (C) 2013-2014 Free Software Foundation, Inc. ;; Contributed by Marc Gemis -;; Copyright (C) 2014 Free Software Foundation, Inc. -;; FIXME: What about the copyright for <= 2014? ;;; Code: diff --git a/style/psfig.el b/style/psfig.el index 1165bea5..637065ab 100644 --- a/style/psfig.el +++ b/style/psfig.el @@ -1,13 +1,10 @@ ;;; psfig.el - Support for the psfig style option. -;; Copyright (C) 2013 Free Software Foundation, Inc. +;; Copyright (C) 2013-2014 Free Software Foundation, Inc. ;; Contributed by Marc Gemis ;; Please direct comments to him. -;; Copyright (C) 2014 Free Software Foundation, Inc. -;; FIXME: What about the copyright for <= 2014? - ;;; Code: (TeX-add-style-hook "psfig"
main 1bc7a21b 152/257: ; Regenerate docs
branch: main commit 1bc7a21b8a6dd953ba4557365bcc7efd56a8d161 Author: Tassilo Horn Commit: Tassilo Horn ; Regenerate docs --- auctex.info| 227 ++--- preview-latex.info | 92 +++--- tex-site.el| 10 +-- 3 files changed, 163 insertions(+), 166 deletions(-) diff --git a/auctex.info b/auctex.info index a07a0695..443487de 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 12.2.4 from 2020-06-29), a +This manual is for AUCTeX (version 12.2.4.2020-09-25 from 2020-09-25), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -3013,8 +3013,7 @@ built-in and not customizable. Support for other math macros and environments can be adapted by customizing the variables 'font-latex-match-math-command-keywords' and 'texmathp-tex-commands' respectively. It is no longer recommended to customize -'font-latex-math-environments', which is initialized according to -'texmathp-tex-commands' and 'texmathp-tex-commands-default' by default. +'font-latex-math-environments'. To convert your customization in 'font-latex-math-environments' into 'texmathp-tex-commands', please register your own math environments, @@ -5897,8 +5896,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 12.2.4 from 2020-06-29), a -sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 12.2.4.2020-09-25 from +2020-09-25), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software Foundation, Inc. @@ -6407,6 +6406,13 @@ A.2 Changes and New Features News in 12.3 + * Support for 'PSTricks' is now PDF-oriented. AUCTeX no longer turns + off PDF mode for 'PSTricks' documents even without 'pst-pdf'. It + now sets up 'TeX-PDF-from-DVI' option so that PDF output is + generated when 'TeX-PDF-mode' is enabled (default). Users who want + DVI output should disable PDF mode explicitly by file local + variable, or customize 'TeX-PDF-mode' to 'nil'. + * The function 'font-latex-update-font-lock' has been obsoleted in order to fix 'bug#37945'. That function was used by several style files in order to refresh fontification after adding new symbols or @@ -6429,14 +6435,7 @@ News in 12.3 In addition, it is no longer recommended to customize 'font-latex-math-environments'. Use 'texmathp-tex-commands' instead. *Note Fontification of math::. - * Support for highlighting and in-math state detection for AMS-LaTeX - specific environments, such as 'align', 'gather' and 'multline', - are refactored and put into style file 'amsmath.el'. So these - support are available only when 'TeX-parse-self' option is enabled. - - Support for in-math state detection for packages mathtools, empheq - and breqn is also moved into the respective style files, so - available only when 'TeX-parse-self' option is enabled. + * AUCTeX tracks changes in LaTeX2e 2020-02-02 release. AUCTeX supports the improvements to LaTeX font selection mechanism (NFSS). New macros like '\textsw' or '\textulc' are added to font insertion @@ -8349,9 +8348,9 @@ Variable Index * font-latex-deactivated-keyword-classes: Fontification of macros. (line 162) * font-latex-fontify-script: Fontification of math. - (line 29) + (line 28) * font-latex-fontify-script-max-level: Fontification of math. - (line 43) + (line 42) * font-latex-fontify-sectioning: Fontification of macros. (line 95) * font-latex-match-bold-command-keywords: Fontification of macros. @@ -8399,7 +8398,7 @@ Variable Index * font-latex-quotes: Fontification of quotes. (line 15) * font-latex-script-display: Fontification of math. - (line 67) + (line 66) * font-latex-sectioning-0-face: Fontification of macros. (line 96) * font-latex-sectioning-1-face: Fontification of macros. @@ -9047,104 +9046,104 @@ Concept Index Tag Table: -Node: Top917 -Node: Copying7331 -Node: Introduction9276 -Node: Summary9546 -Node: Installation12279 -Node
main bd90db4c 131/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit bd90db4cd507c74c9ef05ce3ea97b4f604f264b6 Merge: de25a0d6 6202421b Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- admin/release-process.org | 125 ++ 1 file changed, 125 insertions(+) diff --git a/admin/release-process.org b/admin/release-process.org new file mode 100644 index ..dd5d3054 --- /dev/null +++ b/admin/release-process.org @@ -0,0 +1,125 @@ +#+TITLE: How to release AUCTeX +#+AUTHOR: Mosè Giordano +#+DATE: [2019-10-31 Thu] + +This document descriptes the steps for AUCTeX maintainer to do a new release of +the package. + +You will need to upload files to GNU FTP servers. In order to do so, we use an +automated system. Before starting, [[https://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html#Automated-FTP-Uploads][register for automated uploading]] if you did +not already. + +** AUCTeX package [0/3] + +Note: I recommend iterating a few times the following steps in a test repository +(of course excluding uploading of the package to the FTP server) to check that +everything goes well, before actually doing the release. + +- [ ] Synchronise with the [[https://savannah.gnu.org/git/?group=auctex][remote repository on Savannah]]: =git pull= +- [ ] Prepare for new release [0/3] + + - [ ] Update AUCTeX version and copyright year in =configure.ac=, +=doc/tex-ref.tex=, and =latex/preview.dtx= + - [ ] Make sure that all relevant changes are mentioned in =doc/changes.texi= + - [ ] Update =RELEASE= [0/3] + +- [ ] Update release version +- [ ] Update list of changes: use =CHANGES= (which is generated from + =doc/changes.texi=, you may need to run =make= to update it after + changes above) +- [ ] Update any other relevant information, like the list of + contributors + +- [ ] Towards the end of the top-level =Makefile= there are the instructions on + how to do the release. Follow them. + + - The instructions may mention how to build the XEmacs and Windows packages, +but you do not need to do that if you decided to stop providing those +packages + - Make sure that the patch for =gendocs.sh= in the =www-docs= target applies +correctly, otherwise you will need to update it. Remember to update it in +the =gendocspath= branch of the AUCTeX remote repository too. + - [[https://www.nongnu.org/texi2html/][=texi2html=]] is needed to build the online documentation. So far, version +1.8.2 has been used and tested. Version 5.0 may not be fully compatible (in +particular, I have found that +=auctex-dist/www/manual/manual/auctex/index.html= may be a broken link using +=texi2html= 5.0) + +** Website [0/6] + +You now have to update the information about latest AUCTeX version on the +website, and the online documentation. The website is maintained in a CVS +repository on Savannah. Read the [[https://savannah.gnu.org/cvs/?group=www][Savannah instructions about how to use CVS for +webpages]] (remember to replace =www= with =auctex= as project). The command to +checkout the repository locally should be + +#+BEGIN_SRC sh + cvs -z3 -d:ext:your_user_n...@cvs.savannah.gnu.org:/web/auctex co auctex +#+END_SRC + +For this to work, you also need to have the environment variable =CVS_RSH= set +to =ssh=: + +#+BEGIN_SRC sh + export CVS_RSH=ssh +#+END_SRC + +You can also browse the [[http://web.cvs.savannah.gnu.org/viewvc/auctex/][content of the CVS repository]]. + +- [ ] Remove all =manual/{auctex,preview-latex}.*= files, and replace them with + the =auctex-dist/www/manual/manual/{auctex,preview-latex}.*= files from AUCTeX + repository +- [ ] Remove all =manual/auctex/*.html= files, and replace them with the + =auctex-dist/www/manual/manual/auctex.*= files from AUCTeX repository +- [ ] Remove all =manual/preview-latex/*.html= files, and replace them with the + =auctex-dist/www/manual/manual/preview-latex.*= files from AUCTeX repository +- [ ] Update AUCTeX version and date in files in =src/= directory. When you are + done, run the script =./genpages.sh= +- [ ] Update the =ChangeLog= +- [ ] Register all changes. You can use for example =vc-mode= in Emacs: [0/2] + + - [ ] Register all new files with =i= + - [ ] Select all files and do check in/out with =v= + +** =preview= package to CTAN + +Upload the =preview= tarball generated with =make preview-ball= to CTAN as a +"package update" using the [[https://ctan.org/upload][upload form]]. + +My understanding is that you can use your own name and email in the "Your name" +and "Your email" fields only if you are an authorised uploader of +=preview=. David and Mosè are authorised, I do not know if other people are +authorised. If in doubt, ask them. + +For the other fields, re-use the details of the [[https://ctan.org/pkg/preview][=preview= page on CTAN]]. + +- Name of your contribution: =preview= +- Maintainer: The AUCTeX
main ce2ba8fc 175/257: Release GNU AUCTeX 13.0.5
branch: main commit ce2ba8fc42dad3444071844e6accf33d7387c96a Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.0.5 * GNU AUCTeX Version 13.0.5 released. --- auctex.el | 4 +- auctex.info| 248 ++--- preview-latex.info | 4 +- tex-site.el| 4 +- 4 files changed, 164 insertions(+), 96 deletions(-) diff --git a/auctex.el b/auctex.el index a409e47c..ea9d8586 100644 --- a/auctex.el +++ b/auctex.el @@ -1,8 +1,8 @@ ;;; auctex.el --- Integrated environment for *TeX* -;; Copyright (C) 2014-2020 Free Software Foundation, Inc. +;; Copyright (C) 2014-2021 Free Software Foundation, Inc. -;; Version: 13.0.4 +;; Version: 13.0.5 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index e054a204..a88954f6 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 13.0.4 from 2021-01-23), a +This manual is for AUCTeX (version 13.0.5 from 2021-03-21), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -738,6 +738,42 @@ If you want others to be able to share your installation, you should configure it using '--without-texmf-dir', in which case things should work as well for them as for you. +1.2.6.1 Using AUCTeX from local Git repo + + +With the techniques described above, it is also possible to use AUCTeX +directly from a local Git repository. Let's assume you have your Git +repositories under '~/development/'. + + First, you have to fetch a copy of the AUCTeX Git repository. In a +shell, change directory to '~/development/' and do: + git clone https://git.savannah.gnu.org/git/auctex.git + + Now change directory to '~/development/auctex' and run +'./autogen.sh'. Next thing is to run 'configure' like this: + ./configure --without-texmf-dir --with-lispdir=. + +When finished, simply enter + make +and you're finished. Note that the 'make install' step is not +necessary. + + Now you have to tell Emacs about the plan. The following variables +must be set in your init file because their normal values are only +correct when AUCTeX is installed: + (setq TeX-data-directory "~/development/auctex" + TeX-lisp-directory TeX-data-directory) + +The info files will be available with this: + (eval-after-load 'info +'(add-to-list 'Info-additional-directory-list + "~/development/auctex/doc")) + +Now you're ready to load 'auctex.el' and 'preview-latex.el' out of this +directory: + (load "~/development/auctex/auctex.el" nil t t) + (load "~/development/auctex/preview-latex.el" nil t t) + File: auctex.info, Node: Installation under MS Windows, Next: Customizing, Prev: Advice for non-privileged users, Up: Installation @@ -1217,7 +1253,7 @@ which font you want: Insert slanted '\textsl{-!-}' text. 'C-c C-f C-r' - Insert roman \textrm{-!-} text. + Insert roman '\textrm{-!-}' text. 'C-c C-f C-f' Insert sans serif '\textsf{-!-}' text. @@ -4415,6 +4451,37 @@ application running under AUCTeX the current buffer, or if already there, to the file where the current process was started. + Additionally, output files produced by AUCTeX can be placed in a +separate directory. + + -- User Option: TeX-output-dir + Set this option to the path of a directory where output files will + be placed. The output files include those that are produced by + applications running under AUCTeX, temporary files related to + region processing and the preview-latex files. If a relative path + is specified, it is interpreted as being relative to the master + file in a mutlifile document. + + This is a buffer local variable and must be set separately for all + documents and all files in a multifile document. For example, + + %%% Local Variables: + %%% mode: latex + %%% TeX-output-dir: "build" + %%% End: + + Alternatively, you may use 'setq-default' to set the default value + of this option or set it as a directory local variable (see + 'add-dir-local-variable'). + + Note that a non-nil value of 'TeX-output-dir' might be incompatible + with some TeX commands and macros. In particular, the LaTeX macro + '\include' is known to not work with this option. Some TeX + packages which produce intermediary files might also be + incompatible. A possible workaround for those packages is to + append the value of 'TeX-output-dir' to the environment variables + 'TEXINPUTS' and 'BIBINPUTS'. + File: auctex.info, Node: Cleaning, Next: Documentation, Prev: Control, U
main 0a477ebe 252/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit 0a477ebe9e9c91e7d966d4b76ca0b78b78e430e6 Merge: f124fe7d 2ee39c4e Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- context.el | 18 ++- doc/auctex.texi | 32 +++-- doc/changes.texi | 12 +- doc/preview-faq.texi | 33 +- font-latex.el| 11 +- latex-flymake.el | 22 +++- latex.el | 160 +++-- style/ltx-base.el| 325 --- style/xparse.el | 17 ++- tex-info.el | 26 + tex.el | 101 texmathp.el | 8 +- 12 files changed, 560 insertions(+), 205 deletions(-) diff --git a/context.el b/context.el index 5ee0217d..29bbccd6 100644 --- a/context.el +++ b/context.el @@ -496,8 +496,8 @@ in your init file such as .emacs.d/init.el or .emacs." "ConTeXt Mark version used for running ConTeXt." :type 'string :group 'TeX-command - :safe #'stringp - :local t) + :safe #'stringp) +(make-variable-buffer-local 'ConTeXt-Mark-version) (defun ConTeXt-numbered-section-heading () "Hook to prompt for ConTeXt section name. @@ -626,8 +626,8 @@ for a label to be inserted after the sectioning command." (defcustom ConTeXt-default-environment "itemize" "The default environment when creating new ones with `ConTeXt-environment'." :group 'ConTeXt-environment - :type 'string - :local t) + :type 'string) +(make-variable-buffer-local 'ConTeXt-default-environment) (TeX-auto-add-type "environment" "ConTeXt") @@ -1875,9 +1875,8 @@ that is, you do _not_ have to cater for this yourself by adding \\=' or $." ;; Outline support (require 'outline) (set (make-local-variable 'outline-level) #'ConTeXt-outline-level) - ;; Moved after `run-mode-hooks'. (bug#65750) - ;; (set (make-local-variable 'outline-regexp) (ConTeXt-outline-regexp t)) - ;;(make-local-variable 'outline-heading-end-regexp) + (set (make-local-variable 'outline-regexp) (ConTeXt-outline-regexp t)) + (make-local-variable 'outline-heading-end-regexp) (setq TeX-header-end (ConTeXt-header-end) TeX-trailer-start (ConTeXt-trailer-start)) @@ -1913,10 +1912,7 @@ Run after mode hooks and file local variables application." "[ \t]*\\(" (ConTeXt-paragraph-commands-regexp) "\\|" "\\$\\$\\|" ; Plain TeX display math - "$\\)")) - - (or (local-variable-p 'outline-regexp) - (setq-local outline-regexp (ConTeXt-outline-regexp t + "$\\)"))) (defun context-guess-current-interface () "Guess what ConTeXt interface the current buffer is using." diff --git a/doc/auctex.texi b/doc/auctex.texi index dce723a3..b499c63b 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -3085,6 +3085,12 @@ The name of the file for temporarily storing the text when formatting the current region. @end defopt +@defopt TeX-kill-process-without-query +This boolean option controls whether @AUCTeX{} should ask user before +aborting a running process for a @TeX{} document. It can be set as a +file-local variable. +@end defopt + @defopt TeX-header-end A regular expression matching the end of the header. By default, this is @samp{\begin@{document@}} in @LaTeX{} mode and @samp{%**end of @@ -4073,16 +4079,22 @@ buffers by adding this to your init file: (add-hook 'LaTeX-mode-hook #'flymake-mode) @end lisp Note that @AUCTeX{} currently only provides support for using -@code{chktex} as the flymake backend. - -Each of the two utilities @code{lacheck} and @code{chktex} will find -some errors the other doesn't, but @code{chktex} is more configurable, -allowing you to create your own errors. You may need to install the -programs before using them. You can get @code{lacheck} from -URL:@url{https://www.ctan.org/pkg/lacheck} and -@code{chktex} from -URL:@url{https://www.ctan.org/pkg/chktex}. @w{@TeX{} Live} contains -both. +@code{chktex} as the flymake backend. Error messages produced by +@code{chktex} can be controlled by setting the variable +@code{LaTeX-flymake-chktex-options}. + +@defopt LaTeX-flymake-chktex-options +List of strings passed to @code{chktex} program as additonal options. +This option can be used to pass a specific warning number to @code{chktex} +like @option{-w41}. +@end defopt + +Each of the two utilities @code{lacheck} and @code{chktex} will find some +errors the other doesn't, but @code{chktex} is more configurable, allowing +you to create your own errors. You may need to install the programs +before using them. You can get @code{lacheck} from +@url{https://www.ctan.org/pkg/lacheck} and @code{chktex} from +@url{https://www.ctan.org/pkg/chktex}. @w{@TeX{} Live} contains both. @node Control @section Controlling the output diff --git a/doc/changes.texi b/doc/changes.texi index f2a3a3ae
main bc75884d 234/257: Release GNU AUCTeX 13.2.2
branch: main commit bc75884db3d173fe5656aefd7543990c49e6 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.2.2 * GNU AUCTeX Version 13.2.2 released. --- auctex.el | 4 +- auctex.info| 204 ++--- preview-latex.info | 80 ++--- tex-site.el| 2 +- 4 files changed, 145 insertions(+), 145 deletions(-) diff --git a/auctex.el b/auctex.el index 5fe65986..cc3e95e8 100644 --- a/auctex.el +++ b/auctex.el @@ -1,8 +1,8 @@ ;;; auctex.el --- Integrated environment for *TeX* -*- lexical-binding: t; -*- -;; Copyright (C) 2014-2021 Free Software Foundation, Inc. +;; Copyright (C) 2014-2023 Free Software Foundation, Inc. -;; Version: 13.2.1 +;; Version: 13.2.2 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index 75aa54e7..c5204315 100644 --- a/auctex.info +++ b/auctex.info @@ -1,7 +1,7 @@ This is auctex.info, produced by makeinfo version 7.0.3 from auctex.texi. -This manual is for AUCTeX (version 13.2.1.2023-10-11 from 2023-10-11), a +This manual is for AUCTeX (version 13.2.2 from 2023-10-11), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2023 Free Software @@ -6217,8 +6217,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.2.1.2023-10-11 from -2023-10-11), a sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 13.2.2 from 2023-10-11), a +sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2023 Free Software Foundation, Inc. @@ -9713,105 +9713,105 @@ Concept Index Tag Table: -Node: Top933 -Node: Copying7413 -Node: Introduction9362 -Node: Summary9632 -Node: Installation12381 -Node: Prerequisites14392 -Node: Configure16619 -Node: Build/install and uninstall21362 -Node: Loading the package22119 -Node: Advice for package providers23858 -Node: Advice for non-privileged users26729 -Node: Installation under MS Windows32247 -Node: Customizing46187 -Node: Quick Start47796 -Ref: Quick Start-Footnote-149929 -Node: Editing Facilities50031 -Node: Processing Facilities54923 -Node: Editing59814 -Node: Quotes61152 -Node: Font Specifiers70690 -Node: Sectioning72886 -Node: Environments77583 -Node: Equations83151 -Node: Floats83779 -Node: Itemize-like85823 -Node: Tabular-like86693 -Node: Customizing Environments88587 -Node: Mathematics88827 -Node: Completion92353 -Node: Marking100120 -Node: Marking (LaTeX)100756 -Node: Marking (Texinfo)101706 -Node: Commenting103349 -Node: Indenting104734 -Node: Filling113453 -Node: Display119475 -Node: Font Locking121988 -Node: Fontification of macros124093 -Node: Fontification of quotes134115 -Node: Fontification of math135655 -Node: Verbatim content139431 -Node: Faces140221 -Node: Known problems140726 -Node: Folding141735 -Node: Outline152866 -Node: Narrowing154189 -Node: Prettifying155266 -Node: Processing156553 -Node: Commands157913 -Node: Starting a Command158477 -Node: Selecting a Command163641 -Node: Processor Options173044 -Node: Viewing183717 -Node: Starting Viewers184091 -Node: I/O Correlation189889 -Ref: I/O Correlation-Footnote-1195647 -Node: Debugging195913 -Node: Ignoring warnings198593 -Node: Error overview200704 -Node: Checking202628 -Node: Control204318 -Node: Cleaning206467 -Node: Documentation207914 -Node: Customization209037 -Node: Modes and Hooks209530 -Node: Multifile211490 -Node: Parsing Files216336 -Node: Internationalization221375 -Node: European222730 -Node: Japanese230649 -Node: Automatic235909 -Node: Automatic Global238438 -Node: Automatic Private239576 -Node: Automatic Local240940 -Node: Style Files242214 -Node: Simple Style243028 -Node: Adding Macros246821 -Node: Adding Environments256622 -Node: Adding Other262084 -Node: Hacking the Parser266764 -Node: Appendices270777 -Node: Copying this Manual271073 -Node: GNU Free Documentation License271970 -Node: Changes297294 -Node: Development356831 -Node: Mid-term Goals357479 -Node: Wishlist360378 -Node: Bugs366581 -Node: FAQ367721 -Node: Texinfo mode373595 -Node: Exploiting374731 -Node: Superseding375553 -Node: Mapping380368 -Node: Unbinding382311 -Node: Indices382859 -Node: Key Index383022 -Node: Function Index390916 -Node: Variable Index403478 -Node: Concept Index428983 +Node: Top922 +Node: Copying7402 +Node: Introduction9351 +Node: Summary9621 +Node: Installation12370 +Node: Prerequisites14381 +Node: Configure16608 +Node: Build/install and uninstall21351 +Node: Loading the package22108 +Node: Advice for package providers23847 +Node: Advice for non-privileged users26718 +Node: Installation under MS Windows32236 +Node: Customizing46176 +Node: Quick Start47785 +Ref: Quick Start-Footnote-149918
main b55368f7 230/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit b55368f75fa470ae9fa9e5c1a602a59484a0b496 Merge: 9d47b0a1 7cd0cdd6 Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- Makefile.in| 3 +- RELEASE| 2 +- auctex.el.in | 4 +- bib-cite.el| 2 - configure.ac | 2 +- context-en.el | 7 +- context-nl.el | 7 +- context.el | 59 - doc/auctex.texi| 6 +- doc/changes.texi | 8 ++ doc/faq.texi | 4 +- doc/install.texi | 4 +- doc/preview-faq.texi | 4 +- font-latex.el | 58 + latex.el | 172 +- style/XCharter.el | 58 - style/algpseudocodex.el| 47 +-- style/amsthm.el| 15 +-- style/babel.el | 79 +++- style/beamer.el| 45 --- style/bicaption.el | 30 ++--- style/caption.el | 27 +++-- style/changelog.el | 4 +- style/changes.el | 66 +- style/csquotes.el | 138 +++-- style/dinbrief.el | 52 style/expl3.el | 20 +-- style/fontenc.el | 14 +-- style/geometry.el | 11 +- style/letter.el| 13 +- style/mdsymbol.el | 9 +- style/menukeys.el | 270 ++--- style/microtype.el | 13 +- style/natbib.el| 31 +++-- style/newfloat.el | 15 +-- style/ntheorem.el | 65 +- style/paralist.el | 32 ++--- style/parskip.el | 18 +-- style/pythontex.el | 24 +--- style/revtex4-2.el | 25 ++-- style/shortvrb.el | 45 +++ style/siunitx.el | 12 +- style/soul.el | 169 ++ style/subcaption.el| 13 +- style/theorem.el | 15 +-- style/wasysym.el | 187 style/xparse.el| 20 +-- tests/latex/font-latex-test.el | 128 ++- tex-info.el| 24 ++-- tex-site.el.in | 19 +-- tex.el | 57 + 51 files changed, 1396 insertions(+), 756 deletions(-) diff --git a/Makefile.in b/Makefile.in index 6244269a..18c79222 100644 --- a/Makefile.in +++ b/Makefile.in @@ -196,7 +196,8 @@ STYLESRC = style/prosper.el \ style/keyval.elstyle/kvoptions.el style/kvsetkeys.el \ style/proc.el style/microtype.el style/tcolorboxlib-theorems.el \ style/amsaddr.el style/parskip.el style/catchfilebetweentags.el \ - style/physics.el style/algpseudocodex.el + style/physics.el style/soul.el style/algpseudocodex.el \ + style/wasysym.el STYLEELC = $(STYLESRC:.el=.elc) diff --git a/RELEASE b/RELEASE index f2496ca4..3e33bb7a 100644 --- a/RELEASE +++ b/RELEASE @@ -102,7 +102,7 @@ respectively. Requirements -It is required that you use at least GNU Emacs 25.1. +It is required that you use at least GNU Emacs 26.1. The preview-latex subsystem requires image support. diff --git a/auctex.el.in b/auctex.el.in index 61527e23..390c0e3c 100644 --- a/auctex.el.in +++ b/auctex.el.in @@ -1,11 +1,11 @@ ;;; auctex.el --- Integrated environment for *TeX* -*- lexical-binding: t; -*- -;; Copyright (C) 2014-2022 Free Software Foundation, Inc. +;; Copyright (C) 2014-2023 Free Software Foundation, Inc. ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org -;; Package-Requires: ((emacs "25.1")) +;; Package-Requires: ((emacs "26.1")) ;; Keywords: TeX LaTeX Texinfo ConTeXt docTeX preview-latex ;; This file is part of AUCTeX. diff --git a/bib-cite.el b/bib-cite.el index 9c19be37..5a7de98f 100644 --- a/bib-cite.el +++ b/bib-cite.el @@ -1570,8 +1570,6 @@ Does not save excursion." "Sorry, could not find an environment or section declaration") (defvar LaTeX-find-label-hist-alist nil "History list for LaTeX-find-label.") -(defvar LaTeX-label-list nil "Used by AUCTeX to store label names.") - (defun create-alist-from-list (the-list) "Return a single list from a THE-LIST that may contain either items or lists. diff --git a/configure.ac b/configure.ac index 30fdd598..1e986788 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,7 @@ AC_SUBST(PREVIEWVERSION) EMACS_PROG_EMACS -EMACS_CHECK_VERSION(25,1) +EMACS_CHECK_VERSION(26,1) # The Debian package uses `--disable-build-dir-te
main 6620d8c1 039/257: Merge from upstream master; release 11.88.3
branch: main commit 6620d8c11fb0a72a7db1ac7b6a03ab09658fe3e2 Author: Tassilo Horn Commit: Tassilo Horn Merge from upstream master; release 11.88.3 --- ChangeLog | 4 + auctex.el | 2 +- auctex.info| 255 +++-- preview-latex.info | 4 +- tex-site.el| 4 +- 5 files changed, 159 insertions(+), 110 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4b64c907..3f7d6738 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-03-22 Tassilo Horn + + * Version 11.88.3 released. + 2015-03-17 Mos� Giordano * doc/wininstall.texi: Fix a broken link. diff --git a/auctex.el b/auctex.el index dd0c701e..60fba4a0 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014, 2015 Free Software Foundation, Inc. -;; Version: 11.88.2 +;; Version: 11.88.3 ;; URL: http://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org diff --git a/auctex.info b/auctex.info index 87c2269b..a7d22d5d 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 5.2 from auctex.texi. -This manual is for AUCTeX (version 11.88.2 from 2015-01-27), a +This manual is for AUCTeX (version 11.88.3 from 2015-03-22), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2014 Free Software @@ -329,7 +329,7 @@ are asked to consult *Note Installation under MS Windows::. * Prerequisites:: * Configure:: -* Build/install:: +* Build/install and uninstall:: * Loading the package:: * Advice for package providers:: * Advice for non-privileged users:: @@ -403,7 +403,7 @@ File: auctex.info, Node: Prerequisites, Next: Configure, Up: Installation (preview-latex)Known problems::. -File: auctex.info, Node: Configure, Next: Build/install, Prev: Prerequisites, Up: Installation +File: auctex.info, Node: Configure, Next: Build/install and uninstall, Prev: Prerequisites, Up: Installation 1.2.2 Configure --- @@ -526,10 +526,10 @@ it out with one of these options: but is normally not necessary otherwise. -File: auctex.info, Node: Build/install, Next: Loading the package, Prev: Configure, Up: Installation +File: auctex.info, Node: Build/install and uninstall, Next: Loading the package, Prev: Configure, Up: Installation -1.2.3 Build/install +1.2.3 Build/install and uninstall +- Once 'configure' has been run, simply enter @@ -541,11 +541,19 @@ chosen earlier, type make install - You may need special privileges to install, e.g., if you are -installing into system directories. +You may need special privileges to install, e.g., if you are installing +into system directories. + + Should you want to completely remove the installed package, in the +same directory you built AUCTeX run + + make uninstall + +You will need administration privileges if you installed the package +into system directories. -File: auctex.info, Node: Loading the package, Next: Advice for package providers, Prev: Build/install, Up: Installation +File: auctex.info, Node: Loading the package, Next: Advice for package providers, Prev: Build/install and uninstall, Up: Installation 1.2.4 Loading the package - @@ -1065,9 +1073,9 @@ single quotes for that. Adding support for an image format usually involves the installation of a library, e.g. from <http://gnuwin32.sf.net/>. - If you got your Emacs from you might want to check its - README file (ftp://ftp.gnu.org/gnu/emacs/windows/README) for - details. + If you got your Emacs from <http://www.gnu.org> you might want to + check its README file (ftp://ftp.gnu.org/gnu/emacs/windows/README) + for details. A different image format can be chosen by setting the variable 'preview-image-type'. While it is recommended to keep the 'dvipng' @@ -2585,6 +2593,23 @@ inside the comment, AUCTeX will report an error. will be inserted before the last non-comment word to minimize the chance that the line becomes overfull. + -- User Option: LaTeX-fill-excluded-macros + A list of macro names (without leading backslash) for whose + arguments filling should be disabled. Typically, you will want to + add macros here which have long, multi-line arguments. An example + is '\pgfplotstabletypeset' from the pgfplotstable package which is + used as shown in the following listing: + + \pgfplotstabletypeset[skip first n=4]{% + XYZ Format, + Version 1.234 + Date 2010-09-01 + @author Mustermann + A B C + 1 2 3 + 4 5 6 + } + File: auctex.info, Node: Display, Next: Processing, Prev: Editing, Up: Top @@ -4073,6 +4098,18 @@ for one of the modes listed above, put it into the respective mode hook, if it is relevant fo
main 44d54236 253/257: Release GNU AUCTeX 14.0.4
branch: main commit 44d54236056fccc32a0b26d6df2ceda5716b7df1 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 14.0.4 * GNU AUCTeX Version 14.0.4 released. --- auctex.el | 2 +- auctex.info| 243 + preview-latex.info | 108 +++- tex-site.el| 4 +- 4 files changed, 201 insertions(+), 156 deletions(-) diff --git a/auctex.el b/auctex.el index f9087b28..7971867f 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2024 Free Software Foundation, Inc. -;; Version: 14.0.3 +;; Version: 14.0.4 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index 44671fec..7ea64273 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 7.1 from auctex.texi. -This manual is for AUCTeX (version 14.0.3 from 2024-02-20), a +This manual is for AUCTeX (version 14.0.3.2024-03-17 from 2024-03-17), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software @@ -3732,6 +3732,11 @@ it is ready with a single command: ‘TeX-command-run-all’. The name of the file for temporarily storing the text when formatting the current region. + -- User Option: TeX-kill-process-without-query + This boolean option controls whether AUCTeX should ask user before + aborting a running process for a TeX document. It can be set as a + file-local variable. + -- User Option: TeX-header-end A regular expression matching the end of the header. By default, this is ‘\begin{document}’ in LaTeX mode and ‘%**end of header’ in @@ -4585,14 +4590,20 @@ flymake-mode ’ in the buffer or enable it in all buffers by adding this to your init file: (add-hook 'LaTeX-mode-hook #'flymake-mode) Note that AUCTeX currently only provides support for using ‘chktex’ -as the flymake backend. +as the flymake backend. Error messages produced by ‘chktex’ can be +controlled by setting the variable ‘LaTeX-flymake-chktex-options’. + + -- User Option: LaTeX-flymake-chktex-options + List of strings passed to ‘chktex’ program as additonal options. + This option can be used to pass a specific warning number to + ‘chktex’ like ‘-w41’. Each of the two utilities ‘lacheck’ and ‘chktex’ will find some errors the other doesn't, but ‘chktex’ is more configurable, allowing you to create your own errors. You may need to install the programs before using them. You can get ‘lacheck’ from -URL:<https://www.ctan.org/pkg/lacheck> and ‘chktex’ from -URL:<https://www.ctan.org/pkg/chktex>. TeX Live contains both. +<https://www.ctan.org/pkg/lacheck> and ‘chktex’ from +<https://www.ctan.org/pkg/chktex>. TeX Live contains both. File: auctex.info, Node: Control, Next: Cleaning, Prev: Checking, Up: Processing @@ -6265,8 +6276,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 14.0.3 from 2024-02-20), a -sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 14.0.3.2024-03-17 from +2024-03-17), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software Foundation, Inc. @@ -6913,6 +6924,14 @@ News in 14.1 ‘japanese-plain-TeX-mode-abbrev-table’, ‘japanese-LaTeX-mode-abbrev-table’ + • New custom variable ‘LaTeX-flymake-chktex-options’ is provided to + enable or disable specific warnings of ‘chktex’ backend used by + Flymake. + + • The boolean custom variable ‘TeX-kill-process-without-query’ can be + used to disable the user query before aborting a running process + for a TeX document. Default is ‘nil’. + • AUCTeX now requires GNU Emacs 27.1 or higher. News in 13.3 @@ -8995,7 +9014,7 @@ Key Index * C-c C-t C-p: Processing Facilities. (line 50) * C-c C-t C-p <1>: Processor Options. (line 16) -* C-c C-t C-r: Starting a Command. (line 85) +* C-c C-t C-r: Starting a Command. (line 90) * C-c C-t C-s: Processing Facilities. (line 56) * C-c C-t C-s <1>: Processor Options. (line 37) @@ -9176,7 +9195,7 @@ Function Index * TeX-next-error:Debugging. (line 11) * TeX-normal-mode: Parsing Files. (line 44) * TeX-PDF-mode: Processor Options. (line 15) -* TeX-pin-region:Starting a Command. (line 84) +* TeX-pin-region:Starting a Comman
main 4473c1f2 170/257: Release GNU AUCTeX 13.0.3
branch: main commit 4473c1f23d82dba480f0e8c4ae196a11c9990617 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.0.3 * GNU AUCTeX Version 13.0.3 released. --- auctex.el | 2 +- auctex.info| 4 ++-- preview-latex.info | 4 ++-- tex-site.el| 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/auctex.el b/auctex.el index afca53b9..b46298c8 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2020 Free Software Foundation, Inc. -;; Version: 13.0.2 +;; Version: 13.0.3 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index 9a41a0a6..aff7588c 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 13.0.2 from 2021-01-08), a +This manual is for AUCTeX (version 13.0.3 from 2021-01-08), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -5870,7 +5870,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.0.2 from 2021-01-08), a + This manual is for AUCTeX (version 13.0.3 from 2021-01-08), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software diff --git a/preview-latex.info b/preview-latex.info index cccd982d..b325d6f4 100644 --- a/preview-latex.info +++ b/preview-latex.info @@ -2,7 +2,7 @@ This is preview-latex.info, produced by makeinfo version 6.7 from preview-latex.texi. This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 13.0.2 from 2021-01-08). +(version 13.0.3 from 2021-01-08). Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. @@ -1910,7 +1910,7 @@ Appendix C Copying this Manual The copyright notice for this manual is: This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 13.0.2 from 2021-01-08). +(version 13.0.3 from 2021-01-08). Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. diff --git a/tex-site.el b/tex-site.el index 7d96e6d4..d8c86b2a 100644 --- a/tex-site.el +++ b/tex-site.el @@ -158,7 +158,7 @@ set it with `TeX-modes-set'." `(TeX-modes-set ',var ,var t)) (setq list (cdr list)) ) -(defconst AUCTeX-version "13.0.2" +(defconst AUCTeX-version "13.0.3" "AUCTeX version. If not a regular release, the date of the last change.")
main b4971a15 194/257: Regenerate docs
branch: main commit b4971a159fcd31458564b6886b1f11ae979c8f64 Author: Tassilo Horn Commit: Tassilo Horn Regenerate docs --- auctex.info| 289 - preview-latex.info | 86 tex-site.el| 4 +- 3 files changed, 197 insertions(+), 182 deletions(-) diff --git a/auctex.info b/auctex.info index a8a1a8c0..ebc0391b 100644 --- a/auctex.info +++ b/auctex.info @@ -1,7 +1,7 @@ -This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. +This is auctex.info, produced by makeinfo version 6.8 from auctex.texi. -This manual is for AUCTeX (version 13.0.12 from 2021-06-06), a -sophisticated TeX environment for Emacs. +This manual is for AUCTeX (version 13.0.12.2021-08-12 from 2021-08-12), +a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2021 Free Software Foundation, Inc. @@ -2109,8 +2109,10 @@ file such as 'init.el' or '.emacs': elements. First, the key to be used after 'LaTeX-math-abbrev-prefix' for - macro insertion. If it is nil, the symbol has no associated - keystroke (it is available in the menu, though). + macro insertion. The key can be a character (e.g. '?o') for a + single stroke or a string (e.g. '"o a"') for a multi-stroke + binding. If it is nil, the symbol has no associated keystroke (it + is available in the menu, though). Second, a string representing the name of the macro (without a leading backslash.) @@ -4575,7 +4577,7 @@ it is relevant for all text modes, append it to 'text-mode-hook'. Other useful hooks are listed below. - -- Variable: TeX-after-compilation-finished-hook + -- Variable: TeX-after-compilation-finished-functions Hook which is run after the TeX/LaTeX processor has successfully finished compiling your document. (*Note Processing::, for finding out how to compile your document.) Each function in the hook is @@ -4608,9 +4610,7 @@ a more advanced algorithm. (setq-default TeX-master nil) ; Query for master file. - If AUCTeX finds the line indicating the end of the header in a master -file ('TeX-header-end'), it can figure out for itself that this is a -master file. Otherwise, it will ask for the name of the master file + In this case, AUCTeX will ask for the name of the master file associated with the buffer. To avoid asking you again, AUCTeX will automatically insert the name of the master file as a file variable (*note (emacs)File Variables::). You can also insert the file variable @@ -5665,6 +5665,12 @@ overwrite the default prompt. Prompt for document author, using 'LaTeX-default-author' as initial input. +'TeX-read-hook' + Prompt for a LaTeX hook and return it. + +'TeX-arg-hook' + Prompt for a LaTeX hook and insert it as a TeX macro argument. + 'TeX-read-key-val' Prompt for a 'key=value' list of options and return them. @@ -6010,8 +6016,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.0.12 from 2021-06-06), a -sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 13.0.12.2021-08-12 from +2021-08-12), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2021 Free Software Foundation, Inc. @@ -6598,6 +6604,10 @@ News in 13.1 was meant to support latexinfo which in return was a LaTeX-2.09 extension of Texinfo, but didn't manage to replace Texinfo. + * AUCTeX has preliminary support for LaTeX-hooks. Hooks provided by + LaTeX kernel are known and available for completion in + '\AddToHook', '\RemoveFromHook' and '\AddToHookNext'. + News in 12.3 @@ -6650,7 +6660,7 @@ News in 12.2 'filecontents' environment now takes an optional argument and can be used anywhere in a document. The macros '\Ref' and '\labelformat' are moved from 'varioref.sty' to LaTeX kernel. - amsmath has a new macro '\overunderset'. + 'amsmath' has a new macro '\overunderset'. * A new method is implemented in preview-latex to adjust the foreground colors of generated images to those of Emacs, when the @@ -7722,7 +7732,7 @@ A.3.1 Mid-term Goals * Error help catalogs Currently, the help for errors is more or less hardwired into - 'tex.el'. For supporting error help in other languages, it would + 'latex.el'. For supporting error help in other languages, it would be sensible to instead arrange error messages in language-specific files, make a common info file from all such catalogs in a given language and look the error texts up in an appropriate index. The @@ -7749,6 +7759,9 @@ A.3.1 Mid-term Goals As of AUCTeX 12.3, 'TeX-remove-style' is no longer used by any other codes. + * Document 'LaTeX-insert-into-commments' and + 'TeX-translate-location-hook'. + File: a
main c5772e71 153/257: Release GNU AUCTeX 12.2.5
branch: main commit c5772e7167b5231da61fbe9da3170a3b623cbf27 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 12.2.5 * GNU AUCTeX Version 12.2.5 released. --- auctex.el | 2 +- auctex.info| 202 ++--- preview-latex.info | 78 ++--- tex-site.el| 2 +- 4 files changed, 142 insertions(+), 142 deletions(-) diff --git a/auctex.el b/auctex.el index fc9ef95c..639167ca 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2019 Free Software Foundation, Inc. -;; Version: 12.2.4 +;; Version: 12.2.5 ;; URL: http://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index 443487de..191337fc 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 12.2.4.2020-09-25 from 2020-09-25), a +This manual is for AUCTeX (version 12.2.5 from 2020-09-25), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -5896,8 +5896,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 12.2.4.2020-09-25 from -2020-09-25), a sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 12.2.5 from 2020-09-25), a +sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software Foundation, Inc. @@ -9046,104 +9046,104 @@ Concept Index Tag Table: -Node: Top928 -Node: Copying7342 -Node: Introduction9287 -Node: Summary9557 -Node: Installation12290 -Node: Prerequisites14056 -Node: Configure16296 -Node: Build/install and uninstall20922 -Node: Loading the package21675 -Node: Advice for package providers23351 -Node: Advice for non-privileged users26156 -Node: Installation under MS Windows30121 -Node: Customizing43859 -Node: Quick Start45442 -Ref: Quick Start-Footnote-147572 -Node: Editing Facilities47666 -Node: Processing Facilities52469 -Node: Editing57170 -Node: Quotes58500 -Node: Font Specifiers66753 -Node: Sectioning68820 -Node: Environments73140 -Node: Equations78294 -Node: Floats78885 -Node: Itemize-like80889 -Node: Tabular-like81610 -Node: Customizing Environments83383 -Node: Mathematics83623 -Node: Completion86909 -Node: Marking93931 -Node: Marking (LaTeX)94555 -Node: Marking (Texinfo)95497 -Node: Commenting97107 -Node: Indenting98432 -Node: Filling104468 -Node: Display110340 -Node: Font Locking112835 -Node: Fontification of macros114910 -Node: Fontification of quotes124429 -Node: Fontification of math125924 -Node: Verbatim content129592 -Node: Faces130366 -Node: Known problems130855 -Node: Folding131852 -Node: Outline142676 -Node: Narrowing143948 -Node: Prettifying145018 -Node: Processing146255 -Node: Commands147418 -Node: Starting a Command147974 -Node: Selecting a Command152877 -Node: Processor Options161961 -Node: Viewing172308 -Node: Starting Viewers172682 -Node: I/O Correlation179809 -Node: Debugging185007 -Node: Ignoring warnings187626 -Node: Error overview189686 -Node: Checking191597 -Node: Control193190 -Node: Cleaning193917 -Node: Documentation195210 -Node: Customization195925 -Node: Modes and Hooks196418 -Node: Multifile198238 -Node: Parsing Files203050 -Node: Internationalization207962 -Node: European209275 -Node: Japanese216085 -Node: Automatic221156 -Node: Automatic Global223647 -Node: Automatic Private224779 -Node: Automatic Local226092 -Node: Style Files227124 -Node: Simple Style227917 -Node: Adding Macros231576 -Node: Adding Environments240907 -Node: Adding Other245568 -Node: Hacking the Parser246155 -Node: Appendices250024 -Node: Copying this Manual250320 -Node: GNU Free Documentation License251214 -Node: Changes276335 -Node: Development323244 -Node: Mid-term Goals323890 -Node: Wishlist325747 -Node: Bugs331188 -Node: FAQ332291 -Node: Texinfo mode337418 -Node: Exploiting338554 -Node: Superseding339374 -Node: Mapping343578 -Node: Unbinding345407 -Node: Indices346228 -Node: Key Index346391 -Node: Function Index353007 -Node: Variable Index363890 -Node: Concept Index387168 +Node: Top917 +Node: Copying7331 +Node: Introduction9276 +Node: Summary9546 +Node: Installation12279 +Node: Prerequisites14045 +Node: Configure16285 +Node: Build/install and uninstall20911 +Node: Loading the package21664 +Node: Advice for package providers23340 +Node: Advice for non-privileged users26145 +Node: Installation under MS Windows30110 +Node: Customizing43848 +Node: Quick Start45431 +Ref: Quick Start-Footnote-147561 +Node: Editing Facilities47655 +Node: Processing Facilities52458 +Node: Editing57159 +Node: Quotes58489 +Node: Font Specifiers66742 +Node: Sectioning68809 +Node: Environments73129
main 51c45b03 077/257: Merge branch 'master' into elpa
branch: main commit 51c45b0364bea935dce8ac923ad1c668e493be2b Merge: 1c917791 84599463 Author: Tassilo Horn Commit: Tassilo Horn Merge branch 'master' into elpa --- context.el | 57 +++--- tex-buf.el | 63 +++- tex-jp.el| 33 ++- tex-mik.el | 4 +++- toolbar-x.el | 21 +--- 5 files changed, 93 insertions(+), 85 deletions(-) diff --git a/context.el b/context.el index b962e0d2..25151e5b 100644 --- a/context.el +++ b/context.el @@ -495,6 +495,14 @@ in your .emacs file." ConTeXt-section-ref ConTeXt-section-section)) +;; Define before first use. +(defcustom ConTeXt-Mark-version "II" + "ConTeXt Mark version used for running ConTeXt." + :type "string" + :group 'TeX-command) +(make-variable-buffer-local 'ConTeXt-Mark-version) +(put 'ConTeXt-Mark-version 'safe-local-variable 'stringp) + (defun ConTeXt-numbered-section-heading () "Hook to prompt for ConTeXt section name. Insert this hook into `ConTeXt-numbered-section-hook' to allow the user to change @@ -1004,11 +1012,11 @@ If OPTIONAL, only insert it if not empty, and then use square brackets." "[][]\\|" ; display math delimitors (is this applicable to ConTeXt??) (ConTeXt-environment-start-name) "\\|" (ConTeXt-environment-stop-name) "\\|" - (mapconcat 'car ConTeXt-numbered-section-list "\\b\\|") "\\b\\|" - (mapconcat 'car ConTeXt-unnumbered-section-list "\\b\\|") "\\b\\|" - (mapconcat 'identity ConTeXt-extra-paragraph-commands "\\b\\|") + (mapconcat #'car ConTeXt-numbered-section-list "\\b\\|") "\\b\\|" + (mapconcat #'car ConTeXt-unnumbered-section-list "\\b\\|") "\\b\\|" + (mapconcat #'identity ConTeXt-extra-paragraph-commands "\\b\\|") "\\b\\|" - (mapconcat 'identity ConTeXt-item-list "\\b\\|") "\\b\\)")) + (mapconcat #'identity ConTeXt-item-list "\\b\\|") "\\b\\)")) ;; Outline support @@ -1028,14 +1036,14 @@ header is at the start of a line." "[ \t]*" (regexp-quote TeX-esc) "\\(" - (mapconcat 'ConTeXt-environment-full-start-name ConTeXt-section-block-list "\\|") "\\|" - (mapconcat 'car ConTeXt-numbered-section-list "\\|") - (mapconcat 'car ConTeXt-unnumbered-section-list "\\|") + (mapconcat #'ConTeXt-environment-full-start-name ConTeXt-section-block-list "\\|") "\\|" + (mapconcat #'car ConTeXt-numbered-section-list "\\|") + (mapconcat #'car ConTeXt-unnumbered-section-list "\\|") "\\)\\b" (if TeX-outline-extra "\\|" "") - (mapconcat 'car TeX-outline-extra "\\|") + (mapconcat #'car TeX-outline-extra "\\|") "\\|" (ConTeXt-header-end) "\\b" "\\|" (ConTeXt-trailer-start) "\\b")) @@ -1063,7 +1071,7 @@ header is at the start of a line." "Regular expression that matches a start of all environments mentioned in LIST." (concat "start\\(" - (mapconcat 'identity list "\\|") + (mapconcat #'identity list "\\|") "\\)\\b")) ;; The top headings are \starttext, \startfrontmatter, \startbodymatter etc. @@ -1533,55 +1541,55 @@ else. There might be text before point." (TeX-update-style) (setq ConTeXt-menu-changed nil) (message "Updating section menu...") - (mapc 'ConTeXt-section-enable ConTeXt-section-list) + (mapc #'ConTeXt-section-enable ConTeXt-section-list) (message "Updating environment menu...") (easy-menu-change '("ConTeXt") ConTeXt-environment-menu-name (LaTeX-split-long-menu - (mapcar 'ConTeXt-environment-menu-entry + (mapcar #'ConTeXt-environment-menu-entry (ConTeXt-environment-list (message "Updating modify environment menu...") (easy-menu-change '("ConTeXt") ConTeXt-environment-modify-menu-name (LaTeX-split-long-menu - (mapcar 'ConTeXt-environment-modify-menu-entry + (mapcar #'ConTeXt-environment-modify-menu-entry (ConTeXt-environment-list (message "Updating define menu...") (easy-menu-change '("ConTeXt") ConTeXt-define-menu-name (LaTeX-split-long-menu - (mapcar 'ConTeXt-define-menu-entry + (mapcar #'ConTeXt-define-menu-entry
main d22387d0 216/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit d22387d0d253ca8f9e25f75a53a5dd474a555bf7 Merge: 0029ca41 4a843073 Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- Makefile.in| 11 ++-- font-latex.el | 4 ++ latex.el | 96 +++--- style/amsaddr.el | 37 + style/amsart.el| 109 -- style/array.el | 15 ++ style/catchfilebetweentags.el | 116 + style/fancyvrb.el | 29 --- style/fvextra.el | 22 style/hologo.el| 10 ++-- style/l3doc.el | 7 ++- style/ltx-base.el | 15 +- style/newfloat.el | 19 +++ style/parskip.el | 50 ++ style/tcolorboxlib-theorems.el | 2 +- style/xparse.el| 16 +++--- tex-bar.el | 99 ++- tex-site.el.in | 7 ++- tex-style.el | 7 +++ tex.el | 10 ++-- 20 files changed, 518 insertions(+), 163 deletions(-) diff --git a/Makefile.in b/Makefile.in index 9d97eff3..a2bb2d9d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -194,7 +194,8 @@ STYLESRC = style/prosper.el \ style/ifpdf.el style/iftex.el style/ifvtex.el \ style/ifxetex.el style/multibib.el style/ltcaption.el \ style/keyval.elstyle/kvoptions.el style/kvsetkeys.el \ - style/proc.el style/microtype.el style/tcolorboxlib-theorems.el + style/proc.el style/microtype.el style/tcolorboxlib-theorems.el \ + style/amsaddr.el style/parskip.el style/catchfilebetweentags.el STYLEELC = $(STYLESRC:.el=.elc) @@ -268,9 +269,11 @@ tex-site.el: tex-site.el.out auto-loads.el Makefile cat auto-loads.el >>$@ echo "(provide 'tex-site)" >>$@ ; \ echo " tex-site.el ends here" >>$@ - sed -i -e "/^(provide 'auto-loads)/d" \ - -e '/^;;; auto-loads.el ends here/d' \ - -e 's/^\(;;; auto-loads.el.*\)\( -\*- lexical-binding: t -\*-\)/\1/' $@ + sed -i'.tmp' \ + -e "/^(provide 'auto-loads)/d" \ + -e '/^;;; auto-loads.el ends here/d' \ + -e 's/^\(;;; auto-loads.el.*\)\( -\*- lexical-binding: t -\*-\)/\1/' $@ + -rm -f $@.tmp tex-site.el.out: tex-site.el.in Makefile config.status ./config.status diff --git a/font-latex.el b/font-latex.el index 4406dea6..52c0fca1 100644 --- a/font-latex.el +++ b/font-latex.el @@ -1804,6 +1804,7 @@ Used for patterns like: ;; If the closing tag is beyond the current end of ;; region, take care of it. (when (< font-latex--updated-region-end p) + ;; FIXME: Why? Should this use `font-lock-flush'? (font-lock-unfontify-region font-latex--updated-region-end p) (setq font-latex--updated-region-end p)) (store-match-data (list beg beg beg p))) @@ -1883,6 +1884,7 @@ The \\begin{equation} incl. arguments in the same line and (+ limit font-latex-multiline-boundary) 'move) (progn (setq end (match-beginning 0)) +;; FIXME: Duplicate of code in `font-latex-match-math-env'. (if (< font-latex--updated-region-end limit) (setq font-latex--updated-region-end limit)) (when (< font-latex--updated-region-end end) @@ -1919,6 +1921,7 @@ The \\begin{equation} incl. arguments in the same line and (progn (forward-char num) (let ((p (point))) +;; FIXME: Duplicate of code in `font-latex-match-math-env'. (if (< font-latex--updated-region-end limit) (setq font-latex--updated-region-end limit)) (when (< font-latex--updated-region-end p) @@ -2082,6 +2085,7 @@ set to `french', and >>german<< (and 8-bit) are used if set to `german'." (goto-char after-beg) (store-match-data (list after-beg after-beg beg after-beg))) (let ((p (point))) +;; FIXME: Duplicate of code in `font-latex-match-math-env'. (if (< font-latex--updated-region-end limit) (setq font-latex--updated-region-end limit)) (when (< font-latex--updated-region-end p) diff --git a/latex.el b/latex.el index 59ba9cbf..ae8dd89f 100644 --- a/latex.el +++ b/latex.el @@ -375,7 +375,7 @@ If so, return the second element, otherwise return nil." (defun LaTeX-outline-
main 0383415b 184/257: Release GNU AUCTeX 13.0.8
branch: main commit 0383415bab7ac102e9a4e986e4ea03e839f0357d Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.0.8 * GNU AUCTeX Version 13.0.8 released. --- auctex.el | 2 +- auctex.info| 4 ++-- preview-latex.info | 4 ++-- tex-site.el| 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/auctex.el b/auctex.el index 7912f1a6..32d9f871 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2021 Free Software Foundation, Inc. -;; Version: 13.0.7 +;; Version: 13.0.8 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index c2929126..29b3d005 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 13.0.7 from 2021-04-17), a +This manual is for AUCTeX (version 13.0.8 from 2021-04-18), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -5946,7 +5946,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.0.7 from 2021-04-17), a + This manual is for AUCTeX (version 13.0.8 from 2021-04-18), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software diff --git a/preview-latex.info b/preview-latex.info index 22fa16b3..d85b3838 100644 --- a/preview-latex.info +++ b/preview-latex.info @@ -2,7 +2,7 @@ This is preview-latex.info, produced by makeinfo version 6.7 from preview-latex.texi. This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 13.0.7 from 2021-04-17). +(version 13.0.8 from 2021-04-18). Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. @@ -1911,7 +1911,7 @@ Appendix C Copying this Manual The copyright notice for this manual is: This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 13.0.7 from 2021-04-17). +(version 13.0.8 from 2021-04-18). Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. diff --git a/tex-site.el b/tex-site.el index 622d1496..d51ecfab 100644 --- a/tex-site.el +++ b/tex-site.el @@ -157,11 +157,11 @@ set it with `TeX-modes-set'." `(TeX-modes-set ',var ,var t)) (setq list (cdr list)) ) -(defconst AUCTeX-version "13.0.7" +(defconst AUCTeX-version "13.0.8" "AUCTeX version. If not a regular release, the date of the last change.") -(defconst AUCTeX-date "2021-04-17" +(defconst AUCTeX-date "2021-04-18" "AUCTeX release date using the ISO 8601 format, -mm-dd.") ;; Store bibitems when saving a BibTeX buffer
main c4c1a3c9 031/257: * auctex.el: Add maintainer.
branch: main commit c4c1a3c9ca0ec45097abc300cee821a4685d49b0 Author: Stefan Monnier Commit: Stefan Monnier * auctex.el: Add maintainer. --- auctex.el | 1 + 1 file changed, 1 insertion(+) diff --git a/auctex.el b/auctex.el index 815bc10c..c20a3d46 100644 --- a/auctex.el +++ b/auctex.el @@ -4,6 +4,7 @@ ;; Version: 11.88 ;; URL: http://www.gnu.org/software/auctex/ +;; Maintainer: auctex-devel@gnu.org ;; This file is part of GNU Emacs.
main ceb169a2 193/257: Merge remote-tracking branch 'origin/master' into externals/auctex
branch: main commit ceb169a21915feb070f1e5e9d9e8d3400514204d Merge: 6c32b97f 097ec6cb Author: Tassilo Horn Commit: Tassilo Horn Merge remote-tracking branch 'origin/master' into externals/auctex --- doc/auctex.texi | 38 +- doc/changes.texi | 9 ++- doc/todo.texi | 15 ++-- font-latex.el | 1 + latex.el | 223 ++ preview.el| 13 ++-- style/dinbrief.el | 3 +- style/letter.el | 3 +- style/ulem.el | 50 +++- tex-buf.el| 20 ++--- tex-fold.el | 16 +++- tex-info.el | 9 ++- tex.el| 65 +++- texmathp.el | 5 +- toolbar-x.el | 29 +++ 15 files changed, 381 insertions(+), 118 deletions(-) diff --git a/doc/auctex.texi b/doc/auctex.texi index 5f01ba19..c5d36ff8 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -1203,9 +1203,11 @@ The variable @code{LaTeX-math-list} allows you to add your own mappings. A list containing user-defined keys and commands to be used in @LaTeX{} Math mode. Each entry should be a list of two to four elements. -First, the key to be used after @code{LaTeX-math-abbrev-prefix} for -macro insertion. If it is nil, the symbol has no associated -keystroke (it is available in the menu, though). +First, the key to be used after @code{LaTeX-math-abbrev-prefix} for macro +insertion. The key can be a character (e.g.@: @samp{?o}) for a single +stroke or a string (e.g.@: @samp{"o a"}) for a multi-stroke binding. If it +is nil, the symbol has no associated keystroke (it is available in the +menu, though). Second, a string representing the name of the macro (without a leading backslash.) @@ -4116,7 +4118,7 @@ and if it is relevant for all text modes, append it to Other useful hooks are listed below. -@defvr Variable TeX-after-compilation-finished-hook +@defvr Variable TeX-after-compilation-finished-functions Hook which is run after the @TeX{}/@LaTeX{} processor has successfully finished compiling your document. (@xref{Processing}, for finding out how to compile your document.) Each function in the hook is run with @@ -4127,7 +4129,7 @@ re-compilation especially when using Emacs viewers such as DocView or PDF Tools. The function @code{TeX-revert-document-buffer} can be added to the hook for this purpose. @end defvr -@vindex TeX-after-compilation-finished-hook +@vindex TeX-after-compilation-finished-functions @findex TeX-revert-document-buffer @node Multifile @@ -4161,17 +4163,12 @@ advanced algorithm. (setq-default TeX-master nil) ; @r{Query for master file.} @end lisp -@c FIXME: It doesn't seem that current implementation has this -@c TeX-header-end aware feature. -If @AUCTeX{} finds the line indicating the end of the header in a master -file (@code{TeX-header-end}), it can figure out for itself that this is -a master file. Otherwise, it will ask for the name of the master file +In this case, @AUCTeX{} will ask for the name of the master file associated with the buffer. To avoid asking you again, @AUCTeX{} will automatically insert the name of the master file as a file variable (@pxref{File Variables,,,emacs,The Emacs Editor}). You can also insert the file variable yourself, by putting the following text at the end of your files. -@vindex TeX-header-end @example %%% Local Variables: @@ -5258,8 +5255,9 @@ prompt. @ftable @code @item TeX-arg-conditional -Implements if @var{expr} @var{then} @var{else}. If @var{expr} evaluates to true, parse @var{then} as an -argument list, else parse @var{else} as an argument list. +Implements if @var{expr} @var{then} @var{else}. If @var{expr} evaluates +to true, parse @var{then} as an argument list, else parse @var{else} as an +argument list. @item TeX-arg-literal Insert its arguments into the buffer. Used for specifying extra syntax @@ -5425,12 +5423,18 @@ Insert x and y coordinates as a pair. No arguments. Prompt for document author, using @code{LaTeX-default-author} as initial input. +@item TeX-read-hook +Prompt for a @LaTeX{} hook and return it. + +@item TeX-arg-hook +Prompt for a @LaTeX{} hook and insert it as a @TeX{} macro argument. + @item TeX-read-key-val Prompt for a @samp{key=value} list of options and return them. @item TeX-arg-key-val -Prompt for a @samp{key=value} list of options and insert it as a @TeX{} macro -argument. +Prompt for a @samp{key=value} list of options and insert it as a @TeX{} +macro argument. @end ftable If you add new hooks, you can assume that point is placed directly after @@ -5969,10 +5973,8 @@ The native Texinfo mode provides the binding @kbd{C-c C-t C-i} @kbd{C-c C-t C-p} (@code{texinfo-tex-print}) and @kbd{C-c C-t C-q} (@code{tex-show-print-queue}) for printing and showing the printer queue. These are superseded by the respective commands available -through @kbd{C-c C-c} (@code{TeX-command-master}) in @AUCTeX{}: @samp{Index}, +through @kbd{C-c C-c}
main 46c464b0 197/257: Release GNU AUCTeX 13.0.14
branch: main commit 46c464b0b2ceca762ee5e17c4931ec0f3f593355 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.0.14 * GNU AUCTeX Version 13.0.14 released. --- auctex.el | 2 +- auctex.info| 216 +++-- preview-latex.info | 4 +- tex-site.el| 4 +- 4 files changed, 117 insertions(+), 109 deletions(-) diff --git a/auctex.el b/auctex.el index 4ea11093..4f7f81f2 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2021 Free Software Foundation, Inc. -;; Version: 13.0.13 +;; Version: 13.0.14 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index 8c4828bb..4e611f33 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.8 from auctex.texi. -This manual is for AUCTeX (version 13.0.13 from 2021-08-13), a +This manual is for AUCTeX (version 13.0.14 from 2021-08-26), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2021 Free Software @@ -45,7 +45,7 @@ errors that may slip through anyway. It is a good idea to make a printout of AUCTeX's reference card 'tex-ref.tex' or one of its typeset versions. - If you want to make AUCTeX aware of style files and multi-file + If you want to make AUCTeX aware of style files and multifile documents right away, insert the following in your init file (usually '~/.emacs.d/init.el'). @@ -1142,7 +1142,7 @@ be achieved by putting (setq TeX-auto-save t) (setq TeX-parse-self t) into your init file. Finally, if you often use '\include' or '\input', -you should make AUCTeX aware of the multi-file document structure. You +you should make AUCTeX aware of the multifile document structure. You can do this by inserting (setq-default TeX-master nil) @@ -6016,7 +6016,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.0.13 from 2021-08-13), a + This manual is for AUCTeX (version 13.0.14 from 2021-08-26), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2021 Free Software @@ -6608,6 +6608,14 @@ News in 13.1 LaTeX kernel are known and available for completion in '\AddToHook', '\RemoveFromHook' and '\AddToHookNext'. + * AUCTeX is now able to place all generated output files, including + those that are produced by applications running under AUCTeX, + temporary files related to region processing and preview-latex + files, in an output directory. To use this feature, set the new + user option 'TeX-output-dir' to the absolute path of the output + directory or a relative path which would be interpreted as being + relative to the master file in a multifile document. + News in 12.3 @@ -8005,7 +8013,7 @@ A.4 Frequently Asked Questions relevant programs, as described in *note (auctex)Installation under MS Windows::. - 4. Why doesn't the completion, style file, or multi-file stuff work? + 4. Why doesn't the completion, style file, or multifile stuff work? It must be enabled first, insert this in your init file: @@ -8974,7 +8982,7 @@ Concept Index (line 6) * ASCII pTeX <1>:Japanese.(line 6) * auctex.el: Loading the package. (line 10) -* auctex.el <1>: Changes. (line 752) +* auctex.el <1>: Changes. (line 760) * auto directories.: Automatic. (line 6) * auto-fill-mode:Indenting. (line 29) * Auto-Reveal: Folding. (line 6) @@ -9277,7 +9285,7 @@ Concept Index (line 252) * tex-site.el: Loading the package. (line 10) * tex-site.el <1>: Customizing. (line 6) -* tex-site.el <2>: Changes. (line 752) +* tex-site.el <2>: Changes. (line 760) * tool bar, toolbar: Processing. (line 11) * Trailer: Commands.(line 6) * Underfull boxes: Debugging. (line 6) @@ -9300,103 +9308,103 @@ Concept Index Tag Table: Node: Top918 -Node: Copying7375 -Node: Introduction9320 -Node: Summary9590 -Node: Installation12323 -Node: Prerequisites14296 -Node: Configure16495 -Node: Build/install and uninstall21073 -Node: Loading the package21826 -Node: Advice for package providers23519 -Node: Advice for non-privileged u
main ad4f83be 182/257: Release GNU AUCTeX 13.0.7
branch: main commit ad4f83be679a8af294a084d19b2b3d5fd646ad20 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.0.7 * GNU AUCTeX Version 13.0.7 released. --- auctex.el | 2 +- auctex.info| 154 ++--- preview-latex.info | 4 +- tex-site.el| 6 +-- 4 files changed, 83 insertions(+), 83 deletions(-) diff --git a/auctex.el b/auctex.el index 2e5c1ebc..7912f1a6 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2021 Free Software Foundation, Inc. -;; Version: 13.0.6 +;; Version: 13.0.7 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index 01fff583..c2929126 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 13.0.6 from 2021-04-02), a +This manual is for AUCTeX (version 13.0.7 from 2021-04-17), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -2097,7 +2097,7 @@ variable 'LaTeX-math-abbrev-prefix'. To enable LaTeX Math mode by default, add the following in your '.emacs' file: - (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) + (add-hook 'LaTeX-mode-hook #'LaTeX-math-mode) -- User Option: LaTeX-math-abbrev-prefix A string containing the prefix of 'LaTeX-math-mode' commands; This @@ -2569,7 +2569,7 @@ you write it. and Hooks::. As an example, if you want to enable 'auto-fill-mode' in 'LaTeX-mode', put the following into your init file: - (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) + (add-hook 'LaTeX-mode-hook #'turn-on-auto-fill) You can manually fill explicitely marked regions, paragraphs, environments, complete sections, or the whole buffer. (Note that manual @@ -3221,7 +3221,7 @@ and show macros, environments and comments: font locking is set up for the buffer. The following code should accomplish this: - (add-hook 'find-file-hook 'TeX-fold-buffer t) + (add-hook 'find-file-hook #'TeX-fold-buffer t) The command can be used any time to refresh the whole buffer and fold any new macros and environments which were inserted after the @@ -5869,8 +5869,8 @@ specify this information in a style hook file. "Clear `Tex-auto-multi' before use." (setq TeX-auto-multi nil)) - (add-hook 'TeX-auto-prepare-hook 'TeX-macro-prepare) - (add-hook 'TeX-auto-cleanup-hook 'TeX-macro-cleanup) + (add-hook 'TeX-auto-prepare-hook #'TeX-macro-prepare) + (add-hook 'TeX-auto-cleanup-hook #'TeX-macro-cleanup) (TeX-add-style-hook "macro" @@ -5946,7 +5946,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.0.6 from 2021-04-02), a + This manual is for AUCTeX (version 13.0.7 from 2021-04-17), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -9191,76 +9191,76 @@ Node: Itemize-like82577 Node: Tabular-like83298 Node: Customizing Environments85071 Node: Mathematics85311 -Node: Completion88597 -Node: Marking95619 -Node: Marking (LaTeX)96243 -Node: Marking (Texinfo)97185 -Node: Commenting98795 -Node: Indenting100120 -Node: Filling106156 -Node: Display112028 -Node: Font Locking114523 -Node: Fontification of macros116598 -Node: Fontification of quotes126117 -Node: Fontification of math127612 -Node: Verbatim content131280 -Node: Faces132054 -Node: Known problems132543 -Node: Folding133540 -Node: Outline144364 -Node: Narrowing145636 -Node: Prettifying146706 -Node: Processing147943 -Node: Commands149106 -Node: Starting a Command149662 -Node: Selecting a Command154565 -Node: Processor Options163649 -Node: Viewing173996 -Node: Starting Viewers174370 -Node: I/O Correlation180014 -Node: Debugging185212 -Node: Ignoring warnings187831 -Node: Error overview189891 -Node: Checking191799 -Node: Control193392 -Node: Cleaning195495 -Node: Documentation196788 -Node: Customization197503 -Node: Modes and Hooks197996 -Node: Multifile199816 -Node: Parsing Files204628 -Node: Internationalization209540 -Node: European210853 -Node: Japanese217663 -Node: Automatic222734 -Node: Automatic Global225225 -Node: Automatic Private226357 -Node: Automatic Local227670 -Node: Style Files228702 -Node: Simple Style229495 -Node: Adding Macros233148 -Node: Adding Environments242483 -Node: Adding Other247144 -Node: Hacking the Parser247731 -Node: Appendices251600 -Node: Copying this Manual251896 -Node: GNU Free Documentation License252779 -Node: Changes277900 -Node: Development327989 -Node: Mid-term Goals328635 -Node: Wishlist330492 -Node: Bugs335933 -Node: FAQ337036 -Node: Texinfo mode342165 -Node: Exp
main 6b6d0dad 210/257: Regenerate
branch: main commit 6b6d0dad4083f2bd28e906cd4ad657203c2ab4d4 Author: Tassilo Horn Commit: Tassilo Horn Regenerate --- auctex.info| 388 + preview-latex.info | 78 +-- tex-site.el| 56 ++-- 3 files changed, 290 insertions(+), 232 deletions(-) diff --git a/auctex.info b/auctex.info index 261469be..7dc543a8 100644 --- a/auctex.info +++ b/auctex.info @@ -1,9 +1,9 @@ This is auctex.info, produced by makeinfo version 6.8 from auctex.texi. -This manual is for AUCTeX (version 13.1.1 from 2022-02-22), a +This manual is for AUCTeX (version 13.1.1.2022-04-08 from 2022-04-08), a sophisticated TeX environment for Emacs. - Copyright (C) 1992-1995, 2001, 2002, 2004-2021 Free Software + Copyright (C) 1992-1995, 2001, 2002, 2004-2022 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this @@ -2442,8 +2442,8 @@ more environments are nested, they are indented 'accumulated' just like most programming languages usually are seen indented in nested constructs. - You can explicitely indent single lines, usually by pressing , -or marked regions by calling 'indent-region' on it. If you have + You can explicitly indent single lines, usually by pressing , or +marked regions by calling 'indent-region' on it. If you have 'auto-fill-mode' enabled and a line is broken while you type it, Emacs automatically cares about the indentation in the following line. If you want to have a similar behavior upon typing , you can customize the @@ -2474,6 +2474,11 @@ functionality.) The check for the indentation function may be enabled or disabled by customizing the variable 'LaTeX-indent-environment-check'. + For tabular-like environments, AUCTeX has a built-in function to +indent according to preceding '&' signs and assigns it to all known +tabular-like environments in the default value of +'LaTeX-indent-environment-list'. + As a side note with regard to formatting special environments: Newer Emacsen include 'align.el' and therefore provide some support for formatting 'tabular' and 'tabbing' environments with the function @@ -2507,12 +2512,6 @@ to indenting with a small summary in each case: in each entry is the function to calculate the indentation level in columns. - The filling code currently cannot handle tabular-like environments - which will be completely messed-up if you try to format them. This - is why most of these environments are included in this - customization option without a special indentation function. This - will prevent that they get filled. - -- User Option: LaTeX-indent-level Number of spaces to add to the indentation for each '\begin' not matched by a '\end'. @@ -2546,6 +2545,48 @@ and indents it accordingly. If you do not like such behavior you only need to remove '\|\[' and '\|\]' from 'LaTeX-begin-regexp' and 'LaTeX-end-regexp' variables respectively. + A closely related topic is indenting of text enclosed in square +brackets, parentheses and other pairs. AUCTeX offers two variables +which control if indentation happens inside these pairs. + + -- User Option: TeX-indent-open-delimiters + This variable contains additional opening delimiters which increase + indentation. For example add '[' to this variable to get text + after a square bracket indented. + + -- User Option: TeX-indent-close-delimiters + This is the accompanying variable to 'TeX-indent-open-delimiters' + decreasing the indentation again. This variable should contain ']' + if 'TeX-indent-open-delimiters' is set like described above. + +Note that this is an opt-in feature, both variables are initially set to +an empty string. That is because it introduces non-trivial side effects +to include '[' and ']' in 'TeX-indent-open-delimiters' and +'TeX-indent-close-delimiters'; if you only have an opening square +bracket in your text without closing it, wrong indentation persists in +the following text. For example, in math expression, half-open +intervals are frequently written as '[0,10)' or '[0,10['. In such +cases, you can put the closing part as a comment in the same line in +order to have correct indentation after that: + $[0,10)$ % ] + $[0,10[$ % ]] + + Another example is '\left'-'\right' pair in equations. Similar +workarounds are available: + \begin{equation} + \left[ % ] + xyz + \right] % [ + abc + \end{equation} + + You can include parens '()' also in 'TeX-indent-open-delimiters' and +'TeX-indent-close-delimiters' to enable indent inside them. Be prepared +for similar side effects when you do. + + Note that commented curly braces '{' and '}' aren't counted when +AUCTeX computes indentation. + File: auctex.info, Node: Filling, Prev: Indenting, Up: Editing @@ -2565,7 +2606,7 @@ and Hooks::. As an example, if you want to enable 'auto-fill-
main f6e949e8 186/257: Release GNU AUCTeX 13.0.9
branch: main commit f6e949e8ff5c53f192cac4228292213b3fc6df9a Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.0.9 * GNU AUCTeX Version 13.0.9 released. --- auctex.el | 2 +- auctex.info| 4 ++-- preview-latex.info | 4 ++-- tex-site.el| 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/auctex.el b/auctex.el index 32d9f871..9fa4cc90 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2021 Free Software Foundation, Inc. -;; Version: 13.0.8 +;; Version: 13.0.9 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index 29b3d005..75585272 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 13.0.8 from 2021-04-18), a +This manual is for AUCTeX (version 13.0.9 from 2021-04-25), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -5946,7 +5946,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.0.8 from 2021-04-18), a + This manual is for AUCTeX (version 13.0.9 from 2021-04-25), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software diff --git a/preview-latex.info b/preview-latex.info index d85b3838..bb86448a 100644 --- a/preview-latex.info +++ b/preview-latex.info @@ -2,7 +2,7 @@ This is preview-latex.info, produced by makeinfo version 6.7 from preview-latex.texi. This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 13.0.8 from 2021-04-18). +(version 13.0.9 from 2021-04-25). Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. @@ -1911,7 +1911,7 @@ Appendix C Copying this Manual The copyright notice for this manual is: This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 13.0.8 from 2021-04-18). +(version 13.0.9 from 2021-04-25). Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. diff --git a/tex-site.el b/tex-site.el index d51ecfab..79aa3eb8 100644 --- a/tex-site.el +++ b/tex-site.el @@ -157,11 +157,11 @@ set it with `TeX-modes-set'." `(TeX-modes-set ',var ,var t)) (setq list (cdr list)) ) -(defconst AUCTeX-version "13.0.8" +(defconst AUCTeX-version "13.0.9" "AUCTeX version. If not a regular release, the date of the last change.") -(defconst AUCTeX-date "2021-04-18" +(defconst AUCTeX-date "2021-04-25" "AUCTeX release date using the ISO 8601 format, -mm-dd.") ;; Store bibitems when saving a BibTeX buffer
main 83403e9f 180/257: Release GNU AUCTeX 13.0.6
branch: main commit 83403e9f98924a07f0d4f27032ea024a28dfc86f Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 13.0.6 * GNU AUCTeX Version 13.0.6 released. --- auctex.el | 2 +- auctex.info| 212 +++-- preview-latex.info | 80 ++-- tex-site.el| 4 +- 4 files changed, 151 insertions(+), 147 deletions(-) diff --git a/auctex.el b/auctex.el index 13cc562a..2e5c1ebc 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2021 Free Software Foundation, Inc. -;; Version: 13.0.5 +;; Version: 13.0.6 ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index 9c72d0be..01fff583 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 13.0.5.2021-03-25 from 2021-03-25), a +This manual is for AUCTeX (version 13.0.6 from 2021-04-02), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -5946,8 +5946,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 13.0.5.2021-03-25 from -2021-03-25), a sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 13.0.6 from 2021-04-02), a +sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software Foundation, Inc. @@ -6456,13 +6456,17 @@ A.2 Changes and New Features News in 13.0 + * Two functions 'TeX-split-string' and 'TeX-assoc' are now obsolete + and will be removed in future release. If your personal code uses + these functions, use 'split-string' and 'assoc-string' instead. + * Since AUCTeX 12.2, 'C-x C-w' accidentally disabled the parse on save in that buffer, even when you enabled 'TeX-auto-save' option. This bug was fixed. * AUCTeX now requires GNU Emacs 24.3 or higher. - * Old implementations for viewers were discarded, as stated long + * Old implementations for viewers were discarded, as announced long before. The variables 'TeX-output-view-style' and 'TeX-view-style' have no effect now. The former placeholders '%v' and '%vv' in 'TeX-command-list' are ignored. @@ -8834,7 +8838,7 @@ Concept Index (line 6) * ASCII pTeX <1>:Japanese.(line 6) * auctex.el: Loading the package. (line 10) -* auctex.el <1>: Changes. (line 734) +* auctex.el <1>: Changes. (line 738) * auto directories.: Automatic. (line 6) * Auto-Reveal: Folding. (line 6) * Automatic: Automatic. (line 6) @@ -9138,7 +9142,7 @@ Concept Index (line 257) * tex-site.el: Loading the package. (line 10) * tex-site.el <1>: Customizing. (line 6) -* tex-site.el <2>: Changes. (line 734) +* tex-site.el <2>: Changes. (line 738) * tool bar, toolbar: Processing. (line 11) * Trailer: Commands.(line 6) * Underfull boxes: Debugging. (line 6) @@ -9159,104 +9163,104 @@ Concept Index Tag Table: -Node: Top928 -Node: Copying7342 -Node: Introduction9287 -Node: Summary9557 -Node: Installation12290 -Node: Prerequisites14261 -Node: Configure16503 -Node: Build/install and uninstall21129 -Node: Loading the package21882 -Node: Advice for package providers23558 -Node: Advice for non-privileged users26363 -Node: Installation under MS Windows31711 -Node: Customizing45449 -Node: Quick Start47032 -Ref: Quick Start-Footnote-149162 -Node: Editing Facilities49256 -Node: Processing Facilities54061 -Node: Editing58762 -Node: Quotes60092 -Node: Font Specifiers68345 -Node: Sectioning70412 -Node: Environments74838 -Node: Equations79992 -Node: Floats80584 -Node: Itemize-like82588 -Node: Tabular-like83309 -Node: Customizing Environments85082 -Node: Mathematics85322 -Node: Completion88608 -Node: Marking95630 -Node: Marking (LaTeX)96254 -Node: Marking (Texinfo)97196 -Node: Commenting98806 -Node: Indenting100131 -Node: Filling106167 -Node: Display112039 -Node: Font Locking114534 -Node: Fontification of macros116609 -Node: Fontification of quotes126128 -Node: Fontification of math127623 -Node: Verbatim content131291 -Node: Faces13206
main 4b8d775f 143/257: Regenerate docs.
branch: main commit 4b8d775fc85be50085b7b5abf8929d04d79d30d8 Author: Tassilo Horn Commit: Tassilo Horn Regenerate docs. --- auctex.info| 202 ++--- preview-latex.info | 78 ++--- tex-site.el| 4 +- 3 files changed, 142 insertions(+), 142 deletions(-) diff --git a/auctex.info b/auctex.info index 5efac2c3..fdb050c1 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 12.2.2 from 2020-05-24), a +This manual is for AUCTeX (version 12.2.2.2020-05-29 from 2020-05-29), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2019 Free Software @@ -5886,8 +5886,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 12.2.2 from 2020-05-24), a -sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 12.2.2.2020-05-29 from +2020-05-29), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2019 Free Software Foundation, Inc. @@ -8988,104 +8988,104 @@ Concept Index Tag Table: -Node: Top917 -Node: Copying7270 -Node: Introduction9215 -Node: Summary9485 -Node: Installation12218 -Node: Prerequisites13984 -Node: Configure16224 -Node: Build/install and uninstall20850 -Node: Loading the package21603 -Node: Advice for package providers23279 -Node: Advice for non-privileged users26084 -Node: Installation under MS Windows30049 -Node: Customizing43787 -Node: Quick Start45370 -Ref: Quick Start-Footnote-147500 -Node: Editing Facilities47594 -Node: Processing Facilities52397 -Node: Editing57098 -Node: Quotes58428 -Node: Font Specifiers66681 -Node: Sectioning68748 -Node: Environments73068 -Node: Equations78222 -Node: Floats78813 -Node: Itemize-like80817 -Node: Tabular-like81538 -Node: Customizing Environments83311 -Node: Mathematics83551 -Node: Completion86837 -Node: Marking93859 -Node: Marking (LaTeX)94483 -Node: Marking (Texinfo)95425 -Node: Commenting97035 -Node: Indenting98360 -Node: Filling104396 -Node: Display110268 -Node: Font Locking112763 -Node: Fontification of macros114838 -Node: Fontification of quotes124357 -Node: Fontification of math125852 -Node: Verbatim content129082 -Node: Faces129856 -Node: Known problems130345 -Node: Folding131274 -Node: Outline142098 -Node: Narrowing143370 -Node: Prettifying10 -Node: Processing145677 -Node: Commands146840 -Node: Starting a Command147396 -Node: Selecting a Command152299 -Node: Processor Options161383 -Node: Viewing171730 -Node: Starting Viewers172104 -Node: I/O Correlation179231 -Node: Debugging184429 -Node: Ignoring warnings187048 -Node: Error overview189108 -Node: Checking191019 -Node: Control192612 -Node: Cleaning193339 -Node: Documentation194632 -Node: Customization195347 -Node: Modes and Hooks195840 -Node: Multifile197660 -Node: Parsing Files202472 -Node: Internationalization207384 -Node: European208697 -Node: Japanese215507 -Node: Automatic220578 -Node: Automatic Global223069 -Node: Automatic Private224201 -Node: Automatic Local225514 -Node: Style Files226546 -Node: Simple Style227339 -Node: Adding Macros230998 -Node: Adding Environments240329 -Node: Adding Other244990 -Node: Hacking the Parser245577 -Node: Appendices249446 -Node: Copying this Manual249742 -Node: GNU Free Documentation License250625 -Node: Changes275746 -Node: Development321060 -Node: Mid-term Goals321706 -Node: Wishlist322923 -Node: Bugs328364 -Node: FAQ329467 -Node: Texinfo mode334594 -Node: Exploiting335730 -Node: Superseding336550 -Node: Mapping340754 -Node: Unbinding342583 -Node: Indices343404 -Node: Key Index343567 -Node: Function Index350183 -Node: Variable Index361066 -Node: Concept Index384070 +Node: Top928 +Node: Copying7281 +Node: Introduction9226 +Node: Summary9496 +Node: Installation12229 +Node: Prerequisites13995 +Node: Configure16235 +Node: Build/install and uninstall20861 +Node: Loading the package21614 +Node: Advice for package providers23290 +Node: Advice for non-privileged users26095 +Node: Installation under MS Windows30060 +Node: Customizing43798 +Node: Quick Start45381 +Ref: Quick Start-Footnote-147511 +Node: Editing Facilities47605 +Node: Processing Facilities52408 +Node: Editing57109 +Node: Quotes58439 +Node: Font Specifiers66692 +Node: Sectioning68759 +Node: Environments73079 +Node: Equations78233 +Node: Floats78824 +Node: Itemize-like80828 +Node: Tabular-like81549 +Node: Customizing Environments83322 +Node: Mathematics83562 +Node: Completion86848 +Node: Marking93870 +Node: Marking (LaTeX)94494 +Node: Marking (Texinfo)95436 +Node: Commenting97046 +Node: Indenting98371 +Node: Filling104407 +Node: Display110279 +Node: Font Locking112774 +Node: Fontification of macros114849 +Node
main a18be78c 156/257: Release GNU AUCTeX 12.3.1
branch: main commit a18be78c966888675778655616e2d8f11055d803 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 12.3.1 * GNU AUCTeX Version 12.3.1 released. --- auctex.el | 2 +- auctex.info| 202 ++--- preview-latex.info | 78 ++--- tex-site.el| 2 +- 4 files changed, 142 insertions(+), 142 deletions(-) diff --git a/auctex.el b/auctex.el index 639167ca..51396b32 100644 --- a/auctex.el +++ b/auctex.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2014-2019 Free Software Foundation, Inc. -;; Version: 12.2.5 +;; Version: 12.3.1 ;; URL: http://www.gnu.org/software/auctex/ ;; Maintainer: auctex-devel@gnu.org ;; Notifications-To: auctex-di...@gnu.org diff --git a/auctex.info b/auctex.info index e931f112..ae147d37 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 6.7 from auctex.texi. -This manual is for AUCTeX (version 12.2.5.2020-10-22 from 2020-10-22), a +This manual is for AUCTeX (version 12.3.1 from 2020-10-22), a sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software @@ -5896,8 +5896,8 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 12.2.5.2020-10-22 from -2020-10-22), a sophisticated TeX environment for Emacs. + This manual is for AUCTeX (version 12.3.1 from 2020-10-22), a +sophisticated TeX environment for Emacs. Copyright (C) 1992-1995, 2001, 2002, 2004-2020 Free Software Foundation, Inc. @@ -9048,104 +9048,104 @@ Concept Index Tag Table: -Node: Top928 -Node: Copying7342 -Node: Introduction9287 -Node: Summary9557 -Node: Installation12290 -Node: Prerequisites14056 -Node: Configure16296 -Node: Build/install and uninstall20922 -Node: Loading the package21675 -Node: Advice for package providers23351 -Node: Advice for non-privileged users26156 -Node: Installation under MS Windows30121 -Node: Customizing43859 -Node: Quick Start45442 -Ref: Quick Start-Footnote-147572 -Node: Editing Facilities47666 -Node: Processing Facilities52469 -Node: Editing57170 -Node: Quotes58500 -Node: Font Specifiers66753 -Node: Sectioning68820 -Node: Environments73140 -Node: Equations78294 -Node: Floats78885 -Node: Itemize-like80889 -Node: Tabular-like81610 -Node: Customizing Environments83383 -Node: Mathematics83623 -Node: Completion86909 -Node: Marking93931 -Node: Marking (LaTeX)94555 -Node: Marking (Texinfo)95497 -Node: Commenting97107 -Node: Indenting98432 -Node: Filling104468 -Node: Display110340 -Node: Font Locking112835 -Node: Fontification of macros114910 -Node: Fontification of quotes124429 -Node: Fontification of math125924 -Node: Verbatim content129592 -Node: Faces130366 -Node: Known problems130855 -Node: Folding131852 -Node: Outline142676 -Node: Narrowing143948 -Node: Prettifying145018 -Node: Processing146255 -Node: Commands147418 -Node: Starting a Command147974 -Node: Selecting a Command152877 -Node: Processor Options161961 -Node: Viewing172308 -Node: Starting Viewers172682 -Node: I/O Correlation179809 -Node: Debugging185007 -Node: Ignoring warnings187626 -Node: Error overview189686 -Node: Checking191597 -Node: Control193190 -Node: Cleaning193917 -Node: Documentation195210 -Node: Customization195925 -Node: Modes and Hooks196418 -Node: Multifile198238 -Node: Parsing Files203050 -Node: Internationalization207962 -Node: European209275 -Node: Japanese216085 -Node: Automatic221156 -Node: Automatic Global223647 -Node: Automatic Private224779 -Node: Automatic Local226092 -Node: Style Files227124 -Node: Simple Style227917 -Node: Adding Macros231576 -Node: Adding Environments240907 -Node: Adding Other245568 -Node: Hacking the Parser246155 -Node: Appendices250024 -Node: Copying this Manual250320 -Node: GNU Free Documentation License251214 -Node: Changes276335 -Node: Development323301 -Node: Mid-term Goals323947 -Node: Wishlist325804 -Node: Bugs331245 -Node: FAQ332348 -Node: Texinfo mode337475 -Node: Exploiting338611 -Node: Superseding339431 -Node: Mapping343635 -Node: Unbinding345464 -Node: Indices346285 -Node: Key Index346448 -Node: Function Index353064 -Node: Variable Index363947 -Node: Concept Index387225 +Node: Top917 +Node: Copying7331 +Node: Introduction9276 +Node: Summary9546 +Node: Installation12279 +Node: Prerequisites14045 +Node: Configure16285 +Node: Build/install and uninstall20911 +Node: Loading the package21664 +Node: Advice for package providers23340 +Node: Advice for non-privileged users26145 +Node: Installation under MS Windows30110 +Node: Customizing43848 +Node: Quick Start45431 +Ref: Quick Start-Footnote-147561 +Node: Editing Facilities47655 +Node: Processing Facilities52458 +Node: Editing57159 +Node: Quotes58489 +Node: Font Specifiers66742 +Node: Sectioning68809 +Node: Environments73129
main a8d989d6 246/257: Release GNU AUCTeX 14.0.1
branch: main commit a8d989d699645f93dc48a75c21df7218c343a4f8 Author: Tassilo Horn Commit: Tassilo Horn Release GNU AUCTeX 14.0.1 * GNU AUCTeX Version 14.0.1 released. --- auctex.info| 4 ++-- preview-latex.info | 4 ++-- tex-site.el| 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/auctex.info b/auctex.info index 6b3fccea..b8ac23fa 100644 --- a/auctex.info +++ b/auctex.info @@ -1,6 +1,6 @@ This is auctex.info, produced by makeinfo version 7.1 from auctex.texi. -This manual is for AUCTeX (version 14.0.0 from 2024-02-08), a +This manual is for AUCTeX (version 14.0.1 from 2024-02-09), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software @@ -6247,7 +6247,7 @@ A.1 Copying this Manual The copyright notice for this manual is: - This manual is for AUCTeX (version 14.0.0 from 2024-02-08), a + This manual is for AUCTeX (version 14.0.1 from 2024-02-09), a sophisticated TeX environment for Emacs. Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software diff --git a/preview-latex.info b/preview-latex.info index 818b1cbf..7d8e5285 100644 --- a/preview-latex.info +++ b/preview-latex.info @@ -2,7 +2,7 @@ This is preview-latex.info, produced by makeinfo version 7.1 from preview-latex.texi. This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 14.0.0 from 2024-02-08). +(version 14.0.1 from 2024-02-09). Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. @@ -1922,7 +1922,7 @@ Appendix C Copying this Manual The copyright notice for this manual is: This manual is for preview-latex, a LaTeX preview mode for AUCTeX -(version 14.0.0 from 2024-02-08). +(version 14.0.1 from 2024-02-09). Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2017-2019, 2021 Free Software Foundation, Inc. diff --git a/tex-site.el b/tex-site.el index 19978369..fc31ddf0 100644 --- a/tex-site.el +++ b/tex-site.el @@ -172,11 +172,11 @@ Otherwise, restore AUCTeX definition saved in the symbol property (if (featurep 'tex-site) (TeX--alias-overlapped-modes t))) -(defconst AUCTeX-version "14.0.0" +(defconst AUCTeX-version "14.0.1" "AUCTeX version. If not a regular release, the date of the last change.") -(defconst AUCTeX-date "2024-02-08" +(defconst AUCTeX-date "2024-02-09" "AUCTeX release date using the ISO 8601 format, -mm-dd.") ;; Store bibitems when saving a BibTeX buffer