Exporting a script in Fountain Mode is handled by one or more external command-line tools. Here are some recommended export tools:
By defining an “export profile”, you can easily interface with an external tool from within Emacs. A profile is essentially a shell command, interpolated with a selection of values:
%tis the title (See Metadata.)
%ais the author (See Metadata.)
%Fis the current date in ISO format
%xis the current date in your locale’s “preferred” format
This command, bound to C-c C-e, will prompt for an export profile. The first profile is considered default, so just hitting RET is a quick way to export in your usual way.
This command, bound to C-c C-v, attempts to open the last exported file. This works by finding the other most recently modified file in the current directory matching the current file base-name.