This is the official manual for the latest Org-mode release.

Table of Contents

Next: , Previous: Labels and captions in ODT export, Up: OpenDocument Text export


12.12.11 Literal examples in ODT export

The ODT export back-end supports literal examples (see Literal examples) with full fontification. Internally, the ODT export back-end relies on htmlfontify.el to generate the style definitions needed for fancy listings. The auto-generated styles get ‘OrgSrc’ prefix and inherit colors from the faces used by Emacs font-lock library for that source language.

For custom fontification styles, customize the org-odt-create-custom-styles-for-srcblocks option.

To turn off fontification of literal examples, customize the org-odt-fontify-srcblocks option.