summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-04 17:56:37 +0100
committerBastien Guerry <bzg@altern.org>2013-03-04 17:56:37 +0100
commit516f0df8449129b53ad5fe447fadf551104dc7f6 (patch)
tree5cabed11fb140b7e5c118eaf87e635540180c276
parentb8cc4076fe7cfb678f8e74269f05e02e4d718227 (diff)
downloadorg-mode-516f0df8449129b53ad5fe447fadf551104dc7f6.tar.gz
Update HTML options names in the manual and ox-html.el.
* org.texi (CSS support): (In-buffer settings): Update HTML options names. * ox-html.el (html): Update HTML options names.
-rw-r--r--doc/org.texi25
-rw-r--r--lisp/ox-html.el4
2 files changed, 16 insertions, 13 deletions
diff --git a/doc/org.texi b/doc/org.texi
index 5d3d568..f2659da 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -10427,22 +10427,25 @@ p.footnote @r{footnote definition paragraph, containing a footnote}
@end example
@vindex org-html-style-default
-@vindex org-html-style-include-default
-@vindex org-html-style
-@vindex org-html-style-default
+@vindex org-html-head-include-default-style
+@vindex org-html-head
+@vindex org-html-head-extra
+@cindex #+HTML_INCLUDE_STYLE
Each exported file contains a compact default style that defines these
classes in a basic way@footnote{This style is defined in the constant
@code{org-html-style-default}, which you should not modify. To turn
inclusion of these defaults off, customize
-@code{org-html-style-include-default}}. You may overwrite these
-settings, or add to them by using the variables @code{org-html-style}
-(for Org-wide settings) and @code{org-html-style-extra} (for more
-fine-grained settings, like file-local settings). To set the latter variable
-individually for each file, you can use
+@code{org-html-head-include-default-style} or set @code{#+HTML_INCLUDE_STYLE}
+to nil on a per-file basis.}. You may overwrite these settings, or add to
+them by using the variables @code{org-html-head} and
+@code{org-html-head-extra}. You can override the global values of these
+variables for each file by using these keywords:
-@cindex #+HTML_STYLE
+@cindex #+HTML_HEAD
+@cindex #+HTML_HEAD_EXTRA
@example
-#+HTML_STYLE: <link rel="stylesheet" type="text/css" href="stylesheet.css" />
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="style1.css" />
+#+HTML_HEAD_EXTRA: <link rel="alternate stylesheet" type="text/css" href="style2.css" />
@end example
@noindent
@@ -14745,7 +14748,7 @@ This line contains the formulas for the table directly above the line.
@item #+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+DATE:,
@itemx #+OPTIONS:, #+BIND:,
@itemx #+DESCRIPTION:, #+KEYWORDS:,
-@itemx #+LaTeX_HEADER:, #+HTML_STYLE:, #+HTML_LINK_UP:, #+HTML_LINK_HOME:,
+@itemx #+LaTeX_HEADER:, #+HTML_HEAD:, #+HTML_LINK_UP:, #+HTML_LINK_HOME:,
@itemx #+SELECT_TAGS:, #+EXCLUDE_TAGS:
These lines provide settings for exporting files. For more details see
@ref{Export options}.
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index a083582..31e45b2 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -120,8 +120,8 @@
(:html-preamble nil "html-preamble" org-html-preamble)
(:html-head "HTML_HEAD" nil org-html-head newline)
(:html-head-extra "HTML_HEAD_EXTRA" nil org-html-head-extra newline)
- (:html-head-include-default-style nil nil org-html-head-include-default-style)
- (:html-head-include-scripts nil nil org-html-head-include-scripts)
+ (:html-head-include-default-style "HTML_INCLUDE_STYLE" nil org-html-head-include-default-style newline)
+ (:html-head-include-scripts "HTML_INCLUDE_SCRIPTS" nil org-html-head-include-scripts newline)
(:html-table-tag nil nil org-html-table-tag)
;; Redefine regular options.
(:creator "CREATOR" nil org-html-creator-string)