Variable: org-odt-styles-dir

org-odt-styles-dir is a variable defined in ox-odt.el.gz.

Value

"/nix/store/y8rifw71hjgsl2qjn1l0vrwq2c3593aw-emacs-30-2/share/emacs/30.2/etc/org/"

Documentation

Directory that holds auxiliary XML files used by the ODT exporter.

This directory contains the following XML files -
 "OrgOdtStyles.xml" and "OrgOdtContentTemplate.xml". These
 XML files are used as the default values of
 org-odt-styles-file and org-odt-content-template-file.

The default value of this variable varies depending on the version of Org in use and is initialized from org-odt-styles-dir-list. Note that the user could be using Org from one of: Org own private git repository, GNU ELPA tar or standard Emacs.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-odt.el.gz
(defconst org-odt-styles-dir
  (let ((styles-dir
	 (cl-find-if
	  (lambda (dir)
	    (and dir
		 (file-readable-p
		  (expand-file-name "OrgOdtContentTemplate.xml" dir))
		 (file-readable-p (expand-file-name "OrgOdtStyles.xml" dir))))
	  org-odt-styles-dir-list)))
    (unless styles-dir
      (error "Error (ox-odt): Cannot find factory styles files, aborting"))
    styles-dir)
  "Directory that holds auxiliary XML files used by the ODT exporter.

This directory contains the following XML files -
 \"OrgOdtStyles.xml\" and \"OrgOdtContentTemplate.xml\".  These
 XML files are used as the default values of
 `org-odt-styles-file' and `org-odt-content-template-file'.

The default value of this variable varies depending on the
version of Org in use and is initialized from
`org-odt-styles-dir-list'.  Note that the user could be using Org
from one of: Org own private git repository, GNU ELPA tar or
standard Emacs.")