From 085e86dd535ca510ef1d317dcf9b388a08ec2a27 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 5 Mar 2013 15:28:43 +0100 Subject: [PATCH] ox-html.el: Update the default CSS * ox-html.el (org-html-style-default): Cosmetic changes. (org-html-postamble, org-html-preamble) (org-html-preamble-format): Update docstring. --- lisp/ox-html.el | 93 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 51 insertions(+), 42 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index f45784e22..5ad5ee10a 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -195,28 +195,31 @@ for the JavaScript code in this tag. (defconst org-html-style-default "" "The default style specification for exported HTML files. @@ -926,20 +929,21 @@ You can also customize this for each buffer, using something like (defcustom org-html-postamble 'auto "Non-nil means insert a postamble in HTML export. -When t, insert a string as defined by the formatting string in -`org-html-postamble-format'. When set to a string, this -string overrides `org-html-postamble-format'. When set to -'auto, discard `org-html-postamble-format' and honor -`org-export-author/email/creator-info' variables. When set to a -function, apply this function and insert the returned string. -The function takes the property list of export options as its -only argument. +When set to 'auto, check against the +`org-export-with-author/email/creator/date' variables to set the +content of the postamble. When set to a string, use this string +as the postamble. When t, insert a string as defined by the +formatting string in `org-html-postamble-format'. + +When set to a function, apply this function and insert the +returned string. The function takes the property list of export +options as its only argument. Setting :html-postamble in publishing projects will take precedence over this variable." :group 'org-export-html :type '(choice (const :tag "No postamble" nil) - (const :tag "Auto preamble" 'auto) + (const :tag "Auto postamble" 'auto) (const :tag "Default formatting string" t) (string :tag "Custom formatting string") (function :tag "Function (must return a string)"))) @@ -989,9 +993,11 @@ like that: \"%%\"." (defcustom org-html-preamble t "Non-nil means insert a preamble in HTML export. -When t, insert a string as defined by one of the formatting -strings in `org-html-preamble-format'. When set to a -string, this string overrides `org-html-preamble-format'. +When t, insert a string as defined by the formatting string in +`org-html-preamble-format'. When set to a string, use this +formatting string instead (see `org-html-postamble-format' for an +example of such a formatting string). + When set to a function, apply this function and insert the returned string. The function takes the property list of export options as its only argument. @@ -1019,7 +1025,10 @@ preamble itself. This format string can contain these elements: %d stands for the date. If you need to use a \"%\" character, you need to escape it -like that: \"%%\"." +like that: \"%%\". + +See the default value of `org-html-postamble-format' for an +example." :group 'org-export-html :type '(alist :key-type (string :tag "Language") :value-type (string :tag "Format string"))) -- 2.11.4.GIT