summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-04-17 19:33:34 (GMT)
committer Nicolas Goaziou <n.goaziou@gmail.com>2013-04-17 20:12:50 (GMT)
commit718e7e8b80c47205c36559dcce482f63e302fdf0 (patch)
tree2b461d8e1a794b5bd4fd40e2fc19cf52260ca823
parentf6bf19f898b1e89728db4e3be2b3c176a4067e53 (diff)
downloadorg-mode-718e7e8b80c47205c36559dcce482f63e302fdf0.zip
org-mode-718e7e8b80c47205c36559dcce482f63e302fdf0.tar.gz
org.texi: Small fixes to HTML documentation
* doc/org.texi (Math formatting in HTML export): Fix OPTIONS item's name. (Text areas in HTML export): Update text areas. (HTML Export commands): Update export commands.
-rw-r--r--doc/org.texi30
1 files changed, 10 insertions, 20 deletions
diff --git a/doc/org.texi b/doc/org.texi
index f697284..3ec4948 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -10961,26 +10961,15 @@ language, but with additional support for tables.
@node HTML Export commands, HTML preamble and postamble, HTML export, HTML export
@subsection HTML export commands
-@cindex region, active
-@cindex active region
-@cindex transient-mark-mode
@table @kbd
@orgcmd{C-c C-e h h,org-html-export-to-html}
-@cindex property, EXPORT_FILE_NAME
Export as a HTML file. For an Org file @file{myfile.org},
the HTML file will be @file{myfile.html}. The file will be overwritten
-without warning. If there is an active region@footnote{This requires
-@var{transient-mark-mode} be turned on.}, only the region will be
-exported. If the selected region is a single tree@footnote{To select the
-current subtree, use @kbd{C-c @@}.}, the tree head will become the document
-title. If the tree head entry has, or inherits, an @code{EXPORT_FILE_NAME}
-property, that name will be used for the export.
+without warning.
@kbd{C-c C-e h o}
Export as a HTML file and immediately open it with a browser.
@orgcmd{C-c C-e h H,org-html-export-as-html}
Export to a temporary buffer. Do not create a file.
-@item C-c C-e C-v h H/h h/h o
-Export only the visible part of the document.
@end table
@c FIXME Exporting sublevels
@@ -11170,7 +11159,7 @@ method requires that the @file{dvipng} program is available on your system.
You can still get this processing with
@example
-#+OPTIONS: LaTeX:dvipng
+#+OPTIONS: tex:dvipng
@end example
@node Text areas in HTML export, CSS support, Math formatting in HTML export, HTML export
@@ -11179,15 +11168,16 @@ You can still get this processing with
@cindex text areas, in HTML
An alternative way to publish literal code examples in HTML is to use text
areas, where the example can even be edited before pasting it into an
-application. It is triggered by a @code{-t} switch at an @code{example} or
-@code{src} block. Using this switch disables any options for syntax and
-label highlighting, and line numbering, which may be present. You may also
-use @code{-h} and @code{-w} switches to specify the height and width of the
-text area, which default to the number of lines in the example, and 80,
-respectively. For example
+application. It is triggered by @code{:textarea} attribute at an
+@code{example} or @code{src} block.
+
+You may also use @code{:height} and @code{:width} attributes to specify the
+height and width of the text area, which default to the number of lines in
+the example, and 80, respectively. For example
@example
-#+BEGIN_EXAMPLE -t -w 40
+#+ATTR_HTML: :textarea t :width 40
+#+BEGIN_EXAMPLE
(defun org-xor (a b)
"Exclusive or."
(if a (not b) b))