branch: externals/auctex commit 15960e465b6b02541c11fda7587544a383ced4ed Author: Mosè Giordano <m...@gnu.org> Commit: Mosè Giordano <m...@gnu.org>
Add makeglossaries to the list of commands * tex.el (TeX-command-list): Add makeglossaries. Fixes bug#24952. * latex.el (LaTeX-clean-intermediate-suffixes): Add extensions of files created by makeglossaries. --- latex.el | 4 +++- tex.el | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/latex.el b/latex.el index 6960749..5449c70 100644 --- a/latex.el +++ b/latex.el @@ -5952,7 +5952,9 @@ i.e. you do _not_ have to cater for this yourself by adding \\\\' or $." "Default start of trailer marker for LaTeX documents.") (defcustom LaTeX-clean-intermediate-suffixes - TeX-clean-default-intermediate-suffixes + (append TeX-clean-default-intermediate-suffixes + ;; These are extensions of files created by makeglossaries. + '("\\.acn" "\\.acr" "\\.alg" "\\.glg" "\\.ist")) "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 $." diff --git a/tex.el b/tex.el index 02946b9..8f6284d 100644 --- a/tex.el +++ b/tex.el @@ -155,6 +155,8 @@ If nil, none is specified." :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help "Convert PostScript file to PDF") + ("Glossaries" "makeglossaries %s" TeX-run-command nil + t :help "Run makeglossaries to create glossary file") ("Index" "makeindex %s" TeX-run-index nil t :help "Run makeindex to create index file") ("Xindy" "texindy %s" TeX-run-command nil t