From: Andy Wingo <wingo@po...> - 2004-07-09 15:19:56
I wasn't kidding before when I said SSAX opened my mind ;) Inspired by
it, I decided to write a functional texinfo parser that folds over its
content, and that produces SXML. It worked out pretty well.
I'm using texinfo because it's easy to write and has great indexing
facilities. Also, it is ideal for documenting programming-related
domains. Now that it can be generated at runtime, as "stexinfo", the
documentation can be generated introspectively, as in .
Also, I have some code that renders the stexi as plain text (similar to
the info output), HTML, and in a GtkTextBuffer.
Just wanted to let people know. The code is in my guile-lib branch,
and will make it into the mainline (and thus into Debian at some point)
 Well, almost. Texinfo @-commands can have parsed arguments. Rather
than leave these arguments in with the content, I decided to put then in
a special % element (similar to @). There is a stexi->sxml transformer
exported by the module, but it's not optimal yet. It just changes the %
to `texinfo-arguments', but really it should give the arguments a
special prefix, because DTDs can only validate direct children.
 See http://ambient.2y.net/wingo/software/arch/
Andy Wingo <wingo@...>
Get latest updates about Open Source Projects, Conferences and News.