in org-mode, how to specify name of exported file?

Viewed 1428

In org-mode, when I export to PDF or HTML, I'd like to specify the names of the resulting files. Ideally two separate names, one for the PDF, one for the HTML. Is this possible?

2 Answers

Chris's answer is out of date. There is now an EXPORT_FILE_NAME setting:

#+export_file_name: <filename>

If you put this at the start of your file (not in a subtree), it will name the entire file that when you export.

Related