|
@@ -382,11 +382,17 @@ precedence over this variable."
|
|
:group 'org-export-html
|
|
:group 'org-export-html
|
|
:type '(choice (const :tag "No preamble" nil)
|
|
:type '(choice (const :tag "No preamble" nil)
|
|
(const :tag "Default preamble" t)
|
|
(const :tag "Default preamble" t)
|
|
- (string :tag "Custom formatting string")
|
|
|
|
|
|
+ (string :tag "Custom format string")
|
|
(function :tag "Function (must return a string)")))
|
|
(function :tag "Function (must return a string)")))
|
|
|
|
|
|
(defcustom org-export-html-preamble-format '(("en" ""))
|
|
(defcustom org-export-html-preamble-format '(("en" ""))
|
|
- "The format for the HTML preamble.
|
|
|
|
|
|
+ "Alist of languages and format strings for the HTML preamble.
|
|
|
|
+
|
|
|
|
+The first element of each list is the language code, as used for
|
|
|
|
+the #+LANGUAGE keyword.
|
|
|
|
+
|
|
|
|
+The second element of each list is a format string to format the
|
|
|
|
+preamble itself. This format string can contain these elements:
|
|
|
|
|
|
%t stands for the title.
|
|
%t stands for the title.
|
|
%a stands for the author's name.
|
|
%a stands for the author's name.
|
|
@@ -416,8 +422,8 @@ precedence over this variable."
|
|
:group 'org-export-html
|
|
:group 'org-export-html
|
|
:type '(choice (const :tag "No postamble" nil)
|
|
:type '(choice (const :tag "No postamble" nil)
|
|
(const :tag "Auto preamble" 'auto)
|
|
(const :tag "Auto preamble" 'auto)
|
|
- (const :tag "Default formatting string" t)
|
|
|
|
- (string :tag "Custom formatting string")
|
|
|
|
|
|
+ (const :tag "Default format string" t)
|
|
|
|
+ (string :tag "Custom format string")
|
|
(function :tag "Function (must return a string)")))
|
|
(function :tag "Function (must return a string)")))
|
|
|
|
|
|
(defcustom org-export-html-postamble-format
|
|
(defcustom org-export-html-postamble-format
|
|
@@ -426,7 +432,13 @@ precedence over this variable."
|
|
<p class=\"creator\">Generated by %c</p>
|
|
<p class=\"creator\">Generated by %c</p>
|
|
<p class=\"xhtml-validation\">%v</p>
|
|
<p class=\"xhtml-validation\">%v</p>
|
|
"))
|
|
"))
|
|
- "The format for the HTML postamble.
|
|
|
|
|
|
+ "Alist of languages and format strings for the HTML postamble.
|
|
|
|
+
|
|
|
|
+The first element of each list is the language code, as used for
|
|
|
|
+the #+LANGUAGE keyword.
|
|
|
|
+
|
|
|
|
+The second element of each list is a format string to format the
|
|
|
|
+postamble itself. This format string can contain these elements:
|
|
|
|
|
|
%a stands for the author's name.
|
|
%a stands for the author's name.
|
|
%e stands for the author's email.
|
|
%e stands for the author's email.
|