The abjad-book Sphinx extension needs to be reimplemented to closely follow the structure of Sphinx's graphviz extension, in order to support output to more than just HTML.
Carefully read the graphviz extension module, and copy its basic workflow:
* define an Abjad docutils node class
* register formatting functions for all possible output formats for the node
* on_doctree_read: insert dummy Abjad doctree nodes, with the lilypond_format of the intended notation attached as an attribute
* each formatting function should use hashing to prevent duplicate images
From josiah.oberholtzer on December 28, 2012 13:20:08
The abjad-book Sphinx extension needs to be reimplemented to closely follow the structure of Sphinx's graphviz extension, in order to support output to more than just HTML.
Carefully read the graphviz extension module, and copy its basic workflow:
Original issue: http://code.google.com/p/abjad/issues/detail?id=193