I'm going to revisit the report-generation issue, as our current
reporting infrastructure, while far better than before, still doesn't
support all the features that we might like to have - particularly
high-quality printed output and export to formats like plain text or
gnumeric.

Jade (suggested by Linas on his project page) potentially offers
us the ability to magically translate XML/SGML to any output format we
want (well, only XML (ie mapping to XHTML), RTF, and TeX at the
moment).  I'm going to have a play with its abilities, including
examining the difficulty of writing new backends for plain text,
Postscript (probably using gnome-print as an intermediate step), and
possibly gnumeric (though I doubt - Gnumeric may be XML but the
semantics of a translation from a report DTD to the gnumeric DTD are
confused enough that you'd really need a general-purpose language to
do the translation).  I'll have a play with jade over the next few days
to see whether it's a realistic proposition as a report formatter or not.

On the desire to run reports from the command line, what about this
scheme (no pun indended) :

Add the ability (controlled by a command line argument --batch)
to run gnucash in batch mode (not start the GUI), load
a file, run a single guile script (for instance a script that calls
various report generators and exports the results to appropriate
place), and then exit?

It might be appropriate to add a few Scheme functions to make
exporting reports (to files, most likely) easier, but that's not
going to take much.

The other problem that arises is of course specifying options to the
report generators manually, but I believe that's a fairly
straightforward problem.


-- 
------------------------------------------------------------
Robert Merkel                              [EMAIL PROTECTED]

------------------------------------------------------------

--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]


Reply via email to