mirror of https://github.com/Chizi123/.emacs.d.git

Chizi123
2018-11-18 76bbd07de7add0f9d13c6914f158d19630fe2f62
commit | author | age
76bbd0 1 ;ELC
C 2 ;;; Compiled
3 ;;; in Emacs version 26.1
4 ;;; with all optimizations.
5
6 ;;; This file uses dynamic docstrings, first added in Emacs 19.29.
7
8 ;;; This file does not contain utf-8 non-ASCII characters,
9 ;;; and so can be loaded in Emacs versions earlier than 23.
10
11 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13
14
15 (byte-code "\300\301!\210\302\303\304\"\207" [require ob add-to-list org-babel-tangle-lang-exts ("latex" . "tex")] 3)
16 #@64 Default arguments to use when evaluating a LaTeX source block.
17 (defvar org-babel-default-header-args:latex '((:results . "latex") (:exports . "results")) (#$ . 526))
18 #@34 LaTeX-specific header arguments.
19 (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))) (#$ . 698))
20 (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)
21 #@78 Expand BODY according to PARAMS, return the expanded body.
22
23 (fn BODY PARAMS)
24 (defalias 'org-babel-expand-body:latex #[514 "C\300\301\302\303\304\305!\306\"\307\310%\311!\"\210\312\242!\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 org-trim] 10 (#$ . 1498)])
25 #@119 Execute a block of Latex code with Babel.
26 This function is called by `org-babel-execute-src-block'.
27
28 (fn BODY PARAMS)
29 (defalias 'org-babel-execute:latex #[514 "\306\"\262\307\236A\203\272\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 \"\203t\204t\332     $\210\202\267\330\333 \"\203\266\334\f!\203\210\335\f!\210 \336\337\340!!\341\342\343\344\345!\346\"\347$\216r\211q\210c\210)r\211q\210\350\351\211\351\342%\210*\266\202\267\n\352\230\204\304\n\353\230\203\230\354\n!\203\230    \336\337\340!!\341\342\343\344\345!\355\"\347$\216r\211q\210\356\357\360 \361#\203\361<\203\373\357\362\361#\202\375\361Q\202\363\364\365\260c\210)r\211q\210\350\351\211\351\342%\210*\266\334\f!\203'\335\f!\210\366\n!\367\370\371\n #!\210)\334\372 !\373P!\203g\330\374 \"\203^\367\375!\210\367\370\376\372 !\373P#!\210\202\267\377\201A!\210\202\267\334\372 !\201BP!\203\267\330\201B \"\203\217\367\376\372\f!\201BP#\210\202\267\377\201C!\210\202\267\n\201D\230\204\246\203\267    \336\337\340!!\341\342\343\344\345!\201E\"\347$\216r\211q\210\201F\201G!\210\201H\201I \201J\351\201K\201L@\"\"\351$!\203\353\201M\202\354\363\f\203\373\370\201N\"\202\374\363\203 \361\370\201O \"P\202\363\203\361\370\201P \"P\202 \363\203<\361    <\2035\357\362 \361#\2027    \361Q\202=\363\f\203N\201Q\201RQ\202W\201S\201TQ\261\210)r\211q\210\350\351\211\351\342%\210*\266\334\f!\203v\335\f!\210\201U\n! \201D\230\203\220\201V\"\210\202\266\203\256\201W\n\n$\210\334!\203\266\335!\210\202\266\377\201X \"\210\210)\351\207\207" [org-latex-packages-alist org-format-latex-options org-babel-latex-htlatex org-babel-latex-htlatex-packages default-directory org-format-latex-header 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" org-create-formula-image ".tikz" file-exists-p delete-file get-buffer-create generate-new-buffer-name " *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" mapconcat #[257 "\300P\207" ["\\usepackage"] 3 "\n\n(fn PKG)"] "\n" identity "" "\\begin{document}" "\\end{document}" file-name-directory shell-command format "%s %s" file-name-sans-extension "-1.svg" ".svg" "pwd" "mv %s %s" error org-latex-default-packages-alist "SVG file produced but HTML file requested" ".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 (#$ . 1931)])
30 #@104 Generate a file from a pdf file using imagemagick.
31
32 (fn PDFFILE OUT-FILE IM-IN-OPTIONS IM-OUT-OPTIONS)
33 (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 (#$ . 5458)])
34 #@64 Generate a pdf file according to the contents FILE.
35
36 (fn FILE)
37 (defalias 'org-babel-latex-tex-to-pdf #[257 "\300\301!\210\302!\207" [require ox-latex org-latex-compile] 3 (#$ . 5756)])
38 #@78 Return an error because LaTeX doesn't support sessions.
39
40 (fn SESSION PARAMS)
41 (defalias 'org-babel-prep-session:latex #[514 "\300\301!\207" [error "LaTeX does not support sessions"] 4 (#$ . 5948)])
42 (provide 'ob-latex)