Fountain Mode is a screenwriting program for GNU Emacs using the Fountain plain text markup format.
For more information about the Fountain format, visit https://fountain.io
troff
outline
to fold/cycle visibility of sections,
scenes and noteselectric-pair-mode
to insert emphasis delimiters
with single key (i.e. *
or _
)imenu
(sections, scene headings, notes)auto-insert
for title page metadatawhich-function-mode
to display live-update of current
page and page count in mode-line(CONT'D)
Most common features are accessible from the menu. For a full list of
functions and key-bindings, type C-h m
.
Fountain Mode can export to PostScript or PDF using the troff format as
an intermediary. This requires only a troff
program on your system,
such as GNU roff.
Alternatively you can export using an external command-line program, such as:
The option fountain-export-command-profiles
provides some shell
commands to interface with these tools, but you are encouraged to edit
or completely replace these to suit your own needs. The format is simple
while still allowing for flexibility.
The latest stable release of Fountain Mode is available via MELPA-stable. First, add MELPA-stable to your package archives:
M-x customize-option RET package-archives RET
Insert an entry named melpa-stable
with URL:
https://stable.melpa.org/packages/
You can then find the latest stable version of fountain-mode
in the
list returned by:
M-x list-packages RET
If you prefer the latest but perhaps unstable version, do the above using MELPA.
Download the latest tagged release, move this file into your load-path
and add to your init.el
file:
(require 'fountain-mode)
If you wish to contribute to or alter Fountain Mode's code, clone the repository into your load-path and require as above:
git clone https://github.com/rnkn/fountain-mode.git
Use GitHub issues or send me an email (address in the package header). For bugs, please ensure you can reproduce with:
$ emacs -Q -l fountain-mode.el