403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.71
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/org/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/org/ob-latex.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(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")) (#$ . 224))
#@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))) (#$ . 396))
(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&\210\300\326\302\303\327DD\330\306\307\310\331&\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 %f -T -l -o %O"] 1 #1#] "Command to convert a PDF file to an SVG file." org-babel-latex-htlatex-packages #[0 "\300\207" [("[usenames]{color}" "{tikz}" "{color}" "{listings}" "{amsmath}")] 1 #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!\"\210\211\242\304\305\203\306\202\307\310\305\311\310##\207" [mapc make-closure #[257 "\300\301\302\303\304@\"!A;\203A\202\303\304A\"\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 (#$ . 2631)])
#@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!
!\260c\210)r\211q\210\344\345\211
\345\346%\210*\210\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\210c\210)r\211q\210\344\345\211\345\346%\210*\210\202\371\n\361\230\203\344\362A!\203\344\337\340\341\"\342\363\"\216r\211q\210\364\333\365B\332#\203H\332<\203B\333\334\332#\202C\332Q\202I\366\367\370\260c\210)r\211q\210\344\345\211
\345\346%\210*\210\356\f!\203m\357\f!\210\371\n!C\372\373\374A
#!\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!\201HP!\203\371\330\201H
\"\203\331\354\375!\201HP
\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\201RD\"\"\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\201XQ\202\231\201Y\201ZQ\261\210)r\211q\210\344\345\211
\345\346%\210*\210\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 "\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" 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 (#$ . 3144)])
#@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 (#$ . 7106)])
#@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 (#$ . 7404)])
#@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 (#$ . 7596)])
(provide 'ob-latex)

Youez - 2016 - github.com/yon3zu
LinuXploit