Looks like it's getting there, but still needs some work. It's not obeying the book output or number sections. I can probably get the indexing going, though.
Measured at 10x faster than LaTeX.