ox: Optional export of title
commite6fcc853c52d27d746e3ab985db2ac44e0f73453
authorRasmus <rasmus@gmx.us>
Tue, 10 Feb 2015 23:09:39 +0000 (11 00:09 +0100)
committerRasmus <rasmus@gmx.us>
Thu, 12 Feb 2015 00:45:39 +0000 (12 01:45 +0100)
tree5de6a21336402ba2b79c0c1621f9b6b94ed7d595
parentfd51dad9999b7f2300ec85044f893d940ba0d095
ox: Optional export of title

* ox.el (org-export-with-title): New variable.
* ox (org-export-options-alist),
  ox-ascii.el (org-ascii-template--document-title),
  ox-beamer.el (org-beamer-template), ox-html.el (org-html-template),
  ox-latex.el (org-latex-template), ox-man.el (org-man-template),
  ox-odt.el (org-odt-template), ox-org.el (org-org-template),
  ox-publish.el (org-publish-project-alist),
  ox-texinfo.el (org-texinfo-template),
  ox-groff.el (org-groff--mt-head): Use new variable.
* ox-koma-letter.el (org-koma-letter-use-title): Mark obsolete.
* test-ox.el (test-org-export/parse-option-keyword): Add :with-title.
* ORG-NEWS, org.texi: Mention org-export-with-title.

This is useful in e.g. ox-html where title can be set via
`org-html-preamble-template' or when using the {{{title}}}-macro.
15 files changed:
contrib/lisp/ox-groff.el
contrib/lisp/ox-koma-letter.el
doc/org.texi
etc/ORG-NEWS
lisp/ox-ascii.el
lisp/ox-beamer.el
lisp/ox-html.el
lisp/ox-latex.el
lisp/ox-man.el
lisp/ox-odt.el
lisp/ox-org.el
lisp/ox-publish.el
lisp/ox-texinfo.el
lisp/ox.el
testing/lisp/test-ox.el