pandoc-mode icon indicating copy to clipboard operation
pandoc-mode copied to clipboard

Can I export every file to an "output" subdirectory?

Open RyanMcCarl opened this issue 6 years ago • 1 comments

I am having trouble setting the output directory. The output-dir variable does not seem to be available in the Customize (custom.el) options.

Preferred outcome: What I would ideally like is to export to a subdirectory of the buffer file's directory called "output": BUFFER_DIR/output. That may entail creating the directory if it doesn't exist. I tried putting (output-dir "output") in the global settings file, but that didn't seem to do anything.

Alternative: Alternatively, I would like to set a single global output directory (e.g. ~/Dropbox/output). I need to keep the exported files separate from the source files.

Thank you, Ryan

RyanMcCarl avatar Mar 07 '19 19:03 RyanMcCarl

Settings files, including global settings files, are always dependent on the output format. This also applies to the output-dir setting. So you'll have to make sure you set the output dir for the correct output format.

joostkremers avatar Mar 08 '19 22:03 joostkremers