;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require tex latex] 2) #@55 Key=value options for minted macros and environments. (defvar LaTeX-minted-key-val-options '(("autogobble" ("true" "false")) ("baselinestretch" ("auto")) ("beameroverlays" ("true" "false")) ("breakafter") ("breakaftergroup" ("true" "false")) ("breakaftersymbolpre") ("breakaftersymbolpost") ("breakanywhere" ("true" "false")) ("breakanywheresymbolpre") ("breakanywheresymbolpost") ("breakautoindent" ("true" "false")) ("breakbefore") ("breakbeforegroup" ("true" "false")) ("breakbeforesymbolpre") ("breakbeforesymbolpost") ("breakbytoken" ("true" "false")) ("breakbytokenanywhere" ("true" "false")) ("breakindent") ("breakindentnchars") ("breaklines" ("true" "false")) ("breaksymbol") ("breaksymbolleft") ("breaksymbolright") ("breaksymbolindent") ("breaksymbolindentnchars") ("breaksymbolindentleft") ("breaksymbolindentleftnchars") ("breaksymbolindentright") ("breaksymbolseprightnchars") ("breaksymbolsep") ("breaksymbolsepnchars") ("breaksymbolsepleft") ("breaksymbolsepleftnchars") ("breaksymbolsepright") ("breaksymbolseprightnchars") ("bgcolor") ("codetagify") ("curlyquotes" ("true" "false")) ("encoding") ("escapeinside") ("firstline") ("firstnumber" ("auto" "last" "integer")) ("fontfamily" ("tt" "courier" "helvetica")) ("fontseries" ("auto")) ("fontsize" ("auto" "\\tiny" "\\large" "\\scriptsize" "\\Large" "\\footnotesize" "\\LARGE" "\\small" "\\huge" "\\normalsize" "\\Huge")) ("fontshape" ("auto")) ("formatcom") ("frame" ("none" "leftline" "topline" "bottomline" "lines" "single")) ("framerule") ("framesep") ("funcnamehighlighting" ("true" "false")) ("gobble") ("highlightcolor") ("highlightlines") ("keywordcase" ("lower" "upper" "capitalize")) ("label") ("labelposition" ("none" "topline" "bottomline" "all")) ("lastline") ("linenos" ("true" "false")) ("numberfirstline" ("true" "false")) ("numbers" ("left" "right" "both" "none")) ("mathescape" ("true" "false")) ("numberblanklines" ("true" "false")) ("numbersep") ("obeytabs" ("true" "false")) ("outencoding") ("python3" ("true" "false")) ("resetmargins" ("true" "false")) ("rulecolor") ("samepage" ("true" "false")) ("showspaces" ("true" "false")) ("showtabs" ("true" "false")) ("space") ("spacecolor") ("startinline" ("true" "false")) ("style" ("abap" "algol" "algol_nu" "arduino" "autumn" "borland" "bw" "colorful" "default" "emacs" "friendly" "fruity" "igor" "inkpot" "lovelace" "manni" "monokai" "murphy" "native" "paraiso-dark" "paraiso-light" "pastie" "perldoc" "rainbow_dash" "rrt" "sas" "solarized-dark" "solarized-light" "stata" "stata-dark" "stata-light" "tango" "trac" "vim" "vs" "xcode")) ("stepnumber") ("stepnumberfromfirst") ("stepnumberoffsetvalues" ("true" "false")) ("stripall" ("true" "false")) ("stripnl" ("true" "false")) ("tab") ("tabcolor") ("tabsize") ("texcl" ("true" "false")) ("texcomments" ("true" "false")) ("xleftmargin") ("xrightmargin")) (#$ . 150)) #@68 Buffer-local key=value options for minted macros and environments. (defvar LaTeX-minted-key-val-options-local nil (#$ . 3010)) (make-variable-buffer-local 'LaTeX-minted-key-val-options-local) (defvar LaTeX-minted-pygmentize-program (executable-find "pygmentize")) #@58 List containing languages provided by pymentize program. (defvar LaTeX-minted-language-list nil (#$ . 3280)) #@142 Return a list of languages provided by pymentize program. Update the variable `LaTeX-minted-language-list' if still nil. (fn &rest IGNORED) (defalias 'LaTeX-minted-language-list #[128 "\206J \205J\302\303\304\"r\211q\210\305\306\"\216\307 \310Pp\"\210eb\210\311\312\313\311\304#\203E\314\315\316!\317\304#\211\203A\211@\211B\262A\266\202\202/\210\202 \211*\262\207" [LaTeX-minted-language-list LaTeX-minted-pygmentize-program generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] shell-command " -L lexers" nil re-search-forward "^\\*[[:space:]]\\([^:]+\\):" split-string match-string 1 "[[:space:],]"] 8 (#$ . 3396)]) #@214 Insert a selected pygmentize language as argument for macros from minted.sty. If OPTIONAL is non-nil, insert it as optional argument in brackets. PROMPT replaces the standard one. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-arg-minted-language #[513 "\300\301\302\303#\304 \"\"\207" [TeX-argument-insert completing-read TeX-argument-prompt "Language" LaTeX-minted-language-list] 8 (#$ . 4094)]) #@55 List containing styles provided by pymentize program. (defvar LaTeX-minted-style-list nil (#$ . 4504)) #@136 Return a list of styles provided by pymentize program. Update the variable `LaTeX-minted-style-list' if still nil. (fn &rest IGNORED) (defalias 'LaTeX-minted-style-list #[128 "\206J \205J\302\303\304\"r\211q\210\305\306\"\216\307 \310Pp\"\210eb\210\311\312\313\311\304#\203E\314\315\316!\317\304#\211\203A\211@\211B\262A\266\202\202/\210\202 \211*\262\207" [LaTeX-minted-style-list LaTeX-minted-pygmentize-program generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] shell-command " -L styles" nil re-search-forward "^\\*[[:space:]]\\([^:]+\\):" split-string match-string 1 "[[:space:],]"] 8 (#$ . 4614)]) #@211 Insert a selected pygmentize style as argument for macros from minted.sty. If OPTIONAL is non-nil, insert it as optional argument in brackets. PROMPT replaces the standard one. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-arg-minted-style #[513 "\300\301\302\303#\304 \"\"\207" [TeX-argument-insert completing-read TeX-argument-prompt "Style" LaTeX-minted-style-list] 8 (#$ . 5300)]) #@270 Update color related key-vals in `LaTeX-minted-key-val-options-local'. This function checks if one of the packages "xcolor.sty" or "xcolor.sty" is loaded and appends defined colors as values to color related key. "xcolor.sty" is preferred if both packages are loaded. (defalias 'LaTeX-minted-update-key-vals #[0 "\301\302 \235\204\303\302 \235\205J\301\302 \235\203\304\202\305\306\307!\211\203B\211@\310\311\"@\"\262\211\312\313 \"DB\262A\266\202\202\210\307!\211\266\203\207" [LaTeX-minted-key-val-options-local "xcolor" TeX-style-list "color" LaTeX-xcolor-definecolor-list LaTeX-color-definecolor-list ("bgcolor" "highlightcolor" "rulecolor" "spacecolor" "tabcolor") copy-alist assq-delete-all assoc mapcar car] 9 (#$ . 5699)]) (defvar LaTeX-minted-auto-newminted nil) (defvar LaTeX-minted-newminted-regexp '("\\\\newminted\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}" (1 2) LaTeX-minted-auto-newminted)) (defvar LaTeX-minted-auto-newmint nil) (defvar LaTeX-minted-newmint-regexp '("\\\\newmint\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}" (1 2) LaTeX-minted-auto-newmint)) (defvar LaTeX-minted-auto-newmintinline nil) (defvar LaTeX-minted-newmintinline-regexp '("\\\\newmintinline\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}" (1 2) LaTeX-minted-auto-newmintinline)) (defvar LaTeX-minted-auto-newmintedfile nil) (defvar LaTeX-minted-newmintedfile-regexp '("\\\\newmintedfile\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}" (1 2) LaTeX-minted-auto-newmintedfile)) (defalias 'LaTeX-minted-auto-prepare #[0 "\306\211\306\211\306\211\211\207" [LaTeX-minted-auto-newminted LaTeX-minted-auto-newmint LaTeX-minted-auto-newmintinline LaTeX-minted-auto-newmintedfile LaTeX-minted-language-list LaTeX-minted-style-list nil] 3]) (defalias 'LaTeX-minted-auto-cleanup #[0 "\211\203L\211@\211@G\305V\203\211@\202\211A@\306P\211\307P\310\311C\"\210\310\311\312\313E\"\210\310\314\315B\316#\210\310\314\317B\316#\210\310\320\"\210\310\320\"\266A\266\202\202\210 \211\203\214\211@\211@G\305V\203a\211@\202d\211A@\310\321\322B\"\210\310\323\"\210\324\325!\203\204\n\326=\203\204\325\327BC\330\"\210\210A\266\202\202N\210 \211\203\323\211@\211@G\305V\203\241\211@\202\246\211A@\331P\310\321\332B\"\210\310\323\"\210\310\333\"\210\324\325!\203\313\n\326=\203\313\325\334BC\330\"\210\210A\266\202\202\216\210\f\211\203\374\211@\211@G\305V\203\350\211@\202\355\211A@\335P\310\321\336B\"\266A\266\202\202\325\210\324\337!\203\f\n\326=\203\f\337 \210\340 \207" [LaTeX-minted-auto-newminted LaTeX-minted-auto-newmint TeX-install-font-lock LaTeX-minted-auto-newmintinline LaTeX-minted-auto-newmintedfile 0 "code" "*" add-to-list LaTeX-auto-environment LaTeX-env-args (TeX-arg-key-val LaTeX-minted-key-val-options-local) LaTeX-indent-environment-list (current-indentation) t (current-indentation) LaTeX-verbatim-environments-local TeX-auto-symbol ([TeX-arg-key-val LaTeX-minted-key-val-options-local] TeX-arg-verb) LaTeX-verbatim-macros-with-delims-local fboundp font-latex-add-keywords font-latex-setup ("[") textual "inline" ([TeX-arg-key-val LaTeX-minted-key-val-options-local] TeX-arg-verb-delim-or-brace) LaTeX-verbatim-macros-with-braces-local ("[") "file" ([TeX-arg-key-val LaTeX-minted-key-val-options-local] TeX-arg-file) font-latex-set-syntactic-keywords LaTeX-minted-update-key-vals] 9]) (byte-code "\300\301\302\303#\210\300\304\305\303#\210\300\306\307\303#\207" [add-hook TeX-auto-prepare-hook LaTeX-minted-auto-prepare t TeX-auto-cleanup-hook LaTeX-minted-auto-cleanup TeX-update-style-hook TeX-auto-parse] 4) #@231 Add MACRO from minted.sty to `font-latex-syntactic-keywords-extra'. TYPE is one of the symbols `brace' or `delim' indicating how verbatim text is enclosed after the macro. MACRO is a string or a list of strings. (fn TYPE MACRO) (defalias 'LaTeX-minted-add-syntactic-keywords-extra #[514 "\302=\203\n\303\202 \304\305<\203\306\307\"\262\310!\311\302=\203'\312\202-\313\310!\314QRC\262\315\"\211 \235\203= \207\211 B\211\207" [TeX-esc font-latex-syntactic-keywords-extra brace ((1 "|") (2 "|")) ((1 "\"") (2 ".") (3 "\"")) nil regexp-opt "\\(?:" regexp-quote "\\(?:\\[[^][]*\\(?:\\[[^][]*\\][^][]*\\)*\\]\\)?\\(?:{[^}]+}\\)" "\\({\\)\\(?:[^}{]*\\(?:{[^}{]*\\(?:{[^}{]*\\(?:{[^}{]*}[^}{]*\\)*}[^}{]*\\)*}[^}{]*\\)*\\)\\(}\\)" "\\([^a-z@*\n\f{]\\).*?\\(" "*\\)\\(\\1\\)" append] 10 (#$ . 9288)]) (TeX-add-style-hook "minted" #[0 "\306!\307\310\311\312\313\314\315\316\317\320\321&\n\210\322\323!\210\324\325\326\"\204$\324\325\327\"\203/\330\326!\210\331\332!\210\202Q\322\333!\210\307\334\335\336#\210\337\340\341!\342\343#\210\337\344\345\343#\210\346\347!\203Q\347\350!\210\351\n!\210\351 !\210\351\f!\210\351 !\210\337\340\341!\352\343#\210\337\353\325\"\210\346\354!\205\2218\355=\205\221\354\356\357\"\210\354\360\361\"\210\362\363\364\"\210\362\365\366\"\210\367 \207" [LaTeX-minted-key-val-options LaTeX-minted-key-val-options-local LaTeX-minted-newminted-regexp LaTeX-minted-newmint-regexp LaTeX-minted-newmintinline-regexp LaTeX-minted-newmintedfile-regexp copy-alist TeX-add-symbols ("mint" [TeX-arg-key-val LaTeX-minted-key-val-options-local] LaTeX-arg-minted-language TeX-arg-verb) ("mintinline" [TeX-arg-key-val LaTeX-minted-key-val-options-local] LaTeX-arg-minted-language TeX-arg-verb-delim-or-brace) ("newminted" ["Environment Name"] LaTeX-arg-minted-language (TeX-arg-key-val LaTeX-minted-key-val-options-local)) ("newmint" ["Macro Name"] LaTeX-arg-minted-language (TeX-arg-key-val LaTeX-minted-key-val-options-local)) ("newmintinline" ["Macro Name"] LaTeX-arg-minted-language (TeX-arg-key-val LaTeX-minted-key-val-options-local)) ("newmintedfile" ["Macro Name"] LaTeX-arg-minted-language (TeX-arg-key-val LaTeX-minted-key-val-options-local)) ("inputminted" [TeX-arg-key-val LaTeX-minted-key-val-options-local] (LaTeX-arg-minted-language) TeX-arg-file) ("usemintedstyle" [LaTeX-arg-minted-language] LaTeX-arg-minted-style) ("setminted" [LaTeX-arg-minted-language] (TeX-arg-key-val LaTeX-minted-key-val-options-local)) ("setmintedinline" [LaTeX-arg-minted-language] (TeX-arg-key-val LaTeX-minted-key-val-options-local)) LaTeX-add-environments ("minted" LaTeX-env-args [TeX-arg-key-val LaTeX-minted-key-val-options-local] LaTeX-arg-minted-language) LaTeX-provided-package-options-member "minted" "newfloat" "newfloat=true" TeX-run-style-hooks LaTeX-add-newfloat-DeclareFloatingEnvironments ("listing" "verbatim") ("listing" ["Float Position"]) ("listoflistings") ("listingscaption") ("listoflistingscaption") add-to-list make-local-variable LaTeX-indent-environment-list ("listing" current-indentation) t LaTeX-label-alist ("listing" . LaTeX-listing-label) fboundp reftex-add-label-environments (("listing" 108 "lst:" "~\\ref{%s}" caption nil nil)) TeX-auto-add-regexp ("minted" current-indentation) LaTeX-verbatim-environments-local font-latex-add-keywords font-latex-setup (("usemintedstyle" "[{") ("setminted" "[{") ("setmintedinline" "[{") ("newminted" "[{{") ("newmint" "[{{") ("newmintinline" "[{{") ("newmintedfile" "[{{")) function (("inputminted" "[{{") ("mint" "[{") ("mintinline" "[{")) textual LaTeX-minted-add-syntactic-keywords-extra brace ("mint" "mintinline") delim ("mint" "mintinline") font-latex-set-syntactic-keywords TeX-install-font-lock] 11] TeX-dialect) #@41 Package options for the minted package. (defvar LaTeX-minted-package-options '("chapter" "cache" "cachedir" "finalizecache" "frozencache" "draft" "final" "kpsewhich" "langlinenos" "newfloat" "outputdir" "section") (#$ . 13015))