Skip to content
Version 3.0.0

Exporting

- Add fountain-export-command (C-c C-e), which interactively prompts for
  one of fountain-export-command-profiles, a list of cons-cells of
  profile name and associated shell command string. The command string
  allows interpolation of various values, most importantly %b and %B for
  buffer-file-name and the same sans extension. This allows infinitely
  flexible output for all Fountain programs, whether they read from
  STDIN/STDOUT, require the filename, etc. and the user can easily
  specify a different output name. The full list of options:

  %b is the buffer-file-name
  %B is the buffer-file-name sans extension
  %n is the user-full-name
  %t is the title (from script metadata)
  %a is the author (from script metadata)
  %F is the current date in ISO format
  %x is the current date in your locale's "preferred" format

- Remove previous Elisp-based export functionality. This was never very
  good and there are several external tools available that better handle
  exporting.
- Add fountain-export-view (C-c C-v) to open the most recently exported
  file (uses dired-guess-default)

Other Features

- fountain-note-template now uses a similar format-spec as
  fountain-export-command-profiles:
  - %u user-login-name
  - %n user-full-name
  - %e user-mail-address
  - %x date in locale's preferred format
  - %F date in ISO format
- fountain-continued-dialog-string now always prepends a space
  (reverting v2.8.1 change)
- Add option fountain-imenu-elements to choose which elements are
  displayed in imenu
- Add imenu-add-menubar-index as startup hook option
- Options fountain-align-* are now concs-cells instead of two-element
  lists (may require resetting via Customize for some users)
- Make page length account for dual-dialogue elements
- Make fountain-completion-additional-(characters|locations) case
  sensitive to allow for @McCLANE
- Rename fountain-hide-emphasis-delim to fountain-hide-emphasis-markup
- Rename fountain-hide-syntax-chars to fountain-hide-element-markup
- More things accessible via Fountain menu
- New faces fountain-section-heading-(1..5) mapped the each section
  heading level
- New variable fountain-printed-elements (only affects page length
  calculation)
- Refactor fountain-init-font-lock for simplicity
- Only define fountain-outline-invisible-p in Emacs versions < 26
- Use more accurate buffer comparison for
  fountain-outline-to-indirect-buffer (C-c C-x b) to prevent duplicating
  indirect buffers
- Use fountain--* for internal variables
- Use format-string %S for some messages
- Revert fountain-*-contd-* variables names to fountain-*-continued-*
- Remove parsing code — no longer using an AST
- Remove file inclusion code — this was never part of the 1.1 spec and
  is not supported by most export programs