|
@@ -177,8 +177,10 @@ way they are handled must be hard-coded into
|
|
|
`org-export-get-inbuffer-options' function.")
|
|
|
|
|
|
(defconst org-export-filters-alist
|
|
|
- '((:filter-babel-call . org-export-filter-babel-call-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-code . org-export-filter-code-functions)
|
|
|
(:filter-comment . org-export-filter-comment-functions)
|
|
|
(:filter-comment-block . org-export-filter-comment-block-functions)
|
|
|
(:filter-drawer . org-export-filter-drawer-functions)
|
|
@@ -197,6 +199,7 @@ way they are handled must be hard-coded into
|
|
|
(: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)
|
|
@@ -216,6 +219,7 @@ way they are handled must be hard-coded into
|
|
|
(: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)
|
|
@@ -223,6 +227,7 @@ way they are handled must be hard-coded into
|
|
|
(:filter-table-row . org-export-filter-table-row-functions)
|
|
|
(:filter-target . org-export-filter-target-functions)
|
|
|
(:filter-time-stamp . org-export-filter-time-stamp-functions)
|
|
|
+ (:filter-underline . org-export-filter-underline-functions)
|
|
|
(:filter-verbatim . org-export-filter-verbatim-functions)
|
|
|
(:filter-verse-block . org-export-filter-verse-block-functions))
|
|
|
"Alist between filters properties and initial values.
|
|
@@ -258,8 +263,9 @@ rules.")
|
|
|
|
|
|
;; Configuration for the masses.
|
|
|
|
|
|
-;; They should never be evaled directly, as their value is to be
|
|
|
+;; They should never be accessed directly, as their value is to be
|
|
|
;; stored in a property list (cf. `org-export-option-alist').
|
|
|
+;; Back-ends will read their value from there instead.
|
|
|
|
|
|
(defgroup org-export nil
|
|
|
"Options for exporting Org mode files."
|
|
@@ -583,7 +589,9 @@ e.g. \"timestamp:nil\"."
|
|
|
|
|
|
(defcustom org-export-with-todo-keywords t
|
|
|
"Non-nil means include TODO keywords in export.
|
|
|
-When nil, remove all these keywords from the export.")
|
|
|
+When nil, remove all these keywords from the export."
|
|
|
+ :group 'org-export-general
|
|
|
+ :type 'boolean)
|
|
|
|
|
|
(defcustom org-export-allow-BIND 'confirm
|
|
|
"Non-nil means allow #+BIND to define local variable values for export.
|
|
@@ -1697,6 +1705,7 @@ code executed, on a copy of original buffer's area being
|
|
|
exported. Visibility is the same as in the original one. Point
|
|
|
is left at the beginning of the new one.")
|
|
|
|
|
|
+
|
|
|
;;;; Special Filters
|
|
|
|
|
|
(defvar org-export-filter-parse-tree-functions nil
|
|
@@ -1725,317 +1734,301 @@ nil.")
|
|
|
|
|
|
(defvar org-export-filter-center-block-functions nil
|
|
|
"List of functions applied to a transcoded center block.
|
|
|
-Each filter is called with three arguments: the transcoded center
|
|
|
-block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-drawer-functions nil
|
|
|
"List of functions applied to a transcoded drawer.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-drawer, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-dynamic-block-functions nil
|
|
|
"List of functions applied to a transcoded dynamic-block.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-dynamic-block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-headline-functions nil
|
|
|
"List of functions applied to a transcoded headline.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-headline, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-inlinetask-functions nil
|
|
|
"List of functions applied to a transcoded inlinetask.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-inlinetask, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-plain-list-functions nil
|
|
|
"List of functions applied to a transcoded plain-list.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-plain-list, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-item-functions nil
|
|
|
"List of functions applied to a transcoded item.
|
|
|
-Each filter is called with three arguments: the transcoded item,
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
as a string, the back-end, as a symbol, and the communication
|
|
|
channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-comment-functions nil
|
|
|
"List of functions applied to a transcoded comment.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-comment, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-comment-block-functions nil
|
|
|
"List of functions applied to a transcoded comment-comment.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-comment-block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-example-block-functions nil
|
|
|
"List of functions applied to a transcoded example-block.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-example-block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-export-block-functions nil
|
|
|
"List of functions applied to a transcoded export-block.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-export-block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-fixed-width-functions nil
|
|
|
"List of functions applied to a transcoded fixed-width.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-fixed-width, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-footnote-definition-functions nil
|
|
|
"List of functions applied to a transcoded footnote-definition.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-footnote-definition, as a string, the back-end, as a symbol, and
|
|
|
-the communication channel, as a plist. It must return a string
|
|
|
-or nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-horizontal-rule-functions nil
|
|
|
"List of functions applied to a transcoded horizontal-rule.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-horizontal-rule, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-keyword-functions nil
|
|
|
"List of functions applied to a transcoded keyword.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-keyword, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-latex-environment-functions nil
|
|
|
"List of functions applied to a transcoded latex-environment.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-latex-environment, as a string, the back-end, as a symbol, and
|
|
|
-the communication channel, as a plist. It must return a string
|
|
|
-or nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-babel-call-functions nil
|
|
|
"List of functions applied to a transcoded babel-call.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-babel-call, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-paragraph-functions nil
|
|
|
"List of functions applied to a transcoded paragraph.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-paragraph, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-property-drawer-functions nil
|
|
|
"List of functions applied to a transcoded property-drawer.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-property-drawer, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-quote-block-functions nil
|
|
|
"List of functions applied to a transcoded quote block.
|
|
|
Each filter is called with three arguments: the transcoded quote
|
|
|
-block, as a string, the back-end, as a symbol, and the
|
|
|
+data, as a string, the back-end, as a symbol, and the
|
|
|
communication channel, as a plist. It must return a string or
|
|
|
nil.")
|
|
|
|
|
|
(defvar org-export-filter-quote-section-functions nil
|
|
|
"List of functions applied to a transcoded quote-section.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-quote-section, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-section-functions nil
|
|
|
"List of functions applied to a transcoded section.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-section, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-special-block-functions nil
|
|
|
"List of functions applied to a transcoded special block.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-special block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-src-block-functions nil
|
|
|
"List of functions applied to a transcoded src-block.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-src-block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-table-functions nil
|
|
|
"List of functions applied to a transcoded table.
|
|
|
-Each filter is called with three arguments: the transcoded table,
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
as a string, the back-end, as a symbol, and the communication
|
|
|
channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-table-cell-functions nil
|
|
|
"List of functions applied to a transcoded table-cell.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-table-cell, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-table-row-functions nil
|
|
|
"List of functions applied to a transcoded table-row.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-table-row, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-verse-block-functions nil
|
|
|
"List of functions applied to a transcoded verse block.
|
|
|
-Each filter is called with three arguments: the transcoded verse
|
|
|
-block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
|
|
|
;;;; Objects Filters
|
|
|
|
|
|
-(defvar org-export-filter-emphasis-functions nil
|
|
|
- "List of functions applied to a transcoded emphasis.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-emphasis, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+(defvar org-export-filter-bold-functions nil
|
|
|
+ "List of functions applied to transcoded bold text.
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
+
|
|
|
+(defvar org-export-filter-code-functions nil
|
|
|
+ "List of functions applied to transcoded code text.
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-entity-functions nil
|
|
|
"List of functions applied to a transcoded entity.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-entity, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-export-snippet-functions nil
|
|
|
"List of functions applied to a transcoded export-snippet.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-export-snippet, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-footnote-reference-functions nil
|
|
|
"List of functions applied to a transcoded footnote-reference.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-footnote-reference, as a string, the back-end, as a symbol, and
|
|
|
-the communication channel, as a plist. It must return a string
|
|
|
-or nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-inline-babel-call-functions nil
|
|
|
"List of functions applied to a transcoded inline-babel-call.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-inline-babel-call, as a string, the back-end, as a symbol, and
|
|
|
-the communication channel, as a plist. It must return a string
|
|
|
-or nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-inline-src-block-functions nil
|
|
|
"List of functions applied to a transcoded inline-src-block.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-inline-src-block, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
+
|
|
|
+(defvar org-export-filter-italic-functions nil
|
|
|
+ "List of functions applied to transcoded italic text.
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-latex-fragment-functions nil
|
|
|
"List of functions applied to a transcoded latex-fragment.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-latex-fragment, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-line-break-functions nil
|
|
|
"List of functions applied to a transcoded line-break.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-line-break, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-link-functions nil
|
|
|
"List of functions applied to a transcoded link.
|
|
|
-Each filter is called with three arguments: the transcoded link,
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
as a string, the back-end, as a symbol, and the communication
|
|
|
channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-macro-functions nil
|
|
|
"List of functions applied to a transcoded macro.
|
|
|
-Each filter is called with three arguments: the transcoded macro,
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
as a string, the back-end, as a symbol, and the communication
|
|
|
channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-radio-target-functions nil
|
|
|
"List of functions applied to a transcoded radio-target.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-radio-target, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-statistics-cookie-functions nil
|
|
|
"List of functions applied to a transcoded statistics-cookie.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-statistics-cookie, as a string, the back-end, as a symbol, and
|
|
|
-the communication channel, as a plist. It must return a string
|
|
|
-or nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
+
|
|
|
+(defvar org-export-filter-strike-through-functions nil
|
|
|
+ "List of functions applied to transcoded strike-through text.
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-subscript-functions nil
|
|
|
"List of functions applied to a transcoded subscript.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-subscript, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-superscript-functions nil
|
|
|
"List of functions applied to a transcoded superscript.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-superscript, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-target-functions nil
|
|
|
"List of functions applied to a transcoded target.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-target, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-time-stamp-functions nil
|
|
|
"List of functions applied to a transcoded time-stamp.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-time-stamp, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
+
|
|
|
+(defvar org-export-filter-underline-functions nil
|
|
|
+ "List of functions applied to transcoded underline text.
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defvar org-export-filter-verbatim-functions nil
|
|
|
- "List of functions applied to a transcoded verbatim.
|
|
|
-Each filter is called with three arguments: the transcoded
|
|
|
-verbatim, as a string, the back-end, as a symbol, and the
|
|
|
-communication channel, as a plist. It must return a string or
|
|
|
-nil.")
|
|
|
+ "List of functions applied to transcoded verbatim text.
|
|
|
+Each filter is called with three arguments: the transcoded data,
|
|
|
+as a string, the back-end, as a symbol, and the communication
|
|
|
+channel, as a plist. It must return a string or nil.")
|
|
|
|
|
|
(defun org-export-filter-apply-functions (filters value info)
|
|
|
"Call every function in FILTERS.
|