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\305\306\307\310\311\312\313\314\315&\210\316\317\320\321\322DD\323\310\303\324\325&\210\326\327\330\331\332\333\334&\207" [require ox custom-declare-group org-export-org nil "Options for exporting Org mode files to Org." :tag "Org Export Org" :group org-export :version "24.4" :package-version (Org . "8.0") custom-declare-variable org-org-htmlized-css-url funcall function #[0 "\300\207" [nil] 1] "URL pointing to the CSS defining colors for htmlized Emacs buffers.\nNormally when creating an htmlized version of an Org buffer,\nhtmlize will create the CSS to define the font colors. However,\nthis does not work when converting in batch mode, and it also can\nlook bad if different people with different fontification setup\nwork on the same website. When this variable is non-nil,\ncreating an htmlized version of an Org buffer using\n`org-org-export-as-org' will include a link to this URL if the\nsetting of `org-html-htmlize-output-type' is `css'." :type (choice (const :tag "Don't include external stylesheet link" nil) (string :tag "URL or local href")) org-export-define-backend org ((babel-call . org-org-identity) (bold . org-org-identity) (center-block . org-org-identity) (clock . org-org-identity) (code . org-org-identity) (diary-sexp . org-org-identity) (drawer . org-org-identity) (dynamic-block . org-org-identity) (entity . org-org-identity) (example-block . org-org-identity) (export-block . org-org-export-block) (fixed-width . org-org-identity) (footnote-definition . ignore) (footnote-reference . org-org-identity) (headline . org-org-headline) (horizontal-rule . org-org-identity) (inline-babel-call . org-org-identity) (inline-src-block . org-org-identity) (inlinetask . org-org-identity) (italic . org-org-identity) (item . org-org-identity) (keyword . org-org-keyword) (latex-environment . org-org-identity) (latex-fragment . org-org-identity) (line-break . org-org-identity) (link . org-org-link) (node-property . org-org-identity) (template . org-org-template) (paragraph . org-org-identity) (plain-list . org-org-identity) (planning . org-org-identity) (property-drawer . org-org-identity) (quote-block . org-org-identity) (radio-target . org-org-identity) (section . org-org-section) (special-block . org-org-identity) (src-block . org-org-identity) (statistics-cookie . org-org-identity) (strike-through . org-org-identity) (subscript . org-org-identity) (superscript . org-org-identity) (table . org-org-identity) (table-cell . org-org-identity) (table-row . org-org-identity) (target . org-org-identity) (timestamp . org-org-identity) (underline . org-org-identity) (verbatim . org-org-identity) (verse-block . org-org-identity)) :menu-entry (79 "Export to Org" ((79 "As Org buffer" org-org-export-as-org) (111 "As Org file" org-org-export-to-org) (118 "As Org file and open" (lambda (a s v b) (if a (org-org-export-to-org t s v b) (org-open-file (org-org-export-to-org nil s v b))))))) :filters-alist ((:filter-parse-tree . org-org--add-missing-sections))] 12) |
|
16 |
#@342 Ensure each headline has an associated section. |
|
17 |
|
|
18 |
TREE is the parse tree being exported. |
|
19 |
|
|
20 |
Footnotes relative to the headline are inserted in the section, |
|
21 |
using `org-org-section'. However, this function is not called if |
|
22 |
the headline doesn't contain any section in the first place, so |
|
23 |
we make sure it is always called. |
|
24 |
|
|
25 |
(fn TREE BACKEND INFO) |
|
26 |
(defalias 'org-org--add-missing-sections #[771 "\300\301\302#\210\207" [org-element-map headline #[257 "\211\211:\204\n \300\202 \211@9\203 \211AA\202 \211\262@\301\302!\211:\204, \211;\2054 \303\2024 \211@9\2054 \211@\262\211\302=\203@ \300\202\263 \211\204\257 C\211\204O \202\252 \211\211\203\200 \211@\211\304\206] ;\203l \305\300$\210\202w A\306A@#\240\210\266A\266\202\202P \210\203\245 \307\310\211\211:\204\222 \300\202\237 \211@9\203\236 \211AA\202\237 \211\262\244#\210\206\252 \211\266\202\202\263 \311\"\262\207" [nil org-element-create section plain-text :parent org-add-props plist-put apply org-element-set-contents org-element-insert-before] 16 "\n\n(fn H)"]] 7 (#$ . 3448)]) |
|
27 |
#@117 Transcode a EXPORT-BLOCK element from Org to LaTeX. |
|
28 |
CONTENTS and INFO are ignored. |
|
29 |
|
|
30 |
(fn EXPORT-BLOCK CONTENTS INFO) |
|
31 |
(defalias 'org-org-export-block #[771 "\300\211;\203 \301\302#\202 \303A@\"\266\202\304\232\2053 \305\211;\203+ \301\302#\2021 \303A@\"\266\202\207" [:type get-text-property 0 plist-get "ORG" :value] 9 (#$ . 4519)]) |
|
32 |
#@145 Transcode BLOB element or object back into Org syntax. |
|
33 |
CONTENTS is its contents, as a string or nil. INFO is ignored. |
|
34 |
|
|
35 |
(fn BLOB CONTENTS INFO) |
|
36 |
(defalias 'org-org-identity #[771 "\301\302\303\304\305\301##)\207" [case-fold-search t replace-regexp-in-string "^[ ]*#\\+ATTR_[-_A-Za-z0-9]+:\\(?: .*\\)?\n" "" org-export-expand] 10 (#$ . 4870)]) |
|
37 |
#@143 Transcode HEADLINE element back into Org syntax. |
|
38 |
CONTENTS is its contents, as a string or nil. INFO is ignored. |
|
39 |
|
|
40 |
(fn HEADLINE CONTENTS INFO) |
|
41 |
(defalias 'org-org-headline #[771 "\300\211;\203 \301\302#\202 \303A@\"\266\202?\205\263 \303\304\"\204A \305\306;\2034 \307\306$\210\202? A\310A@#\240\210\266\303\311\"\204g \312\306;\203Z \307\306$\210\202e A\310A@#\240\210\266\303\313\"\204\215 \314\306;\203\200 \307\306$\210\202\213 A\310A@#\240\210\266\315\316\";\203\242 \307\306$\210\202\255 A\310A@#\240\210\266\317\"\207" [:footnote-section-p get-text-property 0 plist-get :with-todo-keywords :todo-keyword nil org-add-props plist-put :with-tags :tags :with-priority :priority :level org-export-get-relative-level org-element-headline-interpreter] 11 (#$ . 5225)]) |
|
42 |
#@112 Transcode KEYWORD element back into Org syntax. |
|
43 |
CONTENTS is nil. INFO is ignored. |
|
44 |
|
|
45 |
(fn KEYWORD CONTENTS INFO) |
|
46 |
(defalias 'org-org-keyword #[771 "\300\211;\203 \301\302#\202 \303A@\"\266\202\211\304\235?\205\" |