Next: , Previous: , Up: OpenDocument Text export   [Contents][Index]

12.9.10 Literal examples in ODT export

Export of literal examples (see Literal examples) with full fontification is supported. Internally, the exporter relies on htmlfontify.el to generate all style definitions needed for a fancy listing.156 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 option org-odt-create-custom-styles-for-srcblocks.

You can turn off fontification of literal examples by customizing the option org-odt-fontify-srcblocks.



Your htmlfontify.el library must at least be at Emacs 24.1 levels for fontification to be turned on.