diff options
author | Jambunathan K <kjambunathan@gmail.com> | 2012-03-20 20:23:47 +0530 |
---|---|---|
committer | Jambunathan K <kjambunathan@gmail.com> | 2012-03-20 20:23:47 +0530 |
commit | f2fc168a73a87de4a5e2182f52947ead9fd6fb62 (patch) | |
tree | c7daec6f214281d9115baa797e0d3faeba1c3d61 | |
parent | d3cd3720d5a0a2993d37a43046c36535cdaf8bce (diff) | |
download | org-mode-f2fc168a73a87de4a5e2182f52947ead9fd6fb62.tar.gz |
org.texi (Literal examples in ODT export): Update
* doc/org.texi (Literal examples in ODT export):
htmlfontify.el in Emacs-24.1 now supports fontification. So
ODT source blocks will be fontified by default.
(Evaluating code blocks, Evaluating code blocks):
Whitespace-only change.
-rw-r--r-- | doc/org.texi | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/doc/org.texi b/doc/org.texi index fae2c7e..3324888 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11214,30 +11214,21 @@ or @subsection Literal examples in ODT export Export of literal examples (@pxref{Literal examples}) with full fontification -is supported. This feature is enabled by default and is activated -automatically if an enhanced version of @file{htmlfontify.el} is available in -the @code{load-path}.@footnote{The @file{htmlfontify.el} that ships with -standard Emacs <= 24.1 has no support for ODT fontification. A -copy of the proposed version is available as an attachment to -@url{http://debbugs.gnu.org/cgi/bugreport.cgi?msg=5;filename=htmlfontify.el;att=9;bug=9914, -Emacs Bug #9914}.} +is supported. Internally, the exporter relies on @file{htmlfontify.el} to +generate all style definitions needed for a fancy listing.@footnote{Your +@file{htmlfontify.el} library must atleast be at Emacs 24.1 levels for +fontification to be turned on.} The auto-generated styles have @samp{OrgSrc} +as prefix and inherit their color from the faces used by Emacs +@code{font-lock} library for the source language. @vindex org-export-odt-fontify-srcblocks - -The character styles used for fontification of the literal blocks are -auto-generated by the exporter in conjunction with @file{htmlfontify.el} -library and need not be included in the default @file{styles.xml} file. -These auto-generated styles have the @samp{OrgSrc} prefix and inherit their color -based on the face used by Emacs @code{font-lock} library. - -@vindex org-export-odt-create-custom-styles-for-srcblocks -If you prefer to use your own custom styles for fontification and disable -their auto-generation altogether, you can do so by customizing the variable +If you prefer to use your own custom styles for fontification, you can do so +by customizing the variable @code{org-export-odt-create-custom-styles-for-srcblocks}. -You can turn off fontification support for literal examples by customizing -the variable @code{org-export-odt-fontify-srcblocks}. - +@vindex org-export-odt-create-custom-styles-for-srcblocks +You can turn off fontification of literal examples by customizing the +variable @code{org-export-odt-fontify-srcblocks}. @node Advanced topics in ODT export, , Literal examples in ODT export, OpenDocument Text export @subsection Advanced topics in ODT export @@ -12663,7 +12654,7 @@ Org mode buffer. The results of evaluation are placed following a line that begins by default with @code{#+RESULTS} and optionally a cache identifier and/or the name of the evaluated code block. The default value of @code{#+RESULTS} can be changed with the customizable variable -@code{org-babel-results-keyword}. +@code{org-babel-results-keyword}. By default, the evaluation facility is only enabled for Lisp code blocks specified as @code{emacs-lisp}. However, source code blocks in many languages |