[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex a28f1d4ccb 27/30: Add completion support for \De
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex a28f1d4ccb 27/30: Add completion support for \DeclareGraphicsExtensions |
Date: |
Thu, 7 Dec 2023 03:51:10 -0500 (EST) |
branch: externals/auctex
commit a28f1d4ccb3bb53e4aad639208fd5e2014977040
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Add completion support for \DeclareGraphicsExtensions
* style/graphicx.el (LaTeX-includegraphics-pdftex-extensions)
(LaTeX-includegraphics-xetex-extensions): Replace regexp style
extensions with real ones.
("graphicx"): Add completion support for
\DeclareGraphicsExtensions macro.
---
style/graphicx.el | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/style/graphicx.el b/style/graphicx.el
index bc0dd8fcca..d88b720d4d 100644
--- a/style/graphicx.el
+++ b/style/graphicx.el
@@ -1,6 +1,6 @@
;;; graphicx.el --- AUCTeX style file for graphicx.sty -*- lexical-binding:
t; -*-
-;; Copyright (C) 2000, 2004, 2005, 2014--2022 by Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2004, 2005, 2014--2023 by Free Software Foundation, Inc.
;; Author: Ryuichi Arafune <arafune@debian.org>
;; Created: 1999/3/20
@@ -90,13 +90,13 @@ key=vals."
"List of extensions for image files supported by \"dvips\".")
(defvar LaTeX-includegraphics-pdftex-extensions
- '("png" "pdf" "jpe?g" "jbig2" "jb2" "mps"
- "PNG" "PDF" "JPE?G" "JBIG2" "JB2")
+ '("png" "pdf" "jpg" "jpeg" "jbig2" "jb2" "mps"
+ "PNG" "PDF" "JPG" "JPEG" "JBIG2" "JB2")
"List of extensions for image files supported by \"pdftex\" and \"luatex\".")
(defvar LaTeX-includegraphics-xetex-extensions
- '("pdf" "eps" "mps" "ps" "png" "jpe?g" "jp2" "jpf"
- "PDF" "EPS" "MPS" "PS" "PNG" "JPE?G" "JP2" "JPF"
+ '("pdf" "eps" "mps" "ps" "png" "jpg" "jpeg" "jp2" "jpf"
+ "PDF" "EPS" "MPS" "PS" "PNG" "JPG" "JPEG" "JP2" "JPF"
"bmp" "pict" "psd" "mac" "tga" "gif" "tif" "tiff"
"BMP" "PICT" "PSD" "MAC" "TGA" "GIF" "TIF" "TIFF")
"List of extensions for image files supported by \"xetex\".")
@@ -275,7 +275,13 @@ subdirectories and inserts the relative file name. See
'("graphicspath" t)
- '("DeclareGraphicsExtensions" t)
+ '("DeclareGraphicsExtensions"
+ (TeX-arg-completing-read-multiple
+ (lambda ()
+ (delete ".jpe?g" (mapcar (lambda (ext)
+ (concat "." ext))
+ (LaTeX-includegraphics-extensions-list))))
+ "Extension(s)" nil nil nil nil nil nil nil nil "."))
'("DeclareGraphicsRule" 4))
- [elpa] externals/auctex 8282b83210 04/30: ; Mention bumping Emacs version for ELPA, (continued)
- [elpa] externals/auctex 8282b83210 04/30: ; Mention bumping Emacs version for ELPA, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 5d0f020b81 28/30: Add support for the refcount package, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 217b46b2cf 03/30: Allow `preview-scale-function' as a file-local variable, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex ecc0059120 05/30: ; * admin/release-process.org: Fix typos, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex a5599695b0 15/30: Save regexp groups, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 26d64689d3 22/30: * style/titleps.el ("titleps"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 24023ba246 30/30: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 38a883d37c 17/30: Save regexp groups in style/minted.el, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex def388b90a 20/30: * style/pythontex.el ("pythontex"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex f22ced023d 24/30: * style/fvextra.el ("fvextra"): Track LaTeX package version 1.6., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex a28f1d4ccb 27/30: Add completion support for \DeclareGraphicsExtensions,
Tassilo Horn <=
- [elpa] externals/auctex 88467618ad 11/30: ; * style/minted.el (LaTeX-fontenc-package-options): Pacify warning., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex dfd0380d0f 07/30: Update style/newfloat.el to package version 1.2, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex d231ecdfcc 16/30: ; * font-latex.el (font-latex-built-in-keyword-classes): Add "par"., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex efdc86af7c 23/30: * style/titletoc.el ("titletoc"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex d7da2ed8c2 26/30: ; * style/fvextra.el (LaTeX-fvextra-key-val-options): Add new keys., Tassilo Horn, 2023/12/07