Textplay

Download: Textplay 0.5 – 22 March 2012

Textplay is a simple ruby-script (one file, no dependancies) that converts screenplays written in Fountain formatted plain-text to a variety of useful formats: HTML, FDX (Final Draft), or PDF (with PrinceXML).

Textplay has been tested against fountain documents rigorously but it is not perfect, if you encounter a problem please let me know: @olivertaylor.

Command-line interface

Textplay was built using Mac OS 10.6/7 and Ruby 1.8.7. I have only tested it in this environment, if you want to run Textplay in another environment (such as Windows) you may have to modify the code.

Calling Textplay from the command-line is simple:

textplay [options] input-path [output-path]

Options

Textplay has three options you can call in the command line. --help, --fdx, and --pdf (-h, -f, and -p respectively).

Support for the Fountain Format

Q. How does Textplay interperate text differently from the Fountain spec?

  1. Textplay is smart about what consitutes a transition. Usually, there's no need to escape transitions, but you can.
  2. An action line that contains no lower-case letters is converted to a slugline.
  3. Lines that begin with // are interpreted as notes. This was done to provide backward-compatibility with Textplay/Screenbundle documents.

Q. What parts of the Fountain spec are not supported?

Q. Why aren't they?

A. I'm not a good enough programmer.