%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
;ELC ;;; Compiled ;;; in Emacs version 25.2.1 ;;; 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\306\307\310\311\312\313&\207" [require ox ox-publish org-export-define-backend latex ((bold . org-latex-bold) (center-block . org-latex-center-block) (clock . org-latex-clock) (code . org-latex-code) (comment lambda (&rest args) #1="") (comment-block lambda (&rest args) #1#) (drawer . org-latex-drawer) (dynamic-block . org-latex-dynamic-block) (entity . org-latex-entity) (example-block . org-latex-example-block) (export-block . org-latex-export-block) (export-snippet . org-latex-export-snippet) (fixed-width . org-latex-fixed-width) (footnote-definition . org-latex-footnote-definition) (footnote-reference . org-latex-footnote-reference) (headline . org-latex-headline) (horizontal-rule . org-latex-horizontal-rule) (inline-src-block . org-latex-inline-src-block) (inlinetask . org-latex-inlinetask) (italic . org-latex-italic) (item . org-latex-item) (keyword . org-latex-keyword) (latex-environment . org-latex-latex-environment) (latex-fragment . org-latex-latex-fragment) (line-break . org-latex-line-break) (link . org-latex-link) (paragraph . org-latex-paragraph) (plain-list . org-latex-plain-list) (plain-text . org-latex-plain-text) (planning . org-latex-planning) (property-drawer lambda (&rest args) #1#) (quote-block . org-latex-quote-block) (quote-section . org-latex-quote-section) (radio-target . org-latex-radio-target) (section . org-latex-section) (special-block . org-latex-special-block) (src-block . org-latex-src-block) (statistics-cookie . org-latex-statistics-cookie) (strike-through . org-latex-strike-through) (subscript . org-latex-subscript) (superscript . org-latex-superscript) (table . org-latex-table) (table-cell . org-latex-table-cell) (table-row . org-latex-table-row) (target . org-latex-target) (template . org-latex-template) (timestamp . org-latex-timestamp) (underline . org-latex-underline) (verbatim . org-latex-verbatim) (verse-block . org-latex-verse-block)) :export-block ("LATEX" "TEX") :menu-entry (108 "Export to LaTeX" ((76 "As LaTeX buffer" org-latex-export-as-latex) (108 "As LaTeX file" org-latex-export-to-latex) (112 "As PDF file" org-latex-export-to-pdf) (111 "As PDF file and open" (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))))) :options-alist ((:latex-class "LATEX_CLASS" nil org-latex-default-class t) (:latex-class-options "LATEX_CLASS_OPTIONS" nil nil t) (:latex-header "LATEX_HEADER" nil nil newline) (:latex-header-extra "LATEX_HEADER_EXTRA" nil nil newline) (:latex-hyperref-p nil "texht" org-latex-with-hyperref t) (:date "DATE" nil "\\today" t))] 9) #@61 Alist between language code and corresponding Babel option. (defconst org-latex-babel-language-alist '(("af" . "afrikaans") ("bg" . "bulgarian") ("bt-br" . "brazilian") ("ca" . "catalan") ("cs" . "czech") ("cy" . "welsh") ("da" . "danish") ("de" . "germanb") ("de-at" . "naustrian") ("de-de" . "ngerman") ("el" . "greek") ("en" . "english") ("en-au" . "australian") ("en-ca" . "canadian") ("en-gb" . "british") ("en-ie" . "irish") ("en-nz" . "newzealand") ("en-us" . "american") ("es" . "spanish") ("et" . "estonian") ("eu" . "basque") ("fi" . "finnish") ("fr" . "frenchb") ("fr-ca" . "canadien") ("gl" . "galician") ("hr" . "croatian") ("hu" . "hungarian") ("id" . "indonesian") ("is" . "icelandic") ("it" . "italian") ("la" . "latin") ("ms" . "malay") ("nl" . "dutch") ("nb" . "norsk") ("nn" . "nynorsk") ("no" . "norsk") ("pl" . "polish") ("pt" . "portuguese") ("ro" . "romanian") ("ru" . "russian") ("sa" . "sanskrit") ("sb" . "uppersorbian") ("sk" . "slovak") ("sl" . "slovene") ("sq" . "albanian") ("sr" . "serbian") ("sv" . "swedish") ("ta" . "tamil") ("tr" . "turkish") ("uk" . "ukrainian")) (#$ . 3051)) #@51 Alist between matrix macros and their row ending. (defconst org-latex-table-matrix-macros '(("bordermatrix" . "\\cr") ("qbordermatrix" . "\\cr") ("kbordermatrix" . "\\\\")) (#$ . 4170)) (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\306\301\314\315&\210\310\316\317\320\306\301\314\321&\210\310\322\302\323\306\301\314\324&\210\310\325\326\327\306\301\314\330&\210\310\331\332\333\306\301\314\330&\210\310\334\335\336\306\301\314\337&\210\310\340\341\342\306\301\343\344\345\346\314\347&\210\310\350\351\352\306\301\314\330&\210\310\353\354\355\306\301\314\330&\210\310\356\354\357\306\301\314\330&\210\310\360\354\361\306\301\314\330&\210\310\362\363\364\306\301\343\344\345\365\314\330&\210\310\366\367\370\306\301\343\344\345\371\314\330&\210\310\372\363\373\306\301\343\344\345\374\314\330&\210\310\375\376\377\306\301\314\330&\210\310\201@ \201A \201B \306\301\343\344\345\201C \314\201D &\210\310\201E \201F \201G \306\301\314\330&\210\310\201H \201I \201J \306\301\343\344\345\201K \314\330&\210\310\201L \201M \201N \306\301\343\344\345\201O \314\201P &\210\310\201Q \335\201R \306\301\314\337&\210\310\201S \302\201T \306\301\343\344\345\201U \314\337&\210\310\201V \335\201W \306\301\314\337&\210\310\201X \201Y \201Z \306\301\343\344\345\201[ \314\201\\ &\210\310\201] \201^ \201_ \306\301\314\201` \201a \201b & \210\310\201c \201d \201e \306\301\343\344\345\201f \314\347&\210\310\201g \201h \201i \306\301\314\347&\210\310\201j \302\201k \306\301\314\201l &\210\310\201m \201n \201o \306\301\314\201p &\210\310\201q \302\201r \306\301\314\201s &\210\310\201t \201u \201v \306\301\314\201w &\210\310\201x \302\201y \306\301\314\201z &\207" [custom-declare-group org-export-latex nil "Options for exporting Org mode files to LaTeX." :tag "Org Export LaTeX" :group org-export custom-declare-variable org-latex-default-class "article" "The default LaTeX class." :type (string :tag "LaTeX class") org-latex-classes '(("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) "Alist of LaTeX classes and associated header and structure.\nIf #+LATEX_CLASS is set in the buffer, use its value and the\nassociated information. Here is the structure of each cell:\n\n (class-name\n header-string\n (numbered-section . unnumbered-section)\n ...)\n\nThe header string\n-----------------\n\nThe HEADER-STRING is the header that will be inserted into the\nLaTeX file. It should contain the \\documentclass macro, and\nanything else that is needed for this setup. To this header, the\nfollowing commands will be added:\n\n- Calls to \\usepackage for all packages mentioned in the\n variables `org-latex-default-packages-alist' and\n `org-latex-packages-alist'. Thus, your header definitions\n should avoid to also request these packages.\n\n- Lines specified via \"#+LATEX_HEADER:\" and\n \"#+LATEX_HEADER_EXTRA:\" keywords.\n\nIf you need more control about the sequence in which the header\nis built up, or if you want to exclude one of these building\nblocks for a particular class, you can use the following\nmacro-like placeholders.\n\n [DEFAULT-PACKAGES] \\usepackage statements for default packages\n [NO-DEFAULT-PACKAGES] do not include any of the default packages\n [PACKAGES] \\usepackage statements for packages\n [NO-PACKAGES] do not include the packages\n [EXTRA] the stuff from #+LATEX_HEADER(_EXTRA)\n [NO-EXTRA] do not include #+LATEX_HEADER(_EXTRA) stuff\n\nSo a header like\n\n \\documentclass{article}\n [NO-DEFAULT-PACKAGES]\n [EXTRA]\n \\providecommand{\\alert}[1]{\\textbf{#1}}\n [PACKAGES]\n\nwill omit the default packages, and will include the\n#+LATEX_HEADER and #+LATEX_HEADER_EXTRA lines, then have a call\nto \\providecommand, and then place \\usepackage commands based\non the content of `org-latex-packages-alist'.\n\nIf your header, `org-latex-default-packages-alist' or\n`org-latex-packages-alist' inserts \"\\usepackage[AUTO]{inputenc}\",\nAUTO will automatically be replaced with a coding system derived\nfrom `buffer-file-coding-system'. See also the variable\n`org-latex-inputenc-alist' for a way to influence this mechanism.\n\nLikewise, if your header contains \"\\usepackage[AUTO]{babel}\",\nAUTO will be replaced with the language related to the language\ncode specified by `org-export-default-language', which see. Note\nthat constructions such as \"\\usepackage[french,AUTO,english]{babel}\"\nare permitted.\n\nThe sectioning structure\n------------------------\n\nThe sectioning structure of the class is given by the elements\nfollowing the header string. For each sectioning level, a number\nof strings is specified. A %s formatter is mandatory in each\nsection string and will be replaced by the title of the section.\n\nInstead of a cons cell (numbered . unnumbered), you can also\nprovide a list of 2 or 4 elements,\n\n (numbered-open numbered-close)\n\nor\n\n (numbered-open numbered-close unnumbered-open unnumbered-close)\n\nproviding opening and closing strings for a LaTeX environment\nthat should represent the document section. The opening clause\nshould have a %s to represent the section title.\n\nInstead of a list of sectioning commands, you can also specify\na function name. That function will be called with two\nparameters, the (reduced) level of the headline, and a predicate\nnon-nil when the headline should be numbered. It must return\na format string in which the section title will be added." (repeat (list (string :tag "LaTeX class") (string :tag "LaTeX header") (repeat :tag "Levels" :inline t (choice (cons :tag "Heading" (string :tag " numbered") (string :tag "unnumbered")) (list :tag "Environment" (string :tag "Opening (numbered)") (string :tag "Closing (numbered)") (string :tag "Opening (unnumbered)") (string :tag "Closing (unnumbered)")) (function :tag "Hook computing sectioning"))))) org-latex-inputenc-alist "Alist of inputenc coding system names, and what should really be used.\nFor example, adding an entry\n\n (\"utf8\" . \"utf8x\")\n\nwill cause \\usepackage[utf8x]{inputenc} to be used for buffers that\nare written as utf8 files." (repeat (cons (string :tag "Derived from buffer") (string :tag "Use this instead"))) org-latex-title-command "\\maketitle" "The command used to insert the title just after \\begin{document}.\nIf this string contains the formatting specification \"%s\" then\nit will be used as a formatting string, passing the title as an\nargument." string org-latex-toc-command "\\tableofcontents\n\n" "LaTeX command to set the table of contents, list of figures, etc.\nThis command only applies to the table of contents generated with\nthe toc:nil option, not to those generated with #+TOC keyword." org-latex-with-hyperref t "Toggle insertion of \\hypersetup{...} in the preamble." boolean org-latex-format-headline-function 'org-latex-format-headline-default-function "Function for formatting the headline's text.\n\nThis function will be called with 5 arguments:\nTODO the todo keyword (string or nil).\nTODO-TYPE the type of todo (symbol: `todo', `done', nil)\nPRIORITY the priority of the headline (integer or nil)\nTEXT the main headline text (string).\nTAGS the tags as a list of strings (list of strings or nil).\n\nThe function result will be used in the section format string.\n\nUse `org-latex-format-headline-default-function' by default,\nwhich format headlines like for Org version prior to 8.0." :version "24.4" :package-version (Org . "8.0") function org-latex-footnote-separator "\\textsuperscript{,}\\," "Text used to separate footnotes." org-latex-active-timestamp-format "\\textit{%s}" "A printf format string to be applied to active timestamps." org-latex-inactive-timestamp-format "A printf format string to be applied to inactive timestamps." org-latex-diary-timestamp-format "A printf format string to be applied to diary timestamps." org-latex-image-default-option "" "Default option for images." (Org . "8.0") org-latex-image-default-width ".9\\linewidth" "Default width for images.\nThis value will not be used if a height is provided." (Org . "8.0") org-latex-image-default-height "Default height for images.\nThis value will not be used if a width is provided, or if the\nimage is wrapped within a \"figure\" or \"wrapfigure\"\nenvironment." (Org . "8.0") org-latex-default-figure-position "htb" "Default position for latex figures." org-latex-inline-image-rules '(("file" . "\\.\\(pdf\\|jpeg\\|jpg\\|png\\|ps\\|eps\\|tikz\\|pgf\\|svg\\)\\'")) "Rules characterizing image files that can be inlined into LaTeX.\n\nA rule consists in an association whose key is the type of link\nto consider, and value is a regexp that will be matched against\nlink's path.\n\nNote that, by default, the image extension *actually* allowed\ndepend on the way the LaTeX file is processed. When used with\npdflatex, pdf, jpg and png images are OK. When processing\nthrough dvi to Postscript, only ps and eps are allowed. The\ndefault we use here encompasses both." (Org . "8.0") (alist :key-type (string :tag "Type") :value-type (regexp :tag "Path")) org-latex-link-with-unknown-path-format "\\texttt{%s}" "Format string for links with unknown path type." org-latex-default-table-environment "tabular" "Default environment used to build tables." (Org . "8.0") org-latex-default-table-mode 'table "Default mode for tables.\n\nValue can be a symbol among:\n\n `table' Regular LaTeX table.\n\n `math' In this mode, every cell is considered as being in math\n mode and the complete table will be wrapped within a math\n environment. It is particularly useful to write matrices.\n\n `inline-math' This mode is almost the same as `math', but the\n math environment will be inlined.\n\n `verbatim' The table is exported as it appears in the Org\n buffer, within a verbatim environment.\n\nThis value can be overridden locally with, i.e. \":mode math\" in\nLaTeX attributes.\n\nWhen modifying this variable, it may be useful to change\n`org-latex-default-table-environment' accordingly." (Org . "8.0") (choice (const :tag "Table" table) (const :tag "Matrix" math) (const :tag "Inline matrix" inline-math) (const :tag "Verbatim" verbatim)) org-latex-tables-centered "When non-nil, tables are exported in a center environment." org-latex-tables-booktabs "When non-nil, display tables in a formal \"booktabs\" style.\nThis option assumes that the \"booktabs\" package is properly\nloaded in the header of the document. This value can be ignored\nlocally with \":booktabs t\" and \":booktabs nil\" LaTeX\nattributes." (Org . "8.0") org-latex-table-caption-above "When non-nil, place caption string at the beginning of the table.\nOtherwise, place it near the end." org-latex-table-scientific-notation "%s\\,(%s)" "Format string to display numbers in scientific notation.\nThe format should have \"%s\" twice, for mantissa and exponent\n(i.e., \"%s\\\\times10^{%s}\").\n\nWhen nil, no transformation is made." (Org . "8.0") (choice (string :tag "Format string") (const :tag "No formatting" nil)) org-latex-text-markup-alist '((bold . "\\textbf{%s}") (code . verb) (italic . "\\emph{%s}") (strike-through . "\\sout{%s}") (underline . "\\uline{%s}") (verbatim . protectedtexttt)) "Alist of LaTeX expressions to convert text markup.\n\nThe key must be a symbol among `bold', `code', `italic',\n`strike-through', `underline' and `verbatim'. The value is\na formatting string to wrap fontified text with.\n\nValue can also be set to the following symbols: `verb' and\n`protectedtexttt'. For the former, Org will use \"\\verb\" to\ncreate a format string and select a delimiter character that\nisn't in the string. For the latter, Org will use \"\\texttt\"\nto typeset and try to protect special characters.\n\nIf no association can be found for a given markup, text will be\nreturned as-is." alist :options (bold code italic strike-through underline verbatim) org-latex-format-drawer-function (lambda (name contents) contents) "Function called to format a drawer in LaTeX code.\n\nThe function must accept two parameters:\n NAME the drawer name, like \"LOGBOOK\"\n CONTENTS the contents of the drawer.\n\nThe function should return the string to be exported.\n\nThe default function simply returns the value of CONTENTS." (Org . "8.3") org-latex-format-inlinetask-function 'ignore "Function called to format an inlinetask in LaTeX code.\n\nThe function must accept six parameters:\n TODO the todo keyword, as a string\n TODO-TYPE the todo type, a symbol among `todo', `done' and nil.\n PRIORITY the inlinetask priority, as a string\n NAME the inlinetask name, as a string.\n TAGS the inlinetask tags, as a list of strings.\n CONTENTS the contents of the inlinetask, as a string.\n\nThe function should return the string to be exported.\n\nFor example, the variable could be set to the following function\nin order to mimic default behavior:\n\n(defun org-latex-format-inlinetask (todo type priority name tags contents)\n\"Format an inline task element for LaTeX export.\"\n (let ((full-title\n (concat\n (when todo\n (format \"\\\\textbf{\\\\textsf{\\\\textsc{%s}}} \" todo))\n (when priority (format \"\\\\framebox{\\\\#%c} \" priority))\n title\n (when tags\n (format \"\\\\hfill{}\\\\textsc{:%s:}\"\n (mapconcat \\='identity tags \":\")))))\n (format (concat \"\\\\begin{center}\\n\"\n \"\\\\fbox{\\n\"\n \"\\\\begin{minipage}[c]{.6\\\\textwidth}\\n\"\n \"%s\\n\\n\"\n \"\\\\rule[.8em]{\\\\textwidth}{2pt}\\n\\n\"\n \"%s\"\n \"\\\\end{minipage}}\"\n \"\\\\end{center}\")\n full-title contents))" org-latex-listings "Non-nil means export source code using the listings package.\n\nThis package will fontify source code, possibly even with color.\nIf you want to use this, you also need to make LaTeX use the\nlistings package, and if you want to have color, the color\npackage. Just add these to `org-latex-packages-alist', for\nexample using customize, or with something like:\n\n (require \\='ox-latex)\n (add-to-list \\='org-latex-packages-alist \\='(\"\" \"listings\"))\n (add-to-list \\='org-latex-packages-alist \\='(\"\" \"color\"))\n\nAlternatively,\n\n (setq org-latex-listings \\='minted)\n\ncauses source code to be exported using the minted package as\nopposed to listings. If you want to use minted, you need to add\nthe minted package to `org-latex-packages-alist', for example\nusing customize, or with\n\n (require \\='ox-latex)\n (add-to-list \\='org-latex-packages-alist \\='(\"\" \"minted\"))\n\nIn addition, it is necessary to install pygments\n(http://pygments.org), and to configure the variable\n`org-latex-pdf-process' so that the -shell-escape option is\npassed to pdflatex.\n\nThe minted choice has possible repercussions on the preview of\nlatex fragments (see `org-preview-latex-fragment'). If you run\ninto previewing problems, please consult\n\n http://orgmode.org/worg/org-tutorials/org-latex-preview.html" (choice (const :tag "Use listings" t) (const :tag "Use minted" minted) (const :tag "Export verbatim" nil)) org-latex-listings-langs '((emacs-lisp "Lisp") (lisp "Lisp") (clojure "Lisp") (c "C") (cc "C++") (fortran "fortran") (perl "Perl") (cperl "Perl") (python "Python") (ruby "Ruby") (html "HTML") (xml "XML") (tex "TeX") (latex "[LaTeX]TeX") (shell-script "bash") (gnuplot "Gnuplot") (ocaml "Caml") (caml "Caml") (sql "SQL") (sqlite "sql")) "Alist mapping languages to their listing language counterpart.\nThe key is a symbol, the major mode symbol without the \"-mode\".\nThe value is the string that should be inserted as the language\nparameter for the listings package. If the mode name and the\nlistings name are the same, the language does not need an entry\nin this list - but it does not hurt if it is present." (repeat (list (symbol :tag "Major mode ") (string :tag "Listings language"))) org-latex-listings-options "Association list of options for the latex listings package.\n\nThese options are supplied as a comma-separated list to the\n\\lstset command. Each element of the association list should be\na list containing two strings: the name of the option, and the\nvalue. For example,\n\n (setq org-latex-listings-options\n \\='((\"basicstyle\" \"\\\\small\")\n (\"keywordstyle\" \"\\\\color{black}\\\\bfseries\\\\underbar\")))\n\nwill typeset the code in a small size font with underlined, bold\nblack keywords.\n\nNote that the same options will be applied to blocks of all\nlanguages." (repeat (list (string :tag "Listings option name ") (string :tag "Listings option value"))) org-latex-minted-langs '((emacs-lisp "common-lisp") (cc "c++") (cperl "perl") (shell-script "bash") (caml "ocaml")) "Alist mapping languages to their minted language counterpart.\nThe key is a symbol, the major mode symbol without the \"-mode\".\nThe value is the string that should be inserted as the language\nparameter for the minted package. If the mode name and the\nlistings name are the same, the language does not need an entry\nin this list - but it does not hurt if it is present.\n\nNote that minted uses all lower case for language identifiers,\nand that the full list of language identifiers can be obtained\nwith:\n\n pygmentize -L lexers" (repeat (list (symbol :tag "Major mode ") (string :tag "Minted language"))) org-latex-minted-options "Association list of options for the latex minted package.\n\nThese options are supplied within square brackets in\n\\begin{minted} environments. Each element of the alist should\nbe a list containing two strings: the name of the option, and the\nvalue. For example,\n\n (setq org-latex-minted-options\n \\='((\"bgcolor\" \"bg\") (\"frame\" \"lines\")))\n\nwill result in src blocks being exported with\n\n\\begin{minted}[bgcolor=bg,frame=lines]{<LANG>}\n\nas the start of the minted environment. Note that the same\noptions will be applied to blocks of all languages." (repeat (list (string :tag "Minted option name ") (string :tag "Minted option value")))] 12) #@398 Alist mapping languages to language-specific LaTeX environments. It is used during export of src blocks by the listings and minted latex packages. For example, (setq org-latex-custom-lang-environments \='((python "pythoncode"))) would have the effect that if org encounters begin_src python during latex export it will output \begin{pythoncode} <src block body> \end{pythoncode} (defvar org-latex-custom-lang-environments nil (#$ . 22970)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\314&\210\300\315\316\317\304\313\306\320&\210\300\321\322\323\304\313\324\325\326\327\306\330&\207" [custom-declare-variable org-latex-pdf-process '("pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f") "Commands to process a LaTeX file to a PDF file.\nThis is a list of strings, each of them will be given to the\nshell as a command. %f in the command will be replaced by the\nfull file name, %b by the file base name (i.e. without directory\nand extension parts) and %o by the base directory of the file.\n\nThe reason why this is a list is that it usually takes several\nruns of `pdflatex', maybe mixed with a call to `bibtex'. Org\ndoes not have a clever mechanism to detect which of these\ncommands have to be run to get to a stable result, and it also\ndoes not do any error checking.\n\nBy default, Org uses 3 runs of `pdflatex' to do the processing.\nIf you have texi2dvi on your system and if that does not cause\nthe infamous egrep/locale bug:\n\n http://lists.gnu.org/archive/html/bug-texinfo/2010-03/msg00031.html\n\nthen `texi2dvi' is the superior choice as it automates the LaTeX\nbuild process by calling the \"correct\" combinations of\nauxiliary programs. Org does offer `texi2dvi' as one of the\ncustomize options. Alternatively, `rubber' and `latexmk' also\nprovide similar functionality. The latter supports `biber' out\nof the box.\n\nAlternatively, this may be a Lisp function that does the\nprocessing, so you could use this to apply the machinery of\nAUCTeX or the Emacs LaTeX mode. This function should accept the\nfile name as its single argument." :group org-export-pdf :type (choice (repeat :tag "Shell command sequence" (string :tag "Shell command")) (const :tag "2 runs of pdflatex" ("pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")) (const :tag "3 runs of pdflatex" ("pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")) (const :tag "pdflatex,bibtex,pdflatex,pdflatex" ("pdflatex -interaction nonstopmode -output-directory %o %f" "bibtex %b" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")) (const :tag "2 runs of xelatex" ("xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f")) (const :tag "3 runs of xelatex" ("xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f")) (const :tag "xelatex,bibtex,xelatex,xelatex" ("xelatex -interaction nonstopmode -output-directory %o %f" "bibtex %b" "xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f")) (const :tag "texi2dvi" ("texi2dvi -p -b -V %f")) (const :tag "rubber" ("rubber -d --into %o %f")) (const :tag "latexmk" ("latexmk -g -pdf %f")) (function)) org-latex-logfiles-extensions '("aux" "idx" "log" "out" "toc" "nav" "snm" "vrb") "The list of file extensions to consider as LaTeX logfiles.\nThe logfiles will be remove if `org-latex-remove-logfiles' is\nnon-nil." org-export-latex (repeat (string :tag "Extension")) org-latex-remove-logfiles t "Non-nil means remove the logfiles produced by PDF production.\nBy default, logfiles are files with these extensions: .aux, .idx,\n.log, .out, .toc, .nav, .snm and .vrb. To define the set of\nlogfiles to remove, set `org-latex-logfiles-extensions'." boolean org-latex-known-errors '(("Reference.*?undefined" . "[undefined reference]") ("Citation.*?undefined" . "[undefined citation]") ("Undefined control sequence" . "[undefined control sequence]") ("^! LaTeX.*?Error" . "[LaTeX error]") ("^! Package.*?Error" . "[package error]") ("Runaway argument" . "Runaway argument")) "Alist of regular expressions and associated messages for the user.\nThe regular expressions are used to find possible errors in the\nlog of a latex-run." :version "24.4" :package-version (Org . "8.0") (repeat (cons (string :tag "Regexp") (string :tag "Message")))] 12) #@206 Return caption and label LaTeX string for ELEMENT. INFO is a plist holding contextual information. If there's no caption nor label, return the empty string. For non-floats, see `org-latex--wrap-label'. (defalias 'org-latex--caption/label-string #[(element info) "\306;\203 \307\310 #\202 \311A@ \"*\312\n!\204# \313\202) \314\315\316\n!\"\317!\317\320\"\321\322\323#\312!\203H \324P\202~ \f\204V \313\232\203V \313\202~ \f\204` \324P\202~ \203u \314\325\326 \"\326\f\"$\202~ \314\327\326\f\"#-\207" [element property label label-str main short :name get-text-property 0 plist-get org-string-nw-p "" format "\\label{%s}" org-export-solidify-link-text org-export-get-caption t org-export-read-attribute :attr_latex :caption "\n" "\\caption[%s]{%s%s}\n" org-export-data "\\caption{%s%s}\n" caption-from-attr-latex info] 7 (#$ . 27847)]) #@201 Set the coding system in inputenc to what the buffer is. HEADER is the LaTeX header string. This function only applies when specified inputenc option is "AUTO". Return the new header, as a string. (defalias 'org-latex-guess-inputenc #[(header) "\3051 \306\206\n !0\202 \210\202 \206 \307\211\204 \2023 \310\n\f\"A\206) \n\311\312\n\313\314\315&)\207" [org-export-coding-system buffer-file-coding-system cs header org-latex-inputenc-alist (error) latexenc-coding-system-to-inputenc "utf8" assoc replace-regexp-in-string "\\\\usepackage\\[\\(AUTO\\)\\]{inputenc}" t nil 1] 8 (#$ . 28723)]) #@482 Set Babel's language according to LANGUAGE keyword. HEADER is the LaTeX header string. INFO is the plist used as a communication channel. Insertion of guessed language only happens when Babel package has explicitly been loaded. Then it is added to the rest of package's options. The argument to Babel may be "AUTO" which is then replaced with the language of the document or `org-export-default-language' unless language in question is already loaded. Return the new header. (defalias 'org-latex-guess-babel-language #[(header info) "\306\307\"\211;\203 \310\311\n\"\204 \n\202V \312 \313\216\314\315\316\n\"\317\"*\320 \f\"A\321\322\323 \235\203<