Function: org-koma-letter-export-to-latex
org-koma-letter-export-to-latex is an autoloaded, interactive and
byte-compiled function defined in ox-koma-letter.el.gz.
Signature
(org-koma-letter-export-to-latex &optional ASYNC SUBTREEP VISIBLE-ONLY BODY-ONLY EXT-PLIST)
Documentation
Export current buffer as a KOMA Scrlttr2 letter (tex).
If narrowing is active in the current buffer, only export its narrowed part.
If a region is active, export that region.
A non-nil optional argument ASYNC means the process should happen
asynchronously. The resulting file should be accessible through
the org-export-stack interface.
When optional argument SUBTREEP is non-nil, export the sub-tree at point, extracting information from the headline properties first.
When optional argument VISIBLE-ONLY is non-nil, don't export contents of hidden elements.
When optional argument BODY-ONLY is non-nil, only write code between "\\begin{letter}" and "\\end{letter}".
EXT-PLIST, when provided, is a property list with external parameters overriding Org default settings, but still inferior to file-local settings.
When optional argument PUB-DIR is set, use it as the publishing directory.
Return output file's name.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-koma-letter.el.gz
;;;###autoload
(defun org-koma-letter-export-to-latex
(&optional async subtreep visible-only body-only ext-plist)
"Export current buffer as a KOMA Scrlttr2 letter (tex).
If narrowing is active in the current buffer, only export its
narrowed part.
If a region is active, export that region.
A non-nil optional argument ASYNC means the process should happen
asynchronously. The resulting file should be accessible through
the `org-export-stack' interface.
When optional argument SUBTREEP is non-nil, export the sub-tree
at point, extracting information from the headline properties
first.
When optional argument VISIBLE-ONLY is non-nil, don't export
contents of hidden elements.
When optional argument BODY-ONLY is non-nil, only write code
between \"\\begin{letter}\" and \"\\end{letter}\".
EXT-PLIST, when provided, is a property list with external
parameters overriding Org default settings, but still inferior to
file-local settings.
When optional argument PUB-DIR is set, use it as the publishing
directory.
Return output file's name."
(interactive)
(let ((outfile (org-export-output-file-name ".tex" subtreep))
(org-koma-letter-special-contents))
(org-export-to-file 'koma-letter outfile
async subtreep visible-only body-only ext-plist)))