[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
copy org-org-output? Based on copy-tex-output
From: |
Uwe Brauer |
Subject: |
copy org-org-output? Based on copy-tex-output |
Date: |
Thu, 18 Mar 2021 14:38:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi
The following function, courtesy by Al Haji-Ali, allows me to copy latex
output (basically pdf) to a directory of my choice.
(defun copy-tex-output ()
(interactive)
(let* ((default (expand-file-name (TeX-active-master nil)))
(default-dir (file-name-directory default))
(default-file (concat (file-name-nondirectory default) "."
(TeX-output-extension)))
(outputfile (expand-file-name (TeX-active-master
(TeX-output-extension))))
(filename (read-file-name "Save as:" default-dir
default-file nil default-file)))
(copy-file outputfile filename t)))
In order to use that for org-export, I need to know whether there is
something like TeX-output-extension for orgmode
Any idea?
regards
Uwe Brauer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- copy org-org-output? Based on copy-tex-output,
Uwe Brauer <=