;ELC   
;;; Compiled
;;; in Emacs version 29.4
;;; with all optimizations.



(byte-code "\300\301!\210\302 \303\232\204 \304\305\306\"\210\300\307!\210\300\301!\210\310\311\312\"\207" [require org-macs org-release "9.6.15" warn "Org version mismatch.\nThis warning usually appears when a built-in Org version is loaded\nprior to the more recent Org version.\n\nVersion mismatch is commonly encountered in the following situations:\n\n1. Emacs is loaded using literate Org config and more recent Org\n   version is loaded inside the file loaded by `org-babel-load-file'.\n   `org-babel-load-file' triggers the built-in Org version clashing\n   the newer Org version attempt to be loaded later.\n\n   It is recommended to move the Org loading code before the\n   `org-babel-load-file' call.\n\n2. New Org version is loaded manually by setting `load-path', but some\n   other package depending on Org is loaded before the `load-path' is\n   configured.\n   This \"other package\" is triggering built-in Org version, again\n   causing the version mismatch.\n\n   It is recommended to set `load-path' as early in the config as\n   possible.\n\n3. New Org version is loaded using straight.el package manager and\n   other package depending on Org is loaded before straight triggers\n   loading of the newer Org version.\n\n   It is recommended to put\n\n    %s\n\n   early in the config.  Ideally, right after the straight.el\n   bootstrap.  Moving `use-package' :straight declaration may not be\n   sufficient if the corresponding `use-package' statement is\n   deferring the loading.\n\n4. A new Org version is synchronized with Emacs git repository and\n   stale .elc files are still left from the previous build.\n\n   It is recommended to remove .elc files from lisp/org directory and\n   re-compile." "(straight-use-package 'org)" ob add-to-list org-babel-tangle-lang-exts ("latex" . "tex")] 3)#@64 Default arguments to use when evaluating a LaTeX source block.
(defvar org-babel-default-header-args:latex '((:results . "latex") (:exports . "results")) (#$ . 1902))#@34 LaTeX-specific header arguments.
(defconst org-babel-header-args:latex '((border . :any) (fit . :any) (imagemagick (nil t)) (iminoptions . :any) (imoutoptions . :any) (packages . :any) (pdfheight . :any) (pdfpng . :any) (pdfwidth . :any) (headers . :any) (buffer (yes no))) (#$ . 2074))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\303&\210\300\315\302\303\316DD\317\306\307\310\303&\210\300\320\302\303\321DD\322\306\307\310\303&\210\300\323\302\303\324DD\325\306\307\310\311\326\327&	\210\300\330\302\303\331DD\332\306\307\310\333&\207" [custom-declare-variable org-babel-latex-htlatex funcall function #[0 "\300\207" ["htlatex"] 1 #1=""] "The htlatex command to enable conversion of LaTeX to SVG or HTML." :group org-babel :type string org-babel-latex-preamble #[0 "\300\207" [#[257 "\300\207" ["\\documentclass[preview]{standalone}\n\\def\\pgfsysdriver{pgfsys-tex4ht.def}\n"] 2 "\\documentclass[preview]{standalone}\n\\def\\pgfsysdriver{pgfsys-tex4ht.def}\n\n(fn _)"]] 1 #1#] "Closure which evaluates at runtime to the LaTeX preamble.\n\nIt takes 1 argument which is the parameters of the source block." org-babel-latex-begin-env #[0 "\300\207" [#[257 "\300\207" ["\\begin{document}"] 2 "\\begin{document}\n\n(fn _)"]] 1 #1#] "Function that evaluates to the begin part of the document environment.\n\nIt takes 1 argument which is the parameters of the source block.\nThis allows adding additional code that will be ignored when\nexporting the literal LaTeX source." org-babel-latex-end-env #[0 "\300\207" [#[257 "\300\207" ["\\end{document}"] 2 "\\end{document}\n\n(fn _)"]] 1 #1#] "Closure which evaluates at runtime to the end part of the document environment.\n\nIt takes 1 argument which is the parameters of the source block.\nThis allows adding additional code that will be ignored when\nexporting the literal LaTeX source." org-babel-latex-pdf-svg-process #[0 "\300\207" ["inkscape --pdf-poppler --export-area-drawing --export-text-to-path --export-plain-svg --export-filename=%O %f"] 1 #1#] "Command to convert a PDF file to an SVG file." :package-version (Org . "9.6") org-babel-latex-htlatex-packages #[0 "\300\207" [("[usenames]{color}" "{tikz}" "{color}" "{listings}" "{amsmath}")] 1 #1#] "Packages to use for htlatex export." (repeat (string))] 10)#@78 Expand BODY according to PARAMS, return the expanded body.

(fn BODY PARAMS)
(defalias 'org-babel-expand-body:latex #[514 "C\300\301\302\"\303!\"\210\211\242\304\305\203 \306\202 \307\310\305\311\310##\207" [mapc make-closure #[257 "\300\301\302\303\304@\"!A;\203 A\202 \303\304A\"\300\242#\240\207" [V0 replace-regexp-in-string regexp-quote format "%S"] 7 "\n\n(fn PAIR)"] org-babel--get-vars nil replace-regexp-in-string "\\`\\([ 	]*\n\\)+" "\\`[ 	\n]+" "" "[ 	\n]+\\'"] 12 (#$ . 4403)])#@119 Execute a block of LaTeX code with Babel.
This function is called by `org-babel-execute-src-block'.

(fn BODY PARAMS)
(defalias 'org-babel-execute:latex #[514 "\306\"\262\307\236A\203\376\307\236A\310!\311\312\313\"\314\236A\315\236A\316\236A\317\236A\320\236A\2063 \211\205< \321	\236A\205E \322\n\236A\323\236A\324\f\236A\325\230?\326\327\236A\"\330\331\"\203~ \204~ 	\332\333\334\332#Q\335\n$)\210\202\371\n\336\230\203\325 \337\340\341\"\342\343\"\216r\211q\210!\333\334\332#\f!!\260c)\210r\211q\210\344\345\211\345\346%*\266\347\n!\350\351!\352@C\353%\354\341#\266\202\371\330\355\"\203\356\f!\203\351 \357\f!\210\337\340\341\"\342\360\"\216r\211q\210c)\210r\211q\210\344\345\211\345\346%*\266\202\371\n\361\230\203\344\362A!\203\344\337\340\341\"\342\363\"\216r\211q\210\364\333\365B\332#\203H\332<\203B\333\334\332#\202C\332Q\202I\366\367\370\260c)\210r\211q\210\344\345\211\345\346%*\266\356\f!\203m\357\f!\210\371\n!C\372\373\374A#!)\210\356\375!\376P!\203\261\330\377\"\203\246\372\201E !\210\354\375!\376P\341#\210\202\371\201F \201G !\210\202\371\356\375!\201H P!\203\371\330\201H \"\203\331\354\375!\201H P\341#\210\202\371\201F \201I !\210\202\371\n\201J \230\204\362\203\371\337\340\341\"\342\201K \"\216r\211q\210\201L \201M !\210\201N \201O 	\201P \345\201Q \201R D\"\"\345$!\203-\201S \202.\366\203=\373\201T \"\202>\366\203O\332\373\201U \n\"P\202P\366\203a\332\373\201V \n\"P\202b\366\203~\332<\203w\333\334\n\332#\202y\332Q\202\366\203\220\201W \201X Q\202\231\201Y \201Z Q\261)\210r\211q\210\344\345\211\345\346%*\266\356\f!\203\270\357\f!\210\347\n!\201J \230\203\317\354\"\266\202\371\203\356\201[ \n\n$\210\356!\203\370\357!\266\202\371\201F \201\\ \"\210\210)\266\f\345\207\207" [org-latex-packages-alist org-format-latex-header org-format-latex-options org-babel-latex-preamble org-babel-latex-begin-env org-babel-latex-end-env org-babel-expand-body:latex :file file-name-extension org-babel-temp-file "latex-" ".tex" :border :imagemagick :iminoptions :imoutoptions :fit :pdfheight :pdfwidth :headers :buffer "no" append :packages string-suffix-p ".png" "\n" mapconcat identity org-create-formula-image "svg" generate-new-buffer " *temp file*" t make-closure #[0 "\301\300!\205	 \302\300!\207" [V0 buffer-name kill-buffer] 2] write-region nil 0 org-babel-latex-tex-to-pdf get-buffer-create "*Org Babel LaTeX Output*" org-compile-file "org babel latex failed" rename-file ".tikz" file-exists-p delete-file #[0 "\301\300!\205	 \302\300!\207" [V0 buffer-name kill-buffer] 2] "html" executable-find #[0 "\301\300!\205	 \302\300!\207" [V0 buffer-name kill-buffer] 2] "\\documentclass[preview]{standalone}\n\\def\\pgfsysdriver{pgfsys-tex4ht.def}\n" #[257 "\300P\207" ["\\usepackage"] 3 "\n\n(fn PKG)"] "" "\\begin{document}" "\\end{document}" file-name-directory shell-command format "%s %s" file-name-sans-extension "-1.svg" ".svg" org-babel-latex-pdf-svg-process org-babel-latex-htlatex org-babel-latex-htlatex-packages default-directory org-latex-default-packages-alist "pwd" error "SVG file produced but HTML file requested" ".html" "HTML file produced but SVG file requested" "pdf" #[0 "\301\300!\205	 \302\300!\207" [V0 buffer-name kill-buffer] 2] require ox-latex org-latex-guess-inputenc org-splice-latex-header delq mapcar #[257 "\211<\205\n \211A@\300\230?\205 \211\207" ["hyperref"] 3 "\n\n(fn EL)"] "\n\\usepackage[active, tightpage]{preview}\n" "\\setlength{\\PreviewBorder}{%s}" "\\pdfpageheight %s" "\\pdfpagewidth %s" "\n\\begin{document}\n\\begin{preview}\n" "\n\\end{preview}\n\\end{document}\n" "\n\\begin{document}\n" "\n\\end{document}\n" org-babel-latex-convert-pdf "Can not create %s files, please specify a .png or .pdf file or try the :imagemagick header argument"] 25 (#$ . 4915)])#@104 Generate a file from a pdf file using imagemagick.

(fn PDFFILE OUT-FILE IM-IN-OPTIONS IM-OUT-OPTIONS)
(defalias 'org-babel-latex-convert-pdf #[1028 "\300\301\301\301	\260\302\303\"\210\304!\207" ["convert " " " message "Converting pdffile file %s..." shell-command] 12 (#$ . 8864)])#@64 Generate a pdf file according to the contents FILE.

(fn FILE)
(defalias 'org-babel-latex-tex-to-pdf #[257 "\300\301!\210\302!\207" [require ox-latex org-latex-compile] 3 (#$ . 9161)])#@78 Return an error because LaTeX doesn't support sessions.

(fn SESSION PARAMS)
(defalias 'org-babel-prep-session:latex #[514 "\300\301!\207" [error "LaTeX does not support sessions"] 4 (#$ . 9352)])
(provide 'ob-latex)
