%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/share/emacs/27.2/lisp/org/
Upload File :
Create Path :
Current File : //usr/local/share/emacs/27.2/lisp/org/ob-latex.elc

;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\300\301!\210\300\302!\210\303\304\305\"\207" [require ob org-macs 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")) (#$ . 548))
#@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) (packages . :any) (buffer (yes no))) (#$ . 720))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\207" [custom-declare-variable org-babel-latex-htlatex funcall function #[0 "\300\207" [#1="htlatex"] 1 #1#] "The htlatex command to enable conversion of latex to SVG or HTML." :group org-babel :type string org-babel-latex-htlatex-packages #[0 "\300\207" [("[usenames]{color}" "{tikz}" "{color}" "{listings}" "{amsmath}")] 1] "Packages to use for htlatex export." (repeat (string))] 8)
#@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\304\305!\306\"\307\310%\311!\"\210\211\242\312\313\203!\314\202\"\315\316\313\317\316##\266\202\207" [mapc make-byte-code 257 "\300\301\302\303\304@\"!A;\203A\202\303\304A\"\300\242#\240\207" vconcat vector [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 (#$ . 1520)])
#@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\274\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\271\330\336
\"\203\276\337\f!\203\222\340\f!\210\341\342!\343\344\345\346\347!\350\"\351$\216r\211q\210c\210)r\211q\210\352\353\211\353\344%\210*\266\202\271\n\354\230\204\314\n\355\230\203\234\356!\203\234	\341\342!\343\344\345\346\347!\357\"\351$\216r\211q\210\360\333\361\f\332#\203\332<\203\333\334\332#\202\332Q\202	\362\363\364\260c\210)r\211q\210\352\353\211\353\344%\210*\266\337\f!\203-\340\f!\210\365\n!\366\367\370
#!\210)\337\371!\372P!\203k\330\373
\"\203d\366\374!\210\366\367\375\371
!\372P#!\210\202\271\376\377!\210\202\271\337\371!\201AP!\203\271\330\201A
\"\203\223\366\375\371\f!\201AP#\210\202\271\376\201B!\210\202\271\n\201C\230\204\252\203\271	\341\342!\343\344\345\346\347!\201D\"\351$\216r\211q\210\201E\201F!\210\201G\201H	\201I\353\201J\201K@\"\"\353$!\203\355\201L\202\356\362\f\203\375\367\201M\"\202\376\362\203\332\367\201N\"P\202\362\203!\332\367\201O\"P\202\"\362\203>\332	<\2037\333\334\332#\2029	\332Q\202?\362\f\203P\201P\201QQ\202Y\201R\201SQ\261\210)r\211q\210\352\353\211\353\344%\210*\266\337\f!\203x\340\f!\210\201T\n!\201C\230\203\222\201U\"\210\202\270\203\260\201V\n\n$\210\337!\203\270\340!\210\202\270\376\201W
\"\210\210)\353\207\207" [org-latex-packages-alist org-format-latex-header org-format-latex-options org-babel-latex-htlatex org-babel-latex-htlatex-packages default-directory 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 ".tikz" file-exists-p delete-file generate-new-buffer " *temp file*" make-byte-code 0 "\301\300!\205	\302\300!\207" vconcat vector [buffer-name kill-buffer] 2 write-region nil "svg" "html" executable-find [buffer-name kill-buffer] "\\documentclass[preview]{standalone}\n\\def\\pgfsysdriver{pgfsys-tex4ht.def}\n" #[257 "\300P\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" "pwd" "mv %s %s" error "SVG file produced but HTML file requested" org-latex-default-packages-alist ".html" "HTML file produced but SVG file requested" "pdf" [buffer-name kill-buffer] 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-tex-to-pdf rename-file org-babel-latex-convert-pdf "Can not create %s files, please specify a .png or .pdf file or try the :imagemagick header argument"] 26 (#$ . 2080)])
#@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 (#$ . 5584)])
#@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 (#$ . 5882)])
#@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 (#$ . 6074)])
(provide 'ob-latex)

Zerion Mini Shell 1.0