Next: Advanced topics in ODT export, Previous: Labels and captions in ODT export, Up: OpenDocument Text Exporter for Emacs’ Org Mode [Contents][Index]
Export of literal examples (See (org)Literal examples) with full fontification is supported. Internally, the exporter relies on ‘htmlfontify.el’ to generate all style definitions needed for a fancy listing.13 The auto-generated styles have ‘OrgSrc’ as prefix and inherit their color from the faces used by Emacs ‘font-lock’ library for the source language.
If you prefer to use your own custom styles for fontification, you can do so by customizing the variable ‘org-odt-create-custom-styles-for-srcblocks’.
You can turn off fontification of literal examples by customizing the variable ‘org-odt-fontify-srcblocks’.
Your ‘htmlfontify.el’ library must at least be at Emacs 24.1 levels for fontification to be turned on.