commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file contains utf-8 non-ASCII characters, |
|
7 |
;;; and so cannot be loaded into Emacs 22 or earlier. |
|
8 |
(and (boundp 'emacs-version) |
|
9 |
(< (aref emacs-version (1- (length emacs-version))) ?A) |
|
10 |
(string-lessp emacs-version "23") |
|
11 |
(error "`%s' was compiled for Emacs 23 or later" #$)) |
|
12 |
|
|
13 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
14 |
|
|
15 |
|
|
16 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\207" [require cl-lib ob-exp org-element org-macro tabulated-list] 2) |
|
17 |
#@55 Maximum nesting depth for headlines, counting from 0. |
|
18 |
(defconst org-export-max-depth 19 (#$ . 551)) |
|
19 |
#@1398 Alist between export properties and ways to set them. |
|
20 |
|
|
21 |
The key of the alist is the property name, and the value is a list |
|
22 |
like (KEYWORD OPTION DEFAULT BEHAVIOR) where: |
|
23 |
|
|
24 |
KEYWORD is a string representing a buffer keyword, or nil. Each |
|
25 |
property defined this way can also be set, during subtree |
|
26 |
export, through a headline property named after the keyword |
|
27 |
with the "EXPORT_" prefix (i.e. DATE keyword and EXPORT_DATE |
|
28 |
property). |
|
29 |
OPTION is a string that could be found in an #+OPTIONS: line. |
|
30 |
DEFAULT is the default value for the property. |
|
31 |
BEHAVIOR determines how Org should handle multiple keywords for |
|
32 |
the same property. It is a symbol among: |
|
33 |
nil Keep old value and discard the new one. |
|
34 |
t Replace old value with the new one. |
|
35 |
`space' Concatenate the values, separating them with a space. |
|
36 |
`newline' Concatenate the values, separating them with |
|
37 |
a newline. |
|
38 |
`split' Split values at white spaces, and cons them to the |
|
39 |
previous list. |
|
40 |
`parse' Parse value as a list of strings and Org objects, |
|
41 |
which can then be transcoded with, e.g., |
|
42 |
`org-export-data'. It implies `space' behavior. |
|
43 |
|
|
44 |
Values set through KEYWORD and OPTION have precedence over |
|
45 |
DEFAULT. |
|
46 |
|
|
47 |
All these properties should be back-end agnostic. Back-end |
|
48 |
specific properties are set through `org-export-define-backend'. |
|
49 |
Properties redefined there have precedence over these. |
|
50 |
(defconst org-export-options-alist '((:title "TITLE" nil nil parse) (:date "DATE" nil nil parse) (:author "AUTHOR" nil user-full-name parse) (:email "EMAIL" nil user-mail-address t) (:language "LANGUAGE" nil org-export-default-language t) (:select-tags "SELECT_TAGS" nil org-export-select-tags split) (:exclude-tags "EXCLUDE_TAGS" nil org-export-exclude-tags split) (:creator "CREATOR" nil org-export-creator-string) (:headline-levels nil "H" org-export-headline-levels) (:preserve-breaks nil "\\n" org-export-preserve-breaks) (:section-numbers nil "num" org-export-with-section-numbers) (:time-stamp-file nil "timestamp" org-export-time-stamp-file) (:with-archived-trees nil "arch" org-export-with-archived-trees) (:with-author nil "author" org-export-with-author) (:with-broken-links nil "broken-links" org-export-with-broken-links) (:with-clocks nil "c" org-export-with-clocks) (:with-creator nil "creator" org-export-with-creator) (:with-date nil "date" org-export-with-date) (:with-drawers nil "d" org-export-with-drawers) (:with-email nil "email" org-export-with-email) (:with-emphasize nil "*" org-export-with-emphasize) (:with-entities nil "e" org-export-with-entities) (:with-fixed-width nil ":" org-export-with-fixed-width) (:with-footnotes nil "f" org-export-with-footnotes) (:with-inlinetasks nil "inline" org-export-with-inlinetasks) (:with-latex nil "tex" org-export-with-latex) (:with-planning nil "p" org-export-with-planning) (:with-priority nil "pri" org-export-with-priority) (:with-properties nil "prop" org-export-with-properties) (:with-smart-quotes nil "'" org-export-with-smart-quotes) (:with-special-strings nil "-" org-export-with-special-strings) (:with-statistics-cookies nil "stat" org-export-with-statistics-cookies) (:with-sub-superscript nil "^" org-export-with-sub-superscripts) (:with-toc nil "toc" org-export-with-toc) (:with-tables nil "|" org-export-with-tables) (:with-tags nil "tags" org-export-with-tags) (:with-tasks nil "tasks" org-export-with-tasks) (:with-timestamps nil "<" org-export-with-timestamps) (:with-title nil "title" org-export-with-title) (:with-todo-keywords nil "todo" org-export-with-todo-keywords)) (#$ . 659)) |
|
51 |
#@213 List of in-buffer keywords that require special treatment. |
|
52 |
These keywords are not directly associated to a property. The |
|
53 |
way they are handled must be hard-coded into |
|
54 |
`org-export--get-inbuffer-options' function. |
|
55 |
(defconst org-export-special-keywords '("FILETAGS" "SETUPFILE" "OPTIONS") (#$ . 4234)) |
|
56 |
#@463 Alist between filters properties and initial values. |
|
57 |
|
|
58 |
The key of each association is a property name accessible through |
|
59 |
the communication channel. Its value is a configurable global |
|
60 |
variable defining initial filters. |
|
61 |
|
|
62 |
This list is meant to install user specified filters. Back-end |
|
63 |
developers may install their own filters using |
|
64 |
`org-export-define-backend'. Filters defined there will always |
|
65 |
be prepended to the current list, so they always get applied |
|
66 |
first. |
|
67 |
(defconst org-export-filters-alist '((:filter-body . org-export-filter-body-functions) (:filter-bold . org-export-filter-bold-functions) (:filter-babel-call . org-export-filter-babel-call-functions) (:filter-center-block . org-export-filter-center-block-functions) (:filter-clock . org-export-filter-clock-functions) (:filter-code . org-export-filter-code-functions) (:filter-diary-sexp . org-export-filter-diary-sexp-functions) (:filter-drawer . org-export-filter-drawer-functions) (:filter-dynamic-block . org-export-filter-dynamic-block-functions) (:filter-entity . org-export-filter-entity-functions) (:filter-example-block . org-export-filter-example-block-functions) (:filter-export-block . org-export-filter-export-block-functions) (:filter-export-snippet . org-export-filter-export-snippet-functions) (:filter-final-output . org-export-filter-final-output-functions) (:filter-fixed-width . org-export-filter-fixed-width-functions) (:filter-footnote-definition . org-export-filter-footnote-definition-functions) (:filter-footnote-reference . org-export-filter-footnote-reference-functions) (:filter-headline . org-export-filter-headline-functions) (:filter-horizontal-rule . org-export-filter-horizontal-rule-functions) (:filter-inline-babel-call . org-export-filter-inline-babel-call-functions) (:filter-inline-src-block . org-export-filter-inline-src-block-functions) (:filter-inlinetask . org-export-filter-inlinetask-functions) (:filter-italic . org-export-filter-italic-functions) (:filter-item . org-export-filter-item-functions) (:filter-keyword . org-export-filter-keyword-functions) (:filter-latex-environment . org-export-filter-latex-environment-functions) (:filter-latex-fragment . org-export-filter-latex-fragment-functions) (:filter-line-break . org-export-filter-line-break-functions) (:filter-link . org-export-filter-link-functions) (:filter-node-property . org-export-filter-node-property-functions) (:filter-options . org-export-filter-options-functions) (:filter-paragraph . org-export-filter-paragraph-functions) (:filter-parse-tree . org-export-filter-parse-tree-functions) (:filter-plain-list . org-export-filter-plain-list-functions) (:filter-plain-text . org-export-filter-plain-text-functions) (:filter-planning . org-export-filter-planning-functions) (:filter-property-drawer . org-export-filter-property-drawer-functions) (:filter-quote-block . org-export-filter-quote-block-functions) (:filter-radio-target . org-export-filter-radio-target-functions) (:filter-section . org-export-filter-section-functions) (:filter-special-block . org-export-filter-special-block-functions) (:filter-src-block . org-export-filter-src-block-functions) (:filter-statistics-cookie . org-export-filter-statistics-cookie-functions) (:filter-strike-through . org-export-filter-strike-through-functions) (:filter-subscript . org-export-filter-subscript-functions) (:filter-superscript . org-export-filter-superscript-functions) (:filter-table . org-export-filter-table-functions) (:filter-table-cell . org-export-filter-table-cell-functions) (:filter-table-row . org-export-filter-table-row-functions) (:filter-target . org-export-filter-target-functions) (:filter-timestamp . org-export-filter-timestamp-functions) (:filter-underline . org-export-filter-underline-functions) (:filter-verbatim . org-export-filter-verbatim-functions) (:filter-verse-block . org-export-filter-verse-block-functions)) (#$ . 4540)) |
|
68 |
#@351 Default rule for link matching an inline image. |
|
69 |
This rule applies to links with no description. By default, it |
|
70 |
will be considered as an inline image if it targets a local file |
|
71 |
whose extension is either "png", "jpeg", "jpg", "gif", |
|
72 |
"tiff", "tif", "xbm", "xpm", "pbm", "pgm" or "ppm". |
|
73 |
See `org-export-inline-image-p' for more information about |
|
74 |
rules. |
|
75 |
(defconst org-export-default-inline-image-rule (byte-code "\300\301\302\303\"BC\207" ["file" format "\\.%s\\'" "\\(gif\\|jp\\(?:e?g\\)\\|p\\(?:bm\\|gm\\|ng\\|pm\\)\\|tiff?\\|x\\(?:[bp]m\\)\\)"] 4) (#$ . 8434)) |
|
76 |
#@284 List of variables not copied through upon buffer duplication. |
|
77 |
Export process takes place on a copy of the original buffer. |
|
78 |
When this copy is created, all Org related local variables not in |
|
79 |
this list are copied to the new buffer. Variables with an |
|
80 |
unreadable value are also ignored. |
|
81 |
(defconst org-export-ignored-local-variables '(org-font-lock-keywords org-element--cache org-element--cache-objects org-element--cache-sync-keys org-element--cache-sync-requests org-element--cache-sync-timer) (#$ . 9001)) |
|
82 |
#@323 Non-nil means asynchronous export process should leave data behind. |
|
83 |
|
|
84 |
This data is found in the appropriate "*Org Export Process*" |
|
85 |
buffer, and in files prefixed with "org-export-process" and |
|
86 |
located in `temporary-file-directory'. |
|
87 |
|
|
88 |
When non-nil, it will also set `debug-on-error' to a non-nil |
|
89 |
value in the external process. |
|
90 |
(defvar org-export-async-debug nil (#$ . 9513)) |
|
91 |
#@379 Record asynchronously generated export results and processes. |
|
92 |
This is an alist: its CAR is the source of the |
|
93 |
result (destination file or buffer for a finished process, |
|
94 |
original buffer for a running one) and its CDR is a list |
|
95 |
containing the back-end used, as a symbol, and either a process |
|
96 |
or the time at which it finished. It is used to build the menu |
|
97 |
from `org-export-stack'. |
|
98 |
(defvar org-export-stack-contents nil (#$ . 9890)) |
|
99 |
#@160 List of backends currently available in the exporter. |
|
100 |
This variable is set with `org-export-define-backend' and |
|
101 |
`org-export-define-derived-backend' functions. |
|
102 |
(defvar org-export-registered-backends nil (#$ . 10326)) |
|
103 |
#@148 Last command called from the dispatcher. |
|
104 |
The value should be a list. Its CAR is the action, as a symbol, |
|
105 |
and its CDR is a list of export options. |
|
106 |
(defvar org-export-dispatch-last-action nil (#$ . 10549)) |
|
107 |
#@228 The position where the last export command was created using the dispatcher. |
|
108 |
This marker will be used with `C-u C-c C-e' to make sure export repetition |
|
109 |
uses the same subtree if the previous command was restricted to a subtree. |
|
110 |
(defvar org-export-dispatch-last-position (make-marker) (#$ . 10761)) |
|
111 |
#@328 Name, if any, of the back-end used during an export process. |
|
112 |
|
|
113 |
Its value is a symbol such as `html', `latex', `ascii', or nil if |
|
114 |
the back-end is anonymous (see `org-export-create-backend') or if |
|
115 |
there is no export process in progress. |
|
116 |
|
|
117 |
It can be used to teach Babel blocks how to act differently |
|
118 |
according to the back-end used. |
|
119 |
(defvar org-export-current-backend nil (#$ . 11065)) |
|
120 |
(byte-code "\300\301\302\303\304\305\306\307&\210\300\310\302\311\304\312\306\301&\210\313\314\315\316\317DD\320\306\310\321\322\323\324& \210\313\325\315\316\326DD\327\306\310\321\330\323\331& \210\313\332\315\316\333DD\334\306\310\321\330\323\331& \210\313\335\315\316\336DD\337\306\310\340\341\342\343\321\330\323\331&
\210\313\344\315\316\345DD\346\306\310\321\330\323\331& \210\313\347\315\316\350DD\351\306\310\321\352\323\353& \210\313\354\315\316\355DD\356\306\310\321\357\323\360& \210\313\361\315\316\362DD\363\306\310\340\364\342\365\321\366\323\367&
\210\313\370\315\316\371DD\372\306\310\321\330\323\331& \210\313\373\315\316\374DD\375\306\310\321\330\323\331& \210\313\376\315\316\377DD\201@ \306\310\321\201A \323\201B & \210\313\201C \315\316\201D DD\201E \306\310\340\364\342\201F \321\330\323\331&
\210\313\201G \315\316\201H DD\201I \306\310\321\330\323\331& \210\313\201J \315\316\201K DD\201L \306\310\340\364\342\201M \321\201N \323\201O &
\210\313\201P \315\316\201Q DD\201R \306\310\321\201S \323\201T & \210\313\201U \315\316\201V DD\201W \306\310\321\201X \323\360& \210\313\201Y \315\316\201Z DD\201[ \306\310\321\330\323\331& \210\313\201\\ \315\316\201] DD\201^ \306\310\321\330\323\331& \210\313\201_ \315\316\201` DD\201a \306\310\340\364\342\201b \321\330\323\331&
\210\313\201c \315\316\201d DD\201e \306\310\340\364\342\201f \321\330\323\331&
\210\313\201g \315\316\201h DD\201i \306\310\321\330\323\331& \210\313\201j \315\316\201k DD\201l \306\310\340\341\342\201m \321\201n \323\201o &
\210\313\201p \315\316\201q DD\201r \306\310\321\330\323\331& \210\313\201s \315\316\201t DD\201u \306\310\321\201v \323\201w & \210\313\201x \315\316\201y DD\201z \306\310\340\364\342\201{ \321\330\323\331&
\210\313\201| \315\316\201} DD\201~ \306\310\321\330\323\331& \210\313\201 \315\316\201\200 DD\201\201 \306\310\340\364\342\201\202 \321\330\323\331&
\210\313\201\203 \315\316\201\204 DD\201\205 \306\310\340\364\342\201\206 \321\201\207 \323\201\210 &
\210\313\201\211 \315\316\201\212 DD\201\213 \306\310\321\201\214 \323\201\215 & \210\313\201\216 \315\316\201\217 DD\201\220 \306\310\340\364\342\201\221 \321\330\323\331&
\210\313\201\222 \315\316\201\223 DD\201\224 \306\310\321\201\225 \323\201\226 & \210\313\201\227 \315\316\201\230 DD\201\231 \306\310\321\201\232 \323\201\233 & \210\313\201\234 \315\316\201\235 DD\201\236 \306\310\340\341\342\201\237 \321\330\323\331&
\210\313\201\240 \315\316\201\241 DD\201\242 \306\310\321\330\323\331& \210\313\201\243 \315\316\201\244 DD\201\245 \306\310\321\201\246 \323\201\247 & \210\313\201\250 \315\316\201\251 DD\201\252 \306\310\321\330&\210\313\201\253 \315\316\201\254 DD\201\255 \306\310\340\364\342\201\256 \321\330&\210\313\201\257 \315\316\201\260 DD\201\261 \306\310\340\341\342\201\262 \321\201\263 &\210\313\201\264 \315\316\201\265 DD\201\266 \306\310\340\364\342\201\267 \321\201\270 \323\201\271 &
\210\313\201\272 \315\316\201\273 DD\201\274 \306\310\340\341\342\201\275 \321\201\276 &\210\313\201\277 \315\316\201\300 DD\201\301 \306\310\340\364\342\201\302 \321\201\303 &\210\313\201\304 \315\316\201\305 DD\201\306 \306\310\340\341\342\201\307 \321\201\310 &\210\313\201\311 \315\316\201\312 DD\201\313 \306\310\321\201\314 &\210\313\201\315 \315\316\201\316 DD\201\317 \306\310\321\330&\210\313\201\320 \315\316\201\321 DD\201\322 \306\310\340\364\342\201\323 \321\330&\210\313\201\324 \315\316\201\325 DD\201\326 \306\310\340\364\342\201\327 \321\201\330 &\210\313\201\331 \315\316\201\332 DD\201\333 \306\310\340\364\342\201\334 \321\330&\207" [custom-declare-group org-export nil "Options for exporting Org mode files." :tag "Org Export" :group org org-export-general "General options for export engine." "Org Export General" custom-declare-variable org-export-with-archived-trees funcall function #[0 "\300\207" [headline] 1] "Whether sub-trees with the ARCHIVE tag should be exported.\n\nThis can have three different values:\nnil Do not export, pretend this tree is not present.\nt Do export the entire tree.\n`headline' Only export the headline, but skip the tree below it.\n\nThis option can also be set with the OPTIONS keyword,\ne.g. \"arch:nil\"." :type (choice (const :tag "Not at all" nil) (const :tag "Headline only" headline) (const :tag "Entirely" t)) :safe #[257 "\211\300>\207" [(t nil headline)] 3 "\n\n(fn X)"] org-export-with-author #[0 "\300\207" [t] 1] "Non-nil means insert author name into the exported file.\nThis option can also be set with the OPTIONS keyword,\ne.g. \"author:nil\"." boolean booleanp org-export-with-clocks #[0 "\300\207" [nil] 1] "Non-nil means export CLOCK keywords.\nThis option can also be set with the OPTIONS keyword,\ne.g. \"c:t\"." org-export-with-creator #[0 "\300\207" [nil] 1] "Non-nil means the postamble should contain a creator sentence.\n\nThe sentence can be set in `org-export-creator-string', which\nsee.\n\nThis option can also be set with the OPTIONS keyword, e.g.,\n\"creator:t\"." :version "26.1" :package-version (Org . "8.3") org-export-with-date #[0 "\300\207" [t] 1] "Non-nil means insert date in the exported document.\nThis option can also be set with the OPTIONS keyword,\ne.g. \"date:nil\"." org-export-date-timestamp-format #[0 "\300\207" [nil] 1] "Time-stamp format string to use for DATE keyword.\n\nThe format string, when specified, only applies if date consists\nin a single time-stamp. Otherwise its value will be ignored.\n\nSee `format-time-string' for details on how to build this\nstring." (choice (string :tag "Time-stamp format string") (const :tag "No format string" nil)) #[257 "\211?\206 \211;\207" [] 2 "\n\n(fn X)"] org-export-creator-string #[0 "\301\302\303\304!\203 \304 \202 \305#\207" [emacs-version format "Emacs %s (Org mode %s)" fboundp org-version "unknown version"] 5] "Information about the creator of the document.\nThis option can also be set on with the CREATOR keyword." (string :tag "Creator string") stringp org-export-with-drawers #[0 "\300\207" [(not "LOGBOOK")] 1] "Non-nil means export contents of standard drawers.\n\nWhen t, all drawers are exported. This may also be a list of\ndrawer names to export, as strings. If that list starts with\n`not', only drawers with such names will be ignored.\n\nThis variable doesn't apply to properties drawers. See\n`org-export-with-properties' instead.\n\nThis option can also be set with the OPTIONS keyword,\ne.g. \"d:nil\"." "24.4" (Org . "8.0") (choice (const :tag "All drawers" t) (const :tag "None" nil) (repeat :tag "Selected drawers" (string :tag "Drawer name")) (list :tag "Ignored drawers" (const :format "" not) (repeat :tag "Specify names of drawers to ignore during export" :inline t (string :tag "Drawer name")))) #[257 "\300!\206 \211:\207" [booleanp] 3 "\n\n(fn X)"] org-export-with-email #[0 "\300\207" [nil] 1] "Non-nil means insert author email into the exported file.\nThis option can also be set with the OPTIONS keyword,\ne.g. \"email:t\"." org-export-with-emphasize #[0 "\300\207" [t] 1] "Non-nil means interpret *word*, /word/, _word_ and +word+.\n\nIf the export target supports emphasizing text, the word will be\ntypeset in bold, italic, with an underline or strike-through,\nrespectively.\n\nThis option can also be set with the OPTIONS keyword,\ne.g. \"*:nil\"." org-export-exclude-tags #[0 "\300\207" [("noexport")] 1] "Tags that exclude a tree from export.\n\nAll trees carrying any of these tags will be excluded from\nexport. This is without condition, so even subtrees inside that\ncarry one of the `org-export-select-tags' will be removed.\n\nThis option can also be set with the EXCLUDE_TAGS keyword." (repeat (string :tag "Tag")) #[257 "\211<\205 |