
Emacs Workflow for Authors

Peter Prevos |
2076 words | 10 minutes
Share this content
Emacs is the Swiss Army Chainsaw of productivity tools. This venerable software tool can help you undertake almost every task in the writing process, from idea generation to writing and publishing. Experienced users say they "live inside Emacs" as virtually all computing activities can be done in this software. This article describes a possible Emacs workflow for writers.
This article is part of Emacs Writing Studio, a book that explains how to use Emacs to undertake research and write and publish articles, books, and websites. Emacs Writing Studio is also available as an e-book from your favourite retailer.
Emacs Writing Studio
A comprehensive guide for writers seeking to streamline their workflow using Emacs. The book covers everything from organising ideas and writing distraction-free to publishing in multiple formats. It’s perfect for both beginners and experienced Emacs users, offering practical tips and a tailored configuration to enhance your writing process.
The source files of the book and EWS configuration are also freely available on GitHub.
The Emacs Workflow
The process of writing can be chaotic as it involves many iterative cycles. But an orderly pattern emerges when we step back from our daily tasks. We read literature, develop new ideas, work on these ideas and publish the results. Even though reality is never as linear as this list suggests, it is a helpful guide to organise an Emacs configuration.
The Emacs Writing Studio configuration follows a five-step workflow:
- Inspiration: Reading, listening and watching.
- Ideation: Cultivating ideas (taking notes).
- Production: Writing and editing.
- Publication: Export Org mode to PDF, ePub or a website.
- Administration: Manage your projects.
- Communication: Tell others about your work and exchange ideas.
The basic principle of this workflow is that the author collects information from literature, the web, email and so on (inspiration), which they process in a note-taking system (ideation). These notes are the central repository of information and can be linked to a bibliography. These notes form the foundation of the writing process (production). When the work is finally completed, the author publishes it in its final format (publication). Elated with the final result, the author communicates her new work through email or social media (communication). At the end of a long work day, we must also do some Administration to keep our systems in good shape, which is the bonus step.
The image below summarises the packages that Emacs Writing Studio uses to convert ideas into reality.

Inspiration
Ideas don't pop into your mind out of thin air. Our thoughts, plans and inspirations depend on what we read, hear or watch.
Emacs has extensive facilities to read any plain text format imaginable. Emacs can also display PDF files, ebooks, and images out of the box. Listening to a podcast or watching a video is impossible within an Emacs frame. Still, the system does integrate with external multimedia applications.
You can also maintain a bibliography in Emacs with BibTeX files and link these to electronic files for reading inside Emacs or with another program. The Citar package by Bruce D'Arcus provides a fast and efficient interface to your bibliography.
The Emacs internet browser is called eww
(Emacs Web Wowser). This is not a fully-featured browser but a tool that displays the website you like to read to a plain text file. While this approach creates readable websites without distracting crud, it cannot render more complex internet functionality.
Elfeed is an extensible web feed reader for Emacs, supporting both Atom and RSS feeds. You can use this package to follow your favourite websites. If you like to keep up to date on Emacs articles on this website, then use this feed.
Emacs can also interface with multimedia players and, as such, be configured to become a complete music and video platform.
The following articles on this website discuss how to configure Emacs to read literature or listen to music or podcasts:
- Reading eBooks and Websites with Emacs
- Manage your literature with Emacs BibTeX Mode
- Read RSS feeds with Emacs and Elfeed
- Configure EMMS — Emacs Multi-Media System on GNU/Linux
Ingesting so many new ideas is only worthwhile if you keep a record of your new-found inspirations. Hence, maintaining research notes is essential to facilitate the ideation process.
Ideation
My personal ideation process starts with a physical notebook. This might be a strange thing to admit as somebody who professes admiration for the electronic virtues of Emacs. Physical notebooks have some advantages in the creative process. Firstly, you can use it everywhere. The only exception might be the shower, which is paradoxically where we get our best ideas. Using a notebook is also a slower process than using a keyboard. Writing with a pen forces you to think a bit more deeply about what you are writing. Apparently, writing on paper triggers different neural pathways than writing electronically.

Once ideas have germinated in my notebook, some of these will find a place in my electronic system inside Emacs. As part of my weekly action list, I review my physical notes and transfer the ideas that require archiving to my digital system.
Emacs is an ideal tool for storing notes in plain text. Several packages are available to manage your digital brain. The Emacs Writing Studio revolves around the Denote package by Protesilaos (Prot) Stavrou.
I don't follow any specific, such as Zettelklasten or Bullet Journal, to manage my notes. My collection of notes is a primordial soup of my ideas, categorised using tags and opportunistically linked. Besides extracts from my physical notebooks, Denote collects information I find online, extracts from my email inbox, social media or journal articles and books. Everything worth keeping goes to my Denote collection.
Most note-taking systems contain five types of notes:
- Fleeting notes: Quickly take a note while doing something else.
- Permanent notes: Contains new ideas, project files and anything else worth keeping.
- Bibliographic notes: Notes about a book or article linked to the bibliography.
- Journals: Daily or weekly reflections.
- Attachments: Read-only files, such as images, PDFs, videos and anything else that supports the content of the written notes.
Fleeting notes
Fleeting notes are collected in the central inbox. The Org mode capture mechanism provides a distraction-free tool to collect and store random ideas for later review.
A fleeting note can be an idea, an action item, a URL to review later or whatever else comes my way that has yet to require my attention.
Regularly reviewing your fleeting notes will turn them into actions to do later or convert them into permanent notes.
Permanent notes
The permanent notes form your second brain. Using the Denote package, your collection of notes is structured using a tagging system, and they link together to connect your ideas and form a network of thoughts.
Denote can help you implement formal systems, such as Zettelkasten, or lets you use a more organic approach.
Bibliographic notes
Literature is the lifeblood of the researchers. Every new thought finds its origin in the ideas of others. Therefore, managing a bibliography is an essential skill for a researcher. Many commercial and free tools are available to help you manage your literature. These tools store a literature list and provide access to notes and attachments.
Bibliographic notes reference one or more bibliographic items, such as a book or an article. A bibliographic note contains a summary or interpretation of the literature you read. For that purpose, I have written the Citar-Denote package, which provides functionality to write bibliographic notes. This package enables a many-to-many relationship between notes and bibliographic items. This means you can add multiple notes per bibliographic item or one note for more than one piece of literature.
Journals
A journal is your personal diary where you can reflect on the past day or week. The Denote package can help you build a journal, whether you like to document your travels or jot down personal reflections.
Production
Once you have gathered your thoughts, it is time to start writing. Emacs developers have published a lot of utilities to assist with the writing process, such as auto-completion, checking spelling and grammar, dictionaries, thesaurus and other tools indispensable to a writer.
Emacs Org mode is ideal for writing articles and books or developing websites. Another popular plain text format for writing is Markdown, which does not have the same flexibility as Org mode. Fountain mode is another plain text format designed to write scripts for theatre, film or a YouTube video.
The Writing proce with Emacs article discusses how to write and edit text in Emacs. The Distraction-Free Writing article discusses how to mange writing projects with Org mode.
Publication
The glorious moment has arrived when you can publish the fruits of your labour. Emacs Org mode has powerful capabilities to export the text to various formats, most importantly PDF for physical books, ePub for ebooks and HTML for websites. The article on Publishing Articles and Books with Org Mode Export discusses creating ebooks in detail.
PDF format
Org mode exports files to PDF through the LaTeX document preparation system popular with technical authors and publishers. Emacs will export your Org files to LaTeX format, which then exports your file to a beautifully designed document. Many journals accept LaTeX submissions, so you can also export your Org mode to a .tex
or PDF
file to send to the editor.
ePub format
Org mode has built-in capabilities to export a file to HTML. The ox-epub package by Mark Meyer leverages this functionality to produce a book in epub format.
Word Processor
The Org mode export functionality has built-in capabilities to export to the standard open document format, which is compatible with all commercial word processors.
Websites
Org mode can not only export to individual HTML files, but it can also publish them to a website. I use the Hugo software to convert my collection or Org mode files into my websites. Hugo provides extensive capabilities to use templates for your websites, including shortcodes to dynamically insert HTML in your pages beyond the current capabilities of Org Mode.
The article Create Websites with org Mode and Hugo discusses how to create a website, such as the one you are reading now.
Communication
Emacs can also connect you to the world to communicate with other writers and your readers.
The software has built-in capabilities to read and write emails and several external packages, such as mu4e and notmuch are available to make sense of your email. Using Emacs for email is a very efficient way to grind through your daily dose of electronic mail. Other packages let you connect to IRC, Reddit, Mastodon and other communication protocols.
Emacs Writing Studio does not contain any configuration for communication packages.
Administration
Working through a writing project is a fantastic journey in creative expression, but there is also some overhead in managing your projects.
Emacs interfaces with other GNU software to help you manage your files using the powerful directory editor (dired). Managing your files is a breeze with this package. You can also use Emacs to manage your photograph collection with the built-in image-dired package.
Lastly, working on a big project means tracking many tasks. Org mode has a fully functional task management system to help you keep track of your projects. You can implement your personal workflow or use a Getting Things Done (GTD) approach.
Emacs Writing Studio
If you like to support my work, then please purchase the Emacs Writing Studio book.
Emacs Writing Studio
A comprehensive guide for writers seeking to streamline their workflow using Emacs. The book covers everything from organising ideas and writing distraction-free to publishing in multiple formats. It’s perfect for both beginners and experienced Emacs users, offering practical tips and a tailored configuration to enhance your writing process.
You can find the source files for the book and the latest configuration files on GitHub:
Emacs is a malleable system, so everybody will have their personal preferences. Any article on how to use Emacs is thus opinionated. If you have a different way of doing things, please complete the contact form to send me an email or contact me on social media.
The next article discusses how to use Emacs to read ebooks and other electronic documents.
Share this content