Next: Bugs and Feature Requests, Previous: Pagination, Up: Fountain Mode [Index]
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:
%b is the buffer-file-name
%B is the buffer-file-name sans extension
%n is the user-full-name
%t is the title (See Metadata.)
%a is the author (See Metadata.)
%F is the current date in ISO format
%x is 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.