Hello all,
As I am working mostly with plain text (reST) files, I liked the
bibliographic fields and the document title promotion. So I went
ahead and implemented:
- a reader package (which is trivial for now, as it contains only a
plain text reader);
- a transformer package, which basically includes David's code that he
removed from the reST parser following the discussion on Doc-SIG and
here (around Sept. 24) and implements the new specs (docinfo and
subtitle);
- some changes to Tony's pydps, which now uses this reader and
transforms for text files if asked to do so.
If it's in the general interest, I'll be happy to post the code. I
haven't spent much time designing the API's (well, I profited from
David's design for the parser and formatter packages!), but it may
provide a useful starting point for a discussion on sensible API's for
these components.
Ueli
|