;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\300\303!\207" [require crm tex latex] 2) #@40 Key=value options for graphicx macros. (defvar LaTeX-graphicx-key-val-options '(("bb") ("bbllx") ("bblly") ("bburx") ("bbury") ("natheight") ("natwidth") ("viewport") ("trim") ("hiresbb" ("true" "false")) ("angle") ("origin") ("width" ("\\textwidth" "\\columnwidth" "\\linewidth")) ("height" ("\\textheight")) ("totalheight" ("\\textheight")) ("keepaspectratio" ("true" "false")) ("scale") ("clip" ("true" "false")) ("draft" ("true" "false")) ("quiet") ("interpolate" ("true" "false"))) (#$ . 167)) #@58 List of extensions for image files supported by "dvips". (defvar LaTeX-includegraphics-dvips-extensions '("eps" "mps" "EPS") (#$ . 672)) #@72 List of extensions for image files supported by "pdftex" and "luatex". (defvar LaTeX-includegraphics-pdftex-extensions '("png" "pdf" "jpe?g" "jbig2" "jb2" "mps" "PNG" "PDF" "JPE?G" "JBIG2" "JB2") (#$ . 815)) #@58 List of extensions for image files supported by "xetex". (defvar LaTeX-includegraphics-xetex-extensions '("pdf" "eps" "mps" "ps" "png" "jpe?g" "jp2" "jpf" "PDF" "EPS" "MPS" "PS" "PNG" "JPE?G" "JP2" "JPF" "bmp" "pict" "psd" "mac" "tga" "gif" "tif" "tiff" "BMP" "PICT" "PSD" "MAC" "TGA" "GIF" "TIF" "TIFF") (#$ . 1029)) #@470 Insert key-val for optional argument of \includegraphics macro. If OPTIONAL is non-nil, insert argument in square brackets. Temporarily remove "space" from `crm-local-completion-map' and `minibuffer-local-completion-map' in order to be able to insert spaces conveniently. If `TeX-engine' is set to symbol 'default (while `TeX-PDF-from-DVI' is set to nil) or 'luatex and `TeX-PDF-mode' is non-nil, add the keys "page" and "pagebox" to list of key-val's. (fn OPTIONAL) (defalias 'LaTeX-arg-graphicx-includegraphics-key-val #[257 "\305\306\236\"\305\306 \236 \"\307\310\n\311=\203\312 \203)\n\313=\204)\312 \314\230\2034 \2034\315\316\f\"\2025\f\"\"*\207" [crm-local-completion-map minibuffer-local-completion-map TeX-engine TeX-PDF-mode LaTeX-graphicx-key-val-options remove 32 TeX-argument-insert TeX-read-key-val default TeX-PDF-from-DVI luatex "Dvipdfmx" append (("page") ("pagebox" ("mediabox" "cropbox" "bleedbox" "trimbox" "artbox")))] 7 (#$ . 1354)]) #@103 Return appropriate extensions for input files to \includegraphics. Return value is a list of regexps. (defalias 'LaTeX-includegraphics-extensions-list #[0 "\306! \307\267\202t\n\203\310 ?\202 \203\311\312\f\"!\207\n\203)\310 \313\230\204>\314\211\203=\211@\315\"\262A\266\202\202*\210\311\312 \"!\207\n\203P\311\312\f\"!\207\316\211\203d\211@\315\"\262A\266\202\202Q\210\311\312 \"!\207\311\312\"!\207\n\203\206\310 \313\230\203\206\311\312 \"!\207\207" [LaTeX-includegraphics-extensions TeX-engine TeX-PDF-mode TeX-DVI-via-PDFTeX LaTeX-includegraphics-pdftex-extensions LaTeX-includegraphics-dvips-extensions copy-sequence #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (default 9 luatex 69 xetex 108)) TeX-PDF-from-DVI TeX-delete-duplicate-strings append "Dvipdfmx" ("jpe?g" "pdf" "png") delete ("jpe?g" "pdf" "png") LaTeX-includegraphics-xetex-extensions] 6 (#$ . 2332)]) #@212 Return appropriate extensions for input files to \includegraphics. Return value is a single regexp. Optional argument LIST if non-nil is used as list of regexps of extensions to be matched. (fn &optional LIST) (defalias 'LaTeX-includegraphics-extensions #[256 "\211\204\300 \262\301\302\303\304#\305Q\207" [LaTeX-includegraphics-extensions-list "\\." mapconcat identity "\\'\\|\\." "\\'"] 6 (#$ . 3285)]) #@195 List of the non-local graphic files to include in LaTeX documents. Initialized once at the first time you prompt for an input file. May be reset with `\[universal-argument] \[TeX-normal-mode]'. (defvar LaTeX-includegraphics-global-files nil (#$ . 3702)) (add-to-list 'TeX-normal-mode-reset-list 'LaTeX-includegraphics-global-files) #@143 Read image file for \includegraphics. Offers all graphic files found in the TeX search path. See `LaTeX-includegraphics-read-file' for more. (defalias 'LaTeX-includegraphics-read-file-TeX #[0 "\303  \204\304\305!\210\306\307\310\311\n$\304\312!\210\313\314\315\306\307\316\311\n$ \"\317\211\211%)\207" [LaTeX-includegraphics-extensions LaTeX-includegraphics-global-files LaTeX-includegraphics-strip-extension-flag LaTeX-includegraphics-extensions-list message "Searching for graphic files..." TeX-search-files-by-type graphics global t "Searching for graphic files...done" completing-read "Image file: " append local nil] 8 (#$ . 4041)]) #@196 Read image file for \includegraphics. Lists all graphic files in the master directory and its subdirectories and inserts the relative file name. See `LaTeX-includegraphics-read-file' for more. (defalias 'LaTeX-includegraphics-read-file-relative #[0 "\300\301\302\303\211\211\211\304&\305 \"\207" [file-relative-name read-file-name "Image file: " nil #[257 "\300!\206 \301\302 \"\207" [file-directory-p string-match LaTeX-includegraphics-extensions] 4 "\n\n(fn FNAME)"] TeX-master-directory] 8 (#$ . 4691)]) #@78 Ask for mandantory argument for the \includegraphics command. (fn OPTIONAL) (defalias 'LaTeX-arg-includegraphics #[257 " \302 \203\303\304 \305#\202\"\207" [LaTeX-includegraphics-read-file LaTeX-includegraphics-strip-extension-flag TeX-argument-insert replace-regexp-in-string LaTeX-includegraphics-extensions ""] 7 (#$ . 5210)]) (TeX-add-style-hook "graphicx" #[0 "\303\304\305\306\307\310\311\312\313\314\315&\n\210\316\317!\203)\320=\203)\321\322\323\"\210\321\324\325\"\210\321\326\327\"\210\330\331\332\"\205: \333=?\205:\334\211\207" [TeX-install-font-lock TeX-engine TeX-PDF-from-DVI TeX-add-symbols ("reflectbox" "Argument") ("resizebox" (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Width") (append '("\\width" "!") (mapcar (lambda (x) (concat TeX-esc (car x))) (LaTeX-length-list)))) (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Height") (append '("\\height" "\\totalheight" "\\depth" "!") (mapcar (lambda (x) (concat TeX-esc (car x))) (LaTeX-length-list)))) "Argument") ("resizebox*" (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Width") (append '("\\width" "!") (mapcar (lambda (x) (concat TeX-esc (car x))) (LaTeX-length-list)))) (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Height") (append '("\\height" "\\totalheight" "\\depth" "!") (mapcar (lambda (x) (concat TeX-esc (car x))) (LaTeX-length-list)))) "Argument") ("rotatebox" (TeX-arg-conditional (member "graphics" (TeX-style-list)) nil ([TeX-arg-key-val (("x") ("y") ("origin") ("units"))])) "Angle" "Argument") ("scalebox" "Horizontal scale" ["Vertical scale"] "Argument") ("includegraphics" (TeX-arg-conditional (member "graphics" (TeX-style-list)) (["llx,lly"] ["urx,ury"]) ([LaTeX-arg-graphicx-includegraphics-key-val])) LaTeX-arg-includegraphics) ("includegraphics*" (TeX-arg-conditional (member "graphics" (TeX-style-list)) (["llx,lly"] ["urx,ury"]) ([LaTeX-arg-graphicx-includegraphics-key-val])) LaTeX-arg-includegraphics) ("graphicspath" t) ("DeclareGraphicsExtensions" t) ("DeclareGraphicsRule" 4) featurep font-latex font-latex-setup font-latex-add-keywords (("reflectbox" "{") ("resizebox" "*{{{") ("rotatebox" "[{{") ("scalebox" "{[{")) textual (("includegraphics" "*[[{")) reference (("graphicspath" "{") ("DeclareGraphicsExtensions" "{") ("DeclareGraphicsRule" "{{{{")) function LaTeX-provided-package-options-member "graphicx" "dvipdfmx" xetex "Dvipdfmx"] 11] TeX-dialect) #@43 Package options for the graphicx package. (defvar LaTeX-graphicx-package-options '("draft" "final" "debugshow" "hiderotate" "hidescale" "hiresbb" "setpagesize" "nosetpagesize" "demo" "dvips" "xdvi" "dvipdf" "dvipdfm" "dvipdfmx" "xetex" "pdftex" "luatex" "dvisvgm" "dvipsone" "dviwindo" "emtex" "dviwin" "oztex" "textures" "pctexps" "pctexwin" "pctexhp" "pctex32" "truetex" "tcidvi" "vtex") (#$ . 7647))