On Mar 12, 2004, at 8:09 PM,
> For what it's worth, I've been using XSL:FO to directly convert
> DocUtil's XML output to PDF. It's taken a few months, going from
> scratch, to a good working knowledge of the intricacies of XSL and
> XSL:FO, but the results are fantastic.
> I come from a background of using professional long-document layout
> applications (FrameMaker and Ventura), and I'm convinced that
> DocUtils+XSL:FO is its equal for any consistently-structured long
It doesn't solve my problem, but it is something that I will need to
look into for a slightly different, but completely related, reason.
Let me clarify:
I have been extending Dinu's ReSTedit app on OS X to morph it from a
ReST explorer into a [hopefully] very nice little ReST editor. Right
now, "nice" is "uses a Cocoa NSTextView to do editing". Given that
NSTextView gives me spelling-as-I-type, copy/paste/drag/drop/whatever
support, printing, and the saving/loading/undo/redo for free, it is
already a very capable editor.
The view on the left is the ReST source. The view on the right is the
rendered-to-HTML version of the content. Anytime the user pauses for
more than 5 seconds, the content is re-rendered if there are pending
changes. The view on the right is actually a Safari WebView and, as
such, all the links are viable, including navigating the web-at-large
within that window. Useful for testing links and such....
(If you have an OS X box and want to play, I dropped a version on my
public iDisk 'bbum'. If you want source, it is at
http://svn.red-bean.com/restedit/. It is currently GPL, that sucks,
and hopefully the original author will let me change it soon.)
So, I really want a new hunk o' CSS because (a) rendering directly to
HTML is faster than rendering through XML to XSLT and (b) rendering to
HTML makes for a really convenient way to publish a document in a
universally browseable format.
However, OS X includes a PDF engine as a part of the Window Manager and
Graphics subsystems. So, rendering to excellent looking PDF would be
a natural thing to do and, as such, going [left view] ->
docutils+XSL:FO -> [right view] would be a natural action to add to the
So -- you have just added to my TODO list, certainly. :-) But I would
still like a new hunk o' CSS to optimize the HTML goodness....