Hi, graphics includes two commands which weren't supported in graphicx.el
I've added support for them, and have included a patch for it. I don't think it's necessary to fontify them. The documentation for the arguments can be found in epslatex.pdf (can be located on CTAN). The ChangeLog entry: 2013-10-30 Mads Jensen <[email protected]> * style/graphicx.el ("graphicx"): Add completion for `DeclareGraphicsRule' and `DeclareGraphicsExtensions'. * style/graphicx.el: Updated copyright year range. -- Med Venlig Hilsen / Kind Regards, Mads Jensen If I find in myself desires which nothing in this world can satisfy, the only logical explanation is that I was made for another world. -- C.S. Lewis
diff --git a/style/graphicx.el b/style/graphicx.el index a35d151..3330cba 100644 --- a/style/graphicx.el +++ b/style/graphicx.el @@ -1,6 +1,6 @@ ;;; graphicx.el --- AUCTeX style file for graphicx.sty -;; Copyright (C) 2000, 2004, 2005 by Free Software Foundation, Inc. +;; Copyright (C) 2000, 2004, 2005, 2013 by Free Software Foundation, Inc. ;; Author: Ryuichi Arafune <[email protected]> ;; Created: 1999/3/20 @@ -41,7 +41,12 @@ '("resizebox*" "Width" "Total height" "Argument") '("rotatebox" [ "Options" ] "Angle" "Argument") '("scalebox" "Horizontal scale" [ "Vertical scale" ] "Argument") - '("includegraphics" LaTeX-arg-includegraphics)) + '("includegraphics" LaTeX-arg-includegraphics) + ;; defined in graphics.sty + '("DeclareGraphicsExtensions" "Graphic file extensions") + '("DeclareGraphicsRule" "Extension" "Graphics type" + "File extension which contains BoundingBox information" 1)) + ;; Fontification (when (and (featurep 'font-latex) (eq TeX-install-font-lock 'font-latex-setup))
signature.asc
Description: OpenPGP digital signature
_______________________________________________ auctex-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex-devel
