pandoc-mode
pandoc-mode copied to clipboard
Can I export every file to an "output" subdirectory?
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
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.