Function: org-texinfo-compile
org-texinfo-compile is a byte-compiled function defined in
ox-texinfo.el.gz.
Signature
(org-texinfo-compile FILE)
Documentation
Compile a texinfo file.
FILE is the name of the file being compiled. Processing is done
through the command specified in org-texinfo-info-process,
which see. Output is redirected to "*Org INFO Texinfo Output*"
buffer.
Return INFO file name or an error if it couldn't be produced.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-texinfo.el.gz
(defun org-texinfo-compile (file)
"Compile a texinfo file.
FILE is the name of the file being compiled. Processing is done
through the command specified in `org-texinfo-info-process',
which see. Output is redirected to \"*Org INFO Texinfo Output*\"
buffer.
Return INFO file name or an error if it couldn't be produced."
(message "Processing Texinfo file %s..." file)
(let* ((log-name "*Org INFO Texinfo Output*")
(log (get-buffer-create log-name))
(output
(org-compile-file file org-texinfo-info-process "info"
(format "See %S for details" log-name)
log)))
(when org-texinfo-remove-logfiles
(let ((base (file-name-sans-extension output)))
(dolist (ext org-texinfo-logfiles-extensions)
(let ((file (concat base "." ext)))
(when (file-exists-p file) (delete-file file))))))
(message "Process completed.")
output))