Variable: org-odt-create-custom-styles-for-srcblocks

org-odt-create-custom-styles-for-srcblocks is a customizable variable defined in ox-odt.el.gz.

Value

t

Documentation

Whether custom styles for colorized source blocks be automatically created.

When this option is turned on, the exporter creates custom styles for source blocks based on the advice of htmlfontify. Creation of custom styles happen as part of org-odt-hfy-face-to-css.

When this option is turned off exporter does not create such styles.

Use the latter option if you do not want the custom styles to be based on your current display settings. It is necessary that the styles.xml already contains needed styles for colorizing to work.

This variable is effective only if org-odt-fontify-srcblocks is turned on.

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-odt.el.gz
;;;; Src Block

(defcustom org-odt-create-custom-styles-for-srcblocks t
  "Whether custom styles for colorized source blocks be automatically created.
When this option is turned on, the exporter creates custom styles
for source blocks based on the advice of `htmlfontify'.  Creation
of custom styles happen as part of `org-odt-hfy-face-to-css'.

When this option is turned off exporter does not create such
styles.

Use the latter option if you do not want the custom styles to be
based on your current display settings.  It is necessary that the
styles.xml already contains needed styles for colorizing to work.

This variable is effective only if `org-odt-fontify-srcblocks' is
turned on."
  :version "24.1"
  :type 'boolean)