How To Install elpa-fountain-mode on Debian 12

Learn how to install elpa-fountain-mode on Debian 12 with this tutorial. elpa-fountain-mode is Emacs major mode for screenwriting in Fountain markup

Introduction

In this tutorial we learn how to install elpa-fountain-mode on Debian 12.

What is elpa-fountain-mode

elpa-fountain-mode is:

Fountain Mode is a Fountain v1.1 screenwriting environment for GNU Emacs. For more information about Fountain plain text markup scripts, visit https://fountain.io. Fountain scripts are also used for writing comic books and graphic novels.

Features:

  • Configurable layout: screenplay, stageplay, or a user-defined format
  • TAB autocompletion (eg: to make a character name ALL CAPS)
  • Auto-continuation of a character’s lines and actions
  • Pagination display in the mode-line (bottom of screen)
  • Navigation by section, scene, character name, or page
  • Toggle visibility of sections, scenes, and notes (aka: “folding”)
  • Focus on an objective by hiding (folding) text irrelevant to the goal
  • Optional display of scene numbers in the margin
  • Intelligent insertion of page breaks
  • Three levels of element syntax highlighting
  • Styled text: bold, italic, and underlined
  • Autoinsertion of title page metadata
  • Table of contents and outline for sections, scene headings, and notes (typically configured as a sidebar)
  • A theme for a nice, distraction-free writing environment with the expected margins and words per line, along with the a slightly darkened Courier font.

Supports:

  • Integration with a script export tool to export to another script format, PDF, HTML, etc.
  • Including external files
  • Emacs’s [in]famous workflow optimisations

There are three methods to install elpa-fountain-mode on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install elpa-fountain-mode Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install elpa-fountain-mode using apt-get by running the following command:

sudo apt-get -y install elpa-fountain-mode

Install elpa-fountain-mode Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install elpa-fountain-mode using apt by running the following command:

sudo apt -y install elpa-fountain-mode

Install elpa-fountain-mode Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install elpa-fountain-mode using aptitude by running the following command:

sudo aptitude -y install elpa-fountain-mode

How To Uninstall elpa-fountain-mode on Debian 12

To uninstall only the elpa-fountain-mode package we can use the following command:

sudo apt-get remove elpa-fountain-mode

Uninstall elpa-fountain-mode And Its Dependencies

To uninstall elpa-fountain-mode and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove elpa-fountain-mode

Remove elpa-fountain-mode Configurations and Data

To remove elpa-fountain-mode configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge elpa-fountain-mode

Remove elpa-fountain-mode configuration, data, and all of its dependencies

We can use the following command to remove elpa-fountain-mode configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge elpa-fountain-mode

Dependencies

elpa-fountain-mode have the following dependencies:

References

Summary

In this tutorial we learn how to install elpa-fountain-mode package on Debian 12 using different package management tools: apt, apt-get and aptitude.