Fountain files are markdown files for screenplays. Many websites have appeared, and many GUI applications exist, that convert .fountain files to various other formats (e.g., .fdx, .html, .pdf).
Launching a GUI to generate a PDF from .fountain files is a manual process that should be possible to side-step from the command-line. A command-line tool opens up a plethora of possibilities that graphical interfaces lack (such as automated generation of PDF files).
How would you convert .fountain files to .pdf files on Unix systems (such as Linux) from the command-line using free, open-source software?
Going through an intermediary format (such as .fdx or .html) is acceptable, provided:
- no GUI is required;
- page numbers are properly formatted; and
- character speech continuations across page breaks are properly marked.
WeasyPrint could be a viable alternative to PrinceXML.