Next: , Previous: , Up: OpenDocument Text Exporter for Emacs’ Org Mode   [Contents][Index]


13 Literal examples in ODT export

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’.


Footnotes

(13)

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


Next: , Previous: , Up: OpenDocument Text Exporter for Emacs’ Org Mode   [Contents][Index]