Function: org-man-compile
org-man-compile is a byte-compiled function defined in ox-man.el.gz.
Signature
(org-man-compile FILE)
Documentation
Compile a Groff file.
FILE is the name of the file being compiled. Processing is done
through the command specified in org-man-pdf-process.
Return PDF file name or an error if it couldn't be produced.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-man.el.gz
(defun org-man-compile (file)
"Compile a Groff file.
FILE is the name of the file being compiled. Processing is done
through the command specified in `org-man-pdf-process'.
Return PDF file name or an error if it couldn't be produced."
(message "Processing Groff file %s..." file)
(let ((output (org-compile-file file org-man-pdf-process "pdf")))
(when org-man-remove-logfiles
(let ((base (file-name-sans-extension output)))
(dolist (ext org-man-logfiles-extensions)
(let ((file (concat base "." ext)))
(when (file-exists-p file) (delete-file file))))))
(message "Process completed.")
output))