Reform, a fan-fiction reformatting tool



This is the homepage of Reform, a fan-fiction reformatting tool. Reform is a command-line (i.e. non-GUI) program written to reformat fan-fiction or any type of story-based/novel-style text files. You could probably use it to format other styles of text as well, but your mileage may vary (i.e. caveat emptor).

Features:

Embedable Control Tags

To control how the text file is processed.

Naked Whitespace Removal

Removes all naked whitespace (i.e. whitespace at the end of a line or on a line that is otherwise blank).

Paragraph Unwrapping

Identifies and unwraps paragraphs.

Separator Line Handling

Identifies and handles separator lines (i.e. lines of asterisk, hyphens, equal signs and other characters that writers use to split chapters and/or segments up with).

Various (Re)Formatting Options

Optionally: respace paragraphs, separate paragraphs with blank lines, remove all indention from paragraphs, add tabular indention to paragraphs, convert tabs to spaces, and wrap lines.

Standard Input/Output Support

Supports reading from/writing to standard input/output.

Multiple Output Modes

Output the reformatted text in one of several formats: plain-text ASCII 7-bit, plain-text ISO/IEC 8859-1 (Latin-1), or XHTML.

And more. For more information on all of the features of a particular release, consult the README for that release.