XML-Grammar-Fiction is a Perl package that provides processors for lightweight markup languages and corresponding XML grammars for writing prose (e.g. stories, novels, and novellas) as well as screenplays. The XML grammars can in turn be translated to XHTML and DocBook/XML. XML-Grammar-Fiction currently offers only very basic functionality, but has good support for UTF-8 and allows one to write bidirectional texts conveniently. It is still under development and may exhibit some quirks.
|Tags||XML Writing grammar fiction story stories novellas novels books authoring Screenplays|
|Operating Systems||POSIX Linux Mac OS X Windows|
|Implementation||Perl Moose Perl Modules XML-LibXML Vim Subversion XML::Writer XML-GrammarBase|
Release Notes: Support for new tags was added. A lot of refactoring and cleanups.
Release Notes: This release removes trailing spaces (with a test). It has been converted from using Moose to using Mouse, which makes startup time and run-time faster (the test suite runs over twice as fast). The link to the repository in the META.yml/META.json has been updated.
Release Notes: This release adds some unit tests for the line iterator. It adds "use autodie" to the modules with open calls.
Release Notes: The <programlisting> and <blockquote> tags were added. Whitespace is properly handled after a closing tag in the Fiction-Text proto-text. The handling of entities in Fiction-Text and on the start of lines was fixed.
Release Notes: Support was added for the <a /> tag. Support was added for numeric entities. Support for <ol>, <li>, and <ul> was added to Fiction-Text and Fiction-XML. A stylesheet was added to convert Screenplay-XML to TEI-XML (= Text Encoding Initiative). The <!DOCTYPE .... > declaration in the Screenplay-XML output was removed. A base class was created for the XSLT based converters.