|
|
||
Tim Boudreau's BlogOctober 2006 ArchivesPoetic commit messagesPosted by timboudreau on October 26, 2006 at 09:48 PM | Permalink | Comments (3)Since I published my friend Jarda's "most poetic CVS commit message of the year" I seem to have become a collector. Jarda points out the poignant beauty of the following User: jglick Fun with the NetBeans DocBook modules, XSL compiler hellPosted by timboudreau on October 16, 2006 at 12:34 AM | Permalink | Comments (8)I've got a bunch of writing projects going lately. There is a NetBeans DocBook module, if you like writing articles and books in XML (doesn't everyone?). I've had some fun enhancing it over the weekend...
Jesse Glick created the NetBeans DocBook module ( I've added a DocBook project module to the mix that lets you treat an article or book as a NetBeans project and "compile" it to HTML. It's all pre-alpha quality right now (hence no downloads yet), but it's coming along. The killer (however undiscoverable) feature is the ability to paste images into the XML. Since a lot of what I write is about NetBeans, I thought...why not just let someone paste in an image. So I tweaked the TransferHandler for the editor, so that if you paste and an image is on the clipboard, it will pop up a nice little dialog that asks you for a name; then it pops up a window that lets you crop the image; finally it uses ImageIO to save it adjacent to the file you're editing and inserts a reference to it as a <figure> in the XML. Seems pretty handy so far. I was thinking this could be added to the HTML editor in NetBeans if people think it would be useful.
The current fly in all of this lovely ointment is finding an XSL compiler that doesn't choke on the DocBook to FO stylesheets - it would be very nice to be able to compile down to PDF format using Apache FOP. I've tried the XSL support JDK 6, Saxon 6.5, Saxon 8, and miscellaneous other things. Has anybody out there solved this problem? I confess I don't spend most of my coding time processing XML (last of a dying breed :-)), so perhaps I'm missing something obvious.
NetBeans Workshop @ OOPSLA 06Posted by timboudreau on October 16, 2006 at 12:01 AM | Permalink | Comments (0)NetBeans architect Jarda Tulach, Rich Unger from Nuance and I will be doing a full day workshop on modular architecture and design, using the NetBeans module system and Platform next week at OOPSLA 2006 in Portland, Oregon. We hope to provide an interesting day of activity - bring interesting design problems! If you plan to attend Send email to Tim dot Boudreau at Sun dot Com if you can attend. More info is available on the OOPSLA web site. For a taste of some of the sorts of things we may touch on, have a look at Jarda's recent API Fest in Prague.
| ||
|
|