[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 41610c721c90b9e466e66

From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 41610c721c90b9e466e660b98de968519e78a9b4
Date: Thu, 22 Jul 2021 06:26:50 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  41610c721c90b9e466e660b98de968519e78a9b4 (commit)
       via  f16fc130a8cfb21b9710ebc8cdadb4dbc05353c2 (commit)
      from  01529388942f0ae37abe0908c1c048ae8a32b220 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 41610c721c90b9e466e660b98de968519e78a9b4
Author: Ikumi Keita <>
Date:   Wed Jul 7 18:59:48 2021 +0900

    Add index files as clean target in Texinfo mode
    * tex-info.el (Texinfo-clean-intermediate-suffixes): Add index file

diff --git a/tex-info.el b/tex-info.el
index 4a7aed0..ef1e439 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -867,7 +867,8 @@ value of `Texinfo-mode-hook'."
   (run-mode-hooks 'text-mode-hook 'Texinfo-mode-hook)
-(defcustom Texinfo-clean-intermediate-suffixes nil
+(defcustom Texinfo-clean-intermediate-suffixes
+  '("\\.cps?" "\\.vrs?" "\\.fns?" "\\.tps?" "\\.pgs?" "\\.kys?")
   "List of regexps matching suffixes of files to be deleted.
 The regexps will be anchored at the end of the file name to be matched,
 i.e. you do _not_ have to cater for this yourself by adding \\\\' or $."

commit f16fc130a8cfb21b9710ebc8cdadb4dbc05353c2
Author: Ikumi Keita <>
Date:   Wed Jul 7 18:06:02 2021 +0900

    Add entries for Texinfo mode in `TeX-command-list'
    * tex.el (TeX-command-list): Add "Texindex" and "Texi2dvi" entries in
    * doc/auctex.texi (Superseding): Mention "Texindex" instead of "Index".

diff --git a/doc/auctex.texi b/doc/auctex.texi
index 7459ab6..c5d36ff 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -5973,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} (@code{TeX-command-master}) in @AUCTeX{}: 
 @samp{Print}, and @samp{Queue}.
-@c FIXME: "Index" runs makeindex, not texindex.  No entry in
-@c TeX-command-list runs texindex.
 @item Kill jobs
 The command @kbd{C-c C-t C-k} (@code{tex-kill-job}) in the native mode
diff --git a/tex.el b/tex.el
index 2c5da74..df467de 100644
--- a/tex.el
+++ b/tex.el
@@ -202,6 +202,17 @@ If nil, none is specified."
     ("Biber" "biber %(output-dir) %s" TeX-run-Biber nil
      (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
      :help "Run Biber")
+    ;; Not part of standard TeX.
+    ;; It seems that texindex doesn't support "--output-dir" option.
+    ("Texindex" "texindex %s.??" TeX-run-command nil
+     (texinfo-mode) :help "Run Texindex")
+    ;; TODO:
+    ;; 1. Supply "--dvipdf" option if `TeX-PDF-mode' and
+    ;;    `TeX-PDF-from-DVI' are non-nil.
+    ;; 2. Supply "--build-dir=DIR" option when `TeX-output-dir' is
+    ;;    non-nil.
+    ("Texi2dvi" "%(PDF)texi2dvi %t" TeX-run-command nil
+     (texinfo-mode) :help "Run Texi2dvi or Texi2pdf")
     ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")
     ("Print" "%p" TeX-run-command t t :help "Print the file")
     ("Queue" "%q" TeX-run-background nil t :help "View the printer queue"


Summary of changes:
 doc/auctex.texi |  4 +---
 tex-info.el     |  3 ++-
 tex.el          | 11 +++++++++++
 3 files changed, 14 insertions(+), 4 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]